url(r'config/', include('wger.config.urls', namespace='config', app_name='config')), url(r'gym/', include('wger.gym.urls', namespace='gym', app_name='gym')), url(r'email/', include('wger.email.urls', namespace='email')), url(r'^browserid/', include('django_browserid.urls')), url(r'^sitemap\.xml$', sitemap, {'sitemaps': sitemaps}, name='sitemap') ) # # URLs without language prefix # urlpatterns = urlpatterns + [ url(r'^robots\.txt$', TextTemplateView.as_view(template_name="robots.txt"), name='robots'), url(r'^manifest\.webapp$', WebappManifestView.as_view(template_name="manifest.webapp")), url(r'^amazon-manifest\.webapp$', WebappManifestView.as_view(template_name="amazon-manifest.webapp")), # persona (browserID) login url(r'^browserid/', include('django_browserid.urls')), # API url(r'^api/', include(v1_api.urls)), url(r'^api/v2/exercise/search/$', exercises_api_views.search, name='exercise-search'), url(r'^api/v2/ingredient/search/$', nutrition_api_views.search, name='ingredient-search'),
r'software/', include('wger.software.urls', namespace='software', app_name='software')), url(r'config/', include('wger.config.urls', namespace='config', app_name='config')), url(r'gym/', include('wger.gym.urls', namespace='gym', app_name='gym')), url(r'email/', include('wger.email.urls', namespace='email')), url(r'^sitemap\.xml$', sitemap, {'sitemaps': sitemaps}, name='sitemap')) # # URLs without language prefix # urlpatterns += [ url(r'^robots\.txt$', TextTemplateView.as_view(template_name="robots.txt"), name='robots'), url(r'^manifest\.webapp$', WebappManifestView.as_view(template_name="manifest.webapp")), url(r'^amazon-manifest\.webapp$', WebappManifestView.as_view(template_name="amazon-manifest.webapp")), # API url(r'^api/', include(v1_api.urls)), url(r'^api/v2/exercise/search/$', exercises_api_views.search, name='exercise-search'), url(r'^api/v2/ingredient/search/$', nutrition_api_views.search, name='ingredient-search'), url(r'^api/v2/', include(router.urls)),