Commit f49a1bfe authored by Okhin's avatar Okhin
Browse files

Redirecting / to /rp/ for a nicer UX. Close #4

parent 9bcab970
Pipeline #2654 passed with stages
in 3 minutes and 39 seconds
......@@ -6,6 +6,7 @@ from django.conf import settings
from django.conf.urls import url, include
from django.conf.urls.static import static
from django.contrib import admin
from django.views.generic.base import RedirectView
# Django rest framework router
from core.routers import DefaultRouter
......@@ -20,8 +21,8 @@ router.extend(rp_router)
urlpatterns = [
url(r'^$', RedirectView.as_view(url='/rp/', permanent=False), name='index'),
url(r'^i18n/', include('django.conf.urls.i18n')),
url(r"^api/", include((router.urls, "api"))),
url(r"^feeds/", include(("rp.feeds.urls", "feeds"))),
url(r"^rp/", include(("rp.urls", "rp"))),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment