Pass generic parameters to inherited model save() #103

Merged
merged 1 commit into from Jan 23, 2012

Conversation

Projects
None yet
2 participants
@ivgiuliani
Contributor

ivgiuliani commented Jan 14, 2012

Since Django 1.2, Model.save() got a new argument called 'using' to handle multiple databases setting. Currently, django-helpdesk doesn't allow additional parameters passing to save as they're hardcoded within the models.
This patch adds generic parameters support through list and dictionary expansion, in order both to fix this bug (multiple database cannot actually be used) and avoid this sort of problems in future.

rossp added a commit that referenced this pull request Jan 23, 2012

Merge pull request #103 from kratorius/save-fix
Pass generic parameters to inherited model save()

@rossp rossp merged commit 62e9866 into django-helpdesk:master Jan 23, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment