Skip to content

Commit

Permalink
redirect to /admin/for_runners/gpxmodel/
Browse files Browse the repository at this point in the history
  • Loading branch information
Yell0wflash committed Jun 2, 2018
1 parent eac5ea4 commit 72ddaac
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions for_runners_test_project/urls.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# coding: utf-8




from django.conf.urls import include, url, static
from django.conf.urls import include, static, url
from django.conf.urls.i18n import i18n_patterns
from django.contrib import admin
from django.views.generic import RedirectView

# https://github.com/jedie/django-for-runners
from for_runners_test_project import settings


admin.autodiscover()


urlpatterns = i18n_patterns(
url(r'^admin/', include(admin.site.urls)),

# until there is not real CMS pages: redirect to the interesting admin page:
url(r"^$", RedirectView.as_view(url="/admin/for_runners/gpxmodel/")),
url(r'^', include('cms.urls')),
)

Expand Down

0 comments on commit 72ddaac

Please # to comment.