Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Carlos Ribas
rnacentral-webcode
Commits
2803b1f8
Commit
2803b1f8
authored
Aug 23, 2021
by
carlosribas
Browse files
Use TemplateView for contact page
parent
c2e7c135
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rnacentral/portal/urls.py
rnacentral/portal/urls.py
+1
-1
No files found.
rnacentral/portal/urls.py
View file @
2803b1f8
...
...
@@ -66,7 +66,7 @@ urlpatterns = [
# API documentation
url
(
r
'^api/?$'
,
views
.
StaticView
.
as_view
(),
{
'page'
:
'help/api-v1'
},
name
=
'api-docs'
),
# contact us
url
(
r
'^contact/?$'
,
views
.
ContactView
.
as_view
(
),
name
=
'contact-us'
),
url
(
r
'^contact/?$'
,
TemplateView
.
as_view
(
template_name
=
'portal/contact.html'
),
name
=
'contact-us'
),
# contact us success
url
(
r
'^thanks/?$'
,
views
.
StaticView
.
as_view
(),
{
'page'
:
'thanks'
},
name
=
'contact-us-success'
),
# error
...
...
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