urls.py 427 Bytes
Newer Older
luxcem's avatar
luxcem committed
1
2
3
"""
rp_new URL Configuration
"""
luxcem's avatar
luxcem committed
4
5

from django.conf.urls import url, include
luxcem's avatar
luxcem committed
6
7
from django.contrib import admin

luxcem's avatar
luxcem committed
8
9
10
11
12
13
14
# Django rest framework router
from core.routers import DefaultRouter
from rp.api.urls import router as rp_router

router = DefaultRouter()
router.extend(rp_router)

luxcem's avatar
luxcem committed
15
16
urlpatterns = [
    url(r"^admin/", admin.site.urls),
luxcem's avatar
luxcem committed
17
    url(r"^api/", include(router.urls, namespace="api")),
luxcem's avatar
luxcem committed
18
    url(r"^rp/", include("rp.urls"))
luxcem's avatar
luxcem committed
19
]