aboutsummaryrefslogtreecommitdiffstats
path: root/ryuslash/aggregator/admin.py
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-05-22 23:46:09 +0200
committerGravatar Tom Willemse2013-05-22 23:46:09 +0200
commitd394b2c40ee94394679700e5ff2858e1c95c7262 (patch)
treebd15438d214eefa15d55f56d4cb2b5d04361e4f5 /ryuslash/aggregator/admin.py
parentc4684123b3323a9a61fe1eea5b3228086bfcb8ee (diff)
downloadryuslash.org-d394b2c40ee94394679700e5ff2858e1c95c7262.tar.gz
ryuslash.org-d394b2c40ee94394679700e5ff2858e1c95c7262.zip
Add Feed to the database
Instead of specifying the feeds to use in the `local_settings.py' file specify them with the django admin interface. This means that the `django.contrib.admin', `django.contrib.auth' and all their dependencies have been added to the project.
Diffstat (limited to 'ryuslash/aggregator/admin.py')
-rw-r--r--ryuslash/aggregator/admin.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ryuslash/aggregator/admin.py b/ryuslash/aggregator/admin.py
new file mode 100644
index 0000000..ce27c1d
--- /dev/null
+++ b/ryuslash/aggregator/admin.py
@@ -0,0 +1,5 @@
+from django.contrib import admin
+
+from aggregator.models import Feed
+
+admin.site.register(Feed)