Example #1
0
from recommendations.urls import apipatterns as likeapi
from recommendations.views import RecommendationListView

admin.autodiscover()
nexus.autodiscover()

apipatterns = patterns(
    '',
    url(r'^comic/', include(comicapi)),
    url(r'^likes/', include(likeapi)),
)

urlpatterns = patterns(
    '',
    url(r'^robots.txt$', RobotsTextView.as_view()),
    url(r'^$', HomeRedirectView.as_view(), name='home'),
    url(r'^likes/$', RecommendationListView.as_view(), name='like-list'),
    url(r'^api/', include(apipatterns)),
    url(r'^comic/', include(comicpatterns)),
    url(r'^post/', include(postpatterns)),
    url(r'^tag/', include(tagpatterns)),
    url(r'^feed/$', LatestPostFeed(), name='postfeed'),
    url(r'^read/', include(readerpatterns)),
    url(r'^pebbles/$', DashboardView.as_view(), name='dashview'),
    url(r'^pebble/', include(pebblepatterns)),
    url(r'^about/$', StaticPageView.as_view(), {'template': 'about.html'}),
    url(r'^profile/', include(profilepatterns)),
    url(r'^accounts/', include('allauth.urls')),
    url(r'^admin/', include(admin.site.urls)),
    url(r'^nexus/', include(nexus.site.urls)),
Example #2
0
from django.conf.urls import patterns
from django.conf.urls import url

from robots_txt.views import RobotsTextView

urlpatterns = patterns('',
     url(r'^robots.txt$', RobotsTextView.as_view()),
)
Example #3
0
from django.conf.urls import url, include
from django.views.generic import TemplateView, RedirectView
from robots_txt.views import RobotsTextView
from .views import page_404, page_500
from . import conf

urlpatterns = [
    url(r'', include('favicon.urls')),
    url(r'^robots.txt$', RobotsTextView.as_view(template_name=conf.ROBOTS_TEMPLATE), name='site_robots_txt'),
    url(r'^test_page_404/$', page_404, name="page_404"),
    url(r'^test_page_500/$', page_500, name="page_500"),
]
Example #4
0
from django.conf.urls import patterns
from django.conf.urls import url

from robots_txt.views import RobotsTextView

urlpatterns = patterns('',
    url(
        r'^robots.txt$',
        RobotsTextView.as_view(),
    ),
)
Example #5
0
from django.conf.urls import patterns
from django.conf.urls import url

from robots_txt.views import RobotsTextView

urlpatterns = patterns(
    '',
    url(
        r'^robots.txt$',
        RobotsTextView.as_view(),
    ),
)
Example #6
0
from django.conf.urls import patterns, url, include
from django.views.generic import TemplateView, RedirectView
from robots_txt.views import RobotsTextView
from views import page_404, page_500
import conf

urlpatterns = patterns('',
    url(r'', include('favicon.urls')),
    url(r'^robots.txt$', RobotsTextView.as_view(template_name=conf.ROBOTS_TEMPLATE), name='site_robots_txt'),
    url(r'^test_page_404/$', page_404, name="page_404"),
    url(r'^test_page_500/$', page_500, name="page_500"),
)