Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
luxcem
memopol
Commits
ec5ff1db
Commit
ec5ff1db
authored
Oct 14, 2016
by
Nicolas Joyard
Browse files
Fix qa
parent
83b5c959
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/memopol/context_processors.py
View file @
ec5ff1db
from
.forms
import
DossierSearchForm
,
RepresentativeSearchForm
from
memopol_settings.models
import
Setting
from
representatives.models
import
Chamber
,
Group
def
search_forms
(
request
):
...
...
src/memopol/forms.py
View file @
ec5ff1db
from
django
import
forms
from
dal
import
autocomplete
,
forward
from
representatives.models
import
Chamber
,
Group
,
Representative
from
representatives_votes.models
import
Dossier
from
representatives.models
import
Chamber
,
Group
class
RepresentativeSearchForm
(
forms
.
Form
):
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment