mirror of
https://github.com/viq/NewsBlur.git
synced 2025-04-13 09:38:09 +00:00

- Added loading indicator on new feed. - Cleaned up numerous bugs around showing/hiding out-of-score stories.
22 lines
796 B
Python
22 lines
796 B
Python
from django.conf.urls.defaults import *
|
|
from django.conf import settings
|
|
from apps.reader import views as reader_views
|
|
# Uncomment the next two lines to enable the admin:
|
|
from django.contrib import admin
|
|
admin.autodiscover()
|
|
|
|
urlpatterns = patterns('',
|
|
url(r'^$', reader_views.index, name='index'),
|
|
(r'^accounts/', include('apps.registration.urls')),
|
|
(r'^reader/', include('apps.reader.urls')),
|
|
(r'^classifier/', include('apps.analyzer.urls')),
|
|
(r'^opml/', include('apps.opml_import.urls')),
|
|
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
|
(r'^admin/(.*)', admin.site.root)
|
|
)
|
|
|
|
if settings.DEVELOPMENT:
|
|
urlpatterns += patterns('',
|
|
(r'^media/(?P<path>.*)$', 'django.views.static.serve',
|
|
{'document_root': settings.MEDIA_ROOT}),
|
|
)
|