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
M
memopol
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
32
Issues
32
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
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
Political Memory
memopol
Commits
7e9fa290
Commit
7e9fa290
authored
Jun 05, 2016
by
Nicolas Joyard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove views (don't belong in this project)
parent
7cc4b1b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
47 deletions
+0
-47
representatives_votes/urls.py
representatives_votes/urls.py
+0
-36
representatives_votes/views.py
representatives_votes/views.py
+0
-11
No files found.
representatives_votes/urls.py
deleted
100644 → 0
View file @
7cc4b1b7
from
django.conf
import
settings
from
django.conf.urls
import
url
import
views
urlpatterns
=
[
url
(
r
'^dossier/(?P<pk>\d+)/$'
,
views
.
DossierDetail
.
as_view
(),
name
=
'dossier-detail'
),
url
(
r
'^dossier/$'
,
views
.
DossierList
.
as_view
(),
name
=
'dossier-list'
),
]
if
'dal_select2'
in
settings
.
INSTALLED_APPS
:
from
autocompletes
import
(
# noqa
DossierAutocomplete
,
ProposalAutocomplete
,
)
urlpatterns
+=
[
url
(
'^autocomplete/dossier/$'
,
DossierAutocomplete
.
as_view
(),
name
=
'dossier-autocomplete'
,
),
url
(
'^autocomplete/proposal/$'
,
ProposalAutocomplete
.
as_view
(),
name
=
'proposal-autocomplete'
,
),
]
representatives_votes/views.py
deleted
100644 → 0
View file @
7cc4b1b7
from
django.views
import
generic
from
.models
import
Dossier
class
DossierList
(
generic
.
ListView
):
model
=
Dossier
class
DossierDetail
(
generic
.
DetailView
):
model
=
Dossier
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