Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
0d89428d
Commit
0d89428d
authored
Jan 16, 2020
by
Lukas Burgey
Browse files
Fix url imports
parent
c716a184
Changes
5
Show whitespace changes
Inline
Side-by-side
feudal/backend/auth/v1/urls.py
View file @
0d89428d
from
django.
conf.
urls
import
path
,
include
from
django.urls
import
path
,
include
from
django.views.decorators.csrf
import
csrf_exempt
from
.views
import
webpage
,
clients
...
...
feudal/backend/urls.py
View file @
0d89428d
from
django.
conf.
urls
import
include
,
path
from
django.urls
import
include
,
path
from
django.contrib
import
admin
from
.views.clients
import
URLPATTERNS
as
clientapi_urls
...
...
feudal/backend/views/clients.py
View file @
0d89428d
...
...
@@ -2,7 +2,7 @@
import
logging
from
django.conf
import
settings
from
django.
conf.
urls
import
path
from
django.urls
import
path
from
django.core.exceptions
import
ImproperlyConfigured
from
django.shortcuts
import
get_object_or_404
from
rest_framework
import
generics
,
views
,
exceptions
...
...
feudal/backend/views/rest.py
View file @
0d89428d
import
logging
from
django.
conf.
urls
import
path
,
re_path
from
django.urls
import
path
,
re_path
from
django.contrib.auth
import
logout
from
django.shortcuts
import
get_object_or_404
from
django.http
import
HttpResponse
...
...
feudal/backend/views/webpage.py
View file @
0d89428d
import
logging
from
django.
conf.
urls
import
path
from
django.urls
import
path
from
rest_framework
import
status
,
generics
from
rest_framework.permissions
import
AllowAny
from
rest_framework.response
import
Response
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment