Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
bookshare
Commits
d2b25d4a
Commit
d2b25d4a
authored
Feb 25, 2020
by
Daniel W Bond
Browse files
the __future__ is now
parent
1cc6bba2
Changes
5
Hide whitespace changes
Inline
Side-by-side
bookshare/api/serializers.py
View file @
d2b25d4a
# standard library imports
from
__future__
import
absolute_import
,
print_function
,
unicode_literals
# third party imports
from
rest_framework
import
serializers
# imports from your apps
...
...
bookshare/api/urls.py
View file @
d2b25d4a
# standard libary imports
from
__future__
import
absolute_import
,
print_function
,
unicode_literals
# core django imports
from
django.urls
import
include
,
path
# third party imports
...
...
bookshare/api/views.py
View file @
d2b25d4a
# standard library imports
from
__future__
import
absolute_import
,
print_function
# third party imports
from
rest_framework.pagination
import
PageNumberPagination
from
rest_framework.viewsets
import
ReadOnlyModelViewSet
...
...
bookshare/core/cas_callbacks.py
View file @
d2b25d4a
# standard library imports
from
__future__
import
absolute_import
,
print_function
,
unicode_literals
# core django imports
from
django.conf
import
settings
from
django.contrib.auth.models
import
User
...
...
bookshare/settings/settings.py
View file @
d2b25d4a
...
...
@@ -3,7 +3,6 @@ Django settings for the bookshare project.
"""
# standard library imports
from
__future__
import
absolute_import
,
print_function
,
unicode_literals
import
os
# core django imports
from
django.contrib.messages
import
constants
as
messages
...
...
Write
Preview
Markdown
is supported
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