Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix UUID Field when auto=False #1

Merged
merged 1 commit into from Nov 10, 2012

Conversation

Projects
None yet
2 participants

When passing in auto=False to the UUIDField, the following error occurs:

...
File "/Users/bglass/.virtualenvs/ikehu/src/django-uuid/src/django_uuid/fields.py", line 47, in pre_save
if self.auto and add:
AttributeError: 'UUIDField' object has no attribute 'auto'

@gugu gugu added a commit that referenced this pull request Nov 10, 2012

@gugu gugu Merge pull request #1 from brianglass/fix-uuid-auto-is-false
Fix UUID Field when auto=False
5fe454b

@gugu gugu merged commit 5fe454b into gugu:master Nov 10, 2012

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