summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-05-16 12:56:44 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-05-16 12:56:44 +0200
commit9c9796a5bd5ced3ebbe4e2b143906d0bce9f0024 (patch)
tree079bd5fa43869e5794e66f4893c600a9f8e71c37 /example_project
parent8bfbb35bb37eb822f4967fc818d5592f40499fe6 (diff)
downloadChimère-9c9796a5bd5ced3ebbe4e2b143906d0bce9f0024.tar.bz2
Chimère-9c9796a5bd5ced3ebbe4e2b143906d0bce9f0024.zip
Fix RSS feeds for django 1.4 - reintegrate them in the main application
Diffstat (limited to 'example_project')
l---------example_project/extra-locales/chimere_rss1
-rw-r--r--example_project/settings.py9
-rw-r--r--example_project/urls.py4
3 files changed, 3 insertions, 11 deletions
diff --git a/example_project/extra-locales/chimere_rss b/example_project/extra-locales/chimere_rss
deleted file mode 120000
index 1a8285a..0000000
--- a/example_project/extra-locales/chimere_rss
+++ /dev/null
@@ -1 +0,0 @@
-../../chimere_rss/ \ No newline at end of file
diff --git a/example_project/settings.py b/example_project/settings.py
index ddd8261..82c4454 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -54,6 +54,8 @@ CHIMERE_DISPLAY_AREAS = True
# don't forget to run the upgrade.py script to create appropriate fields in
# the database
CHIMERE_DAYS_BEFORE_EVENT = 30
+# allow feeds
+CHIMERE_FEEDS = True
CHIMERE_ICON_WIDTH = 21
CHIMERE_ICON_HEIGHT = 25
@@ -180,15 +182,10 @@ INSTALLED_APPS = (
'djcelery',
'south',
'chimere',
- # activate it if you want to use migration scripts
+ # activate it if you want to use old migration scripts
#'chimere.scripts',
- # activate it if you want to use RSS feeds
- #'chimere_rss'
)
-if 'chimere_rss' in INSTALLED_APPS:
- TEMPLATE_DIRS.append(ROOT_PATH + 'chimere_rss/templates')
-
LOGGING = {'version': 1,
'disable_existing_loggers': False,
'handlers': {
diff --git a/example_project/urls.py b/example_project/urls.py
index 6dc5e32..a49cb4f 100644
--- a/example_project/urls.py
+++ b/example_project/urls.py
@@ -30,10 +30,6 @@ urlpatterns = patterns('django.views.static',
)
urlpatterns += staticfiles_urlpatterns()
-if 'chimere_rss' in settings.INSTALLED_APPS:
- urlpatterns += patterns('',
- url(r'^feeds/', include('chimere_rss.urls', namespace="chimere-rss")),)
-
urlpatterns += patterns('',
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
(r'^admin/', include(admin.site.urls)),