Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Keel - LDH Middleware
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
26
Issues
26
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liberty
host
Keel - LDH Middleware
Commits
bc535e62
Commit
bc535e62
authored
Jun 23, 2017
by
David Seaward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
redirect `accounts/$` to root
parent
c6528046
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
purist_account/urls.py
purist_account/urls.py
+2
-1
No files found.
purist_account/urls.py
View file @
bc535e62
...
...
@@ -17,13 +17,14 @@ from django.conf.urls import include, url
from
django.contrib
import
admin
from
django.views.generic
import
RedirectView
from
registration.backends.simple.views
import
RegistrationView
import
ldapregister.views
import
ldapregister.views
from
ldapregister.forms
import
RegistrationForm
urlpatterns
=
[
url
(
r'^$'
,
ldapregister
.
views
.
home_page
,
name
=
'home_page'
),
url
(
r'^admin/'
,
admin
.
site
.
urls
),
url
(
r'^accounts/$'
,
RedirectView
.
as_view
(
url
=
'/'
)),
url
(
r'^accounts/profile/$'
,
RedirectView
.
as_view
(
url
=
'/'
)),
url
(
r'^accounts/register/$'
,
RegistrationView
.
as_view
(
form_class
=
RegistrationForm
),
name
=
'registration_register'
),
url
(
r'^accounts/'
,
include
(
'registration.backends.simple.urls'
)),
...
...
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