Closed techdragon closed 11 years ago
Awesome! Thanks, I will merge it ASAP!
Bryan
On Jun 22, 2013, at 6:12 AM, techdragon notifications@github.com wrote:
The migrations relied on auth.user. Added a couple of lines to knowledge.utils to lookup the custom user model. Ported/patched the migrations to use the new lookup variable so that they handle being run when there is only a custom user model.
You can merge this Pull Request by running
git pull https://github.com/Jumpstartz/django-knowledge master Or view, comment on, or merge it at:
https://github.com/zapier/django-knowledge/pull/50
Commit Summary
utils for 1.5 compatibility in migrations converted initial migration to use custom user model update useing 1.5 compatibility fixes update using 1.5 compatibility fixes added settings import so that getattr works File Changes
M knowledge/migrations/0001_initial.py (13) M knowledge/migrations/0002_auto__add_field_question_alertadd_field_response_alert.py (9) M knowledge/migrations/0003_autoadd_unique_category_slug.py (9) M knowledge/utils.py (6) Patch Links:
https://github.com/zapier/django-knowledge/pull/50.patch https://github.com/zapier/django-knowledge/pull/50.diff
The migrations relied on auth.user. Added a couple of lines to knowledge.utils to lookup the custom user model. Ported/patched the migrations to use the new lookup variable so that they handle being run when there is only a custom user model.