Make group urls optional if the app is disabled

This commit is contained in:
2010-12-22 15:24:47 +00:00
parent 8e46bb9e02
commit b8fe484575

View File

@@ -27,3 +27,8 @@ if installed('reddit'):
('', include('reddit.urls')),
)
if installed('groups'):
urlpatterns += patterns('',
(r'^groups/', include('groups.urls')),
)