Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
roomlist
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
roomlist
Commits
315329d4
Commit
315329d4
authored
Feb 01, 2016
by
Daniel W Bond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved relevant urls from accounts to welcome, urls now without username slugs
parent
fe8a0067
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
23 deletions
+32
-23
roomlist/accounts/urls.py
roomlist/accounts/urls.py
+1
-23
roomlist/welcome/urls.py
roomlist/welcome/urls.py
+31
-0
No files found.
roomlist/accounts/urls.py
View file @
315329d4
...
...
@@ -5,8 +5,7 @@ from django.conf.urls import patterns, include, url
# imports from your apps
from
.views
import
(
DetailStudent
,
UpdateStudent
,
DetailStudentSettings
,
DetailCurrentStudent
,
DetailCurrentStudentSettings
,
ListMajors
,
DetailMajor
,
WelcomeName
,
WelcomePrivacy
,
WelcomeMajor
,
WelcomeSocial
,
CreateConfirmation
,
DeleteConfirmation
)
DetailMajor
,
CreateConfirmation
,
DeleteConfirmation
)
from
.adapter
import
RemoveSocialConfirmationView
...
...
@@ -48,25 +47,4 @@ urlpatterns = patterns('',
# delete
url
(
r
'^student/(?P<student_slug>[\w-]+)/flag/(?P<slug>[\w-]+)/$'
,
DeleteConfirmation
.
as_view
(),
name
=
'deleteConfirmation'
),
# first welcome page
# let's verify your name and optionally select a gender
url
(
r
'^welcome/(?P<slug>[\w-]+)/1/$'
,
WelcomeName
.
as_view
(),
name
=
'welcomeName'
),
# second welcome page
# let's set your room and privacy
url
(
r
'^welcome/(?P<slug>[\w-]+)/2/$'
,
WelcomePrivacy
.
as_view
(),
name
=
'welcomePrivacy'
),
# third welcome page
# let's verify your major
url
(
r
'^welcome/(?P<slug>[\w-]+)/3/$'
,
WelcomeMajor
.
as_view
(),
name
=
'welcomeMajor'
),
# fourth welcome page
# set your social media links
url
(
r
'^welcome/(?P<slug>[\w-]+)/4/$'
,
WelcomeSocial
.
as_view
(),
name
=
'welcomeSocial'
),
)
roomlist/welcome/urls.py
0 → 100644
View file @
315329d4
# standard library imports
from
__future__
import
absolute_import
,
print_function
# core django imports
from
django.conf.urls
import
patterns
,
include
,
url
# imports from your apps
from
.views
import
WelcomeName
,
WelcomePrivacy
,
WelcomeMajor
,
WelcomeSocial
urlpatterns
=
patterns
(
''
,
# first welcome page
# let's verify your name and optionally select a gender
url
(
r
'^$'
,
WelcomeName
.
as_view
(),
name
=
'welcomeName'
),
# second welcome page
# let's set your room and privacy
url
(
r
'^2/$'
,
WelcomePrivacy
.
as_view
(),
name
=
'welcomePrivacy'
),
# third welcome page
# let's verify your major
url
(
r
'^3/$'
,
WelcomeMajor
.
as_view
(),
name
=
'welcomeMajor'
),
# fourth welcome page
# set your social media links
url
(
r
'^4/$'
,
WelcomeSocial
.
as_view
(),
name
=
'welcomeSocial'
),
)
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