Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hypha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ots
hypha
Commits
3562c05c
Commit
3562c05c
authored
4 years ago
by
Parbhat Puri
Browse files
Options
Downloads
Patches
Plain Diff
Fix isort
parent
d42f30c6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hypha/apply/utils/views.py
+2
-4
2 additions, 4 deletions
hypha/apply/utils/views.py
with
2 additions
and
4 deletions
hypha/apply/utils/views.py
+
2
−
4
View file @
3562c05c
from
django.db.models
import
ProtectedError
from
django.contrib.auth.decorators
import
login_required
from
django.contrib.auth.decorators
import
login_required
from
django.db.models
import
ProtectedError
from
django.forms.models
import
ModelForm
from
django.forms.models
import
ModelForm
from
django.http
import
HttpResponseForbidden
from
django.http
import
HttpResponseForbidden
from
django.shortcuts
import
get_object_or_404
,
redirect
from
django.shortcuts
import
get_object_or_404
,
redirect
...
@@ -11,11 +10,10 @@ from django.views.generic import View
...
@@ -11,11 +10,10 @@ from django.views.generic import View
from
django.views.generic.base
import
ContextMixin
from
django.views.generic.base
import
ContextMixin
from
django.views.generic.detail
import
SingleObjectTemplateResponseMixin
from
django.views.generic.detail
import
SingleObjectTemplateResponseMixin
from
django.views.generic.edit
import
ModelFormMixin
,
ProcessFormView
from
django.views.generic.edit
import
ModelFormMixin
,
ProcessFormView
from
wagtail.core.models
import
Page
from
wagtail.admin
import
messages
from
wagtail.admin
import
messages
from
wagtail.admin.auth
import
require_admin_access
from
wagtail.admin.auth
import
require_admin_access
from
wagtail.admin.views.pages
import
delete
from
wagtail.admin.views.pages
import
delete
from
wagtail.core.models
import
Page
def
page_not_found
(
request
,
exception
=
None
,
template_name
=
'
apply/404.html
'
):
def
page_not_found
(
request
,
exception
=
None
,
template_name
=
'
apply/404.html
'
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment