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
e48f3639
Commit
e48f3639
authored
Aug 19, 2016
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify url
parent
cf15b7ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
urls.py
apps/jumpserver/urls.py
+2
-0
tests.py
apps/users/tests.py
+2
-2
No files found.
apps/jumpserver/urls.py
View file @
e48f3639
...
...
@@ -16,8 +16,10 @@ Including another URLconf
from
django.conf.urls
import
url
,
include
from
django.conf
import
settings
from
django.conf.urls.static
import
static
from
django.views.generic.base
import
TemplateView
urlpatterns
=
[
url
(
r'^$'
,
TemplateView
.
as_view
(
template_name
=
'base.html'
)),
url
(
r'^users/'
,
include
(
'users.urls'
)),
url
(
r'^assets/'
,
include
(
'assets.urls'
)),
# url(r'^admin/', admin.site.urls),
...
...
apps/users/tests.py
View file @
e48f3639
...
...
@@ -16,10 +16,10 @@ def create_usergroup(name):
def
get_random_usergroup
():
pass
def
create_user
(
username
,
name
,
email
,
groups
):
pass
class
UserListViewTests
(
TestCase
):
pass
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