Esempio n. 1
0
from flaskcbv.url import Url, include, make_urls

import contentloader.urls
import main.urls
import cabinet.urls
import calend.urls
import auth.urls
import doctors.urls
import map.urls

namespases = make_urls(
    Url('/', include(main.urls.namespases, namespace='main')),
    Url('/contentloader',
        include(contentloader.urls.namespases, namespace='contentloader')),
    Url('/cabinet', include(cabinet.urls.namespases, namespace='cabinet')),
    Url('/calend', include(calend.urls.namespases, namespace='calend')),
    Url('/auth', include(auth.urls.namespases, namespace='auth')),
    Url('/doctor_details', include(doctors.urls.namespases,
                                   namespace='doctors')),
    Url('/map', include(map.urls.namespases, namespace='map')),
)
Esempio n. 2
0
from flaskcbv.url import Url, include, make_urls

import index.urls
import app_tests.urls
import auth.urls
import collections_app.urls

namespases = make_urls(
    Url('/', include(index.urls.namespases, namespace='index')),
    Url(
        '/tests',
        include(app_tests.urls.namespases,
                namespace='tests',
                description='Simple Tests')),
    Url(
        '/auth',
        include(auth.urls.namespases,
                namespace='auth',
                description='Authorization')),
    Url(
        '/collections',
        include(collections_app.urls.namespases,
                namespace='collections',
                description='Collections')),
)
Esempio n. 3
0
from flaskcbv.url import Url, include, make_urls

import contentloader.urls
import main.urls
import cabinet.urls
import calend.urls
import auth.urls
import doctors.urls
import map.urls

namespases = make_urls(
    Url('/', include(main.urls.namespases, namespace='main')),
    Url('/contentloader', include(contentloader.urls.namespases, namespace='contentloader')),
    Url('/cabinet', include(cabinet.urls.namespases, namespace='cabinet')),
    Url('/calend', include(calend.urls.namespases, namespace='calend')),
    Url('/auth', include(auth.urls.namespases, namespace='auth')),
    Url('/doctor_details', include(doctors.urls.namespases, namespace='doctors')),
    Url('/map', include(map.urls.namespases, namespace='map')),
)
Esempio n. 4
0
from flaskcbv.url import Url, include, make_urls

import index.urls
import auth.urls
import my.urls
import seminars.urls
import news.urls

namespases = make_urls(
    Url('/', include(index.urls.namespases, namespace='index')),
    Url('/auth/', include(auth.urls.namespases, namespace='auth')),
    Url('/my/', include(my.urls.namespases, namespace='my')),
    Url('/seminars/', include(seminars.urls.namespases, namespace='seminars')),
    Url('/news/', include(news.urls.namespases, namespace='news')),
)
Esempio n. 5
0
from flaskcbv.url import Url, include, make_urls

import main.urls

namespases = make_urls(
    Url('/', include(main.urls.namespases, namespace='main')), )
Esempio n. 6
0
from flaskcbv.url import Url, include, make_urls

import mainpage.urls
import cabinet.urls
import admin.urls

namespases = make_urls(
    Url('/', include(mainpage.urls.namespases, namespace='mainpage')),
    Url('/cabinet/', include(cabinet.urls.namespases, namespace='cabinet')),
    Url('/admin/', include(admin.urls.namespases, namespace='admin')),
)