mirror of
https://github.com/Hopiu/django-fobi.git
synced 2026-05-11 14:23:09 +00:00
20 lines
503 B
Python
20 lines
503 B
Python
from rest_framework.routers import DefaultRouter
|
|
|
|
from .views import FobiFormEntryViewSet
|
|
|
|
__title__ = 'fobi.contrib.apps.drf_integration.urls'
|
|
__author__ = 'Artur Barseghyan <artur.barseghyan@gmail.com>'
|
|
__copyright__ = '2014-2017 Artur Barseghyan'
|
|
__license__ = 'GPL 2.0/LGPL 2.1'
|
|
__all__ = (
|
|
'urlpatterns',
|
|
'fobi_router',
|
|
)
|
|
|
|
fobi_router = DefaultRouter()
|
|
fobi_router.register(
|
|
r'fobi-form-entry',
|
|
FobiFormEntryViewSet,
|
|
base_name='fobi_form_entry'
|
|
)
|
|
urlpatterns = fobi_router.urls
|