Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
a43ac90b
Commit
a43ac90b
authored
Aug 23, 2016
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify CRLF to LF
parent
bbecbc85
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
__init__.py
apps/__init__.py
+0
-0
api_urls.py
apps/users/api_urls.py
+2
-3
serializers.py
apps/users/serializers.py
+2
-1
No files found.
apps/__init__.py
View file @
a43ac90b
apps/users/api_urls.py
View file @
a43ac90b
...
...
@@ -12,6 +12,4 @@ router.register(r'users', UserViewSet)
urlpatterns
=
[
url
(
r'v1/'
,
include
(
router
.
urls
)),
url
(
r'^api-auth/'
,
include
(
'rest_framework.urls'
,
namespace
=
'rest_framework'
))
]
url
(
r'^api-auth/'
,
include
(
'rest_framework.urls'
,
namespace
=
'rest_fr
\ No newline at end of file
apps/users/serializers.py
View file @
a43ac90b
...
...
@@ -9,4 +9,4 @@ from .models import Role, User, UserGroup
class
UserSerializer
(
serializers
.
HyperlinkedModelSerializer
):
class
Meta
:
model
=
User
fields
=
'__all__'
fields
=
\ No newline at end of file
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