NewsBlur/urls.py
Samuel Clay a493d9f240 Merge branch 'master' into jammit
* master: (45 commits)
  Launching the iPhone app on the front-page. Big deal.
  Minor cleanup of river stories view.
  Cleaning up mongoengine imports and settings for default MongoDB.
  Killing off the old slave_db pattern.
  Moving from slave_db to ReplicaSetConnection in pymongo 2.1.
  Adding title and subtitle. (Big thanks to @ericflo for the inspiration.)
  Adding title and subtitle. (Big thanks to @ericflo for the inspiration.)
  Fitting the iphone web page on smaller screens.
  The @jashkenas treatment -- cleaning up the iphone app page.
  Adding rotation to iphone website.
  Using the correct story permalink (if it is not correctly in the link key of the feed).
  Finishign up interaction of iphone app trailer page. Need auto switching.
  iPhone screenshots, iPhone page, complete with animations.
  Adding current version to iPhone app so it can update from the server.
  Removing unnecessary return to selected story on paging of story titles.
  Scrolling the story titles view to the feedbar when a page is loading. Experimental, but may help a bunch of users know what's happening.
  Stubbing in iphone page.
  Solving the Read button dilemma for Everything vs. folders vs. feeds.
  Disabling feed settings button on Everything river view.
  Building folder delete into iOS app.
  ...
2011-12-11 16:48:50 -08:00

34 lines
1.5 KiB
Python

from django.conf.urls.defaults import *
from django.conf import settings
from apps.reader import views as reader_views
from apps.static import views as static_views
urlpatterns = patterns('',
url(r'^$', reader_views.index, name='index'),
(r'^reader/', include('apps.reader.urls')),
(r'^rss_feeds/', include('apps.rss_feeds.urls')),
(r'^classifier/', include('apps.analyzer.urls')),
(r'^profile/', include('apps.profile.urls')),
(r'^import/', include('apps.feed_import.urls')),
(r'^api/', include('apps.api.urls')),
(r'^recommendations/', include('apps.recommendations.urls')),
(r'^statistics/', include('apps.statistics.urls')),
(r'^mobile/', include('apps.mobile.urls')),
(r'^m/', include('apps.mobile.urls')),
url(r'^about/?', static_views.about, name='about'),
url(r'^faq/?', static_views.faq, name='faq'),
url(r'^api/?', static_views.api, name='api'),
url(r'^press/?', static_views.press, name='press'),
url(r'^feedback/?', static_views.feedback, name='feedback'),
url(r'^iphone/?', static_views.iphone, name='iphone'),
)
if settings.DEVELOPMENT:
urlpatterns += patterns('',
(r'^media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': settings.MEDIA_ROOT}),
)
urlpatterns += patterns('',
(r'^static/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': settings.STATIC_ROOT}),
)