Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
memopol
Commits
bfb601aa
Commit
bfb601aa
authored
Jul 06, 2015
by
Arnaud Fabre
Browse files
updates legislature/model
parent
41fd6097
Changes
1
Hide whitespace changes
Inline
Side-by-side
legislature/models.py
View file @
bfb601aa
...
...
@@ -106,7 +106,8 @@ class MemopolRepresentative(Representative):
@
receiver
(
post_save
,
sender
=
Representative
)
def
create_memopolrepresentative_from_representative
(
instance
,
**
kwargs
):
create_child_instance_from_parent
(
MemopolRepresentative
,
instance
)
memopol_representative
=
create_child_instance_from_parent
(
MemopolRepresentative
,
instance
)
memopol_representative
.
update_country
()
@
receiver
(
post_save
,
sender
=
Mandate
)
...
...
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