Hi all,
-- I am trying to create a Model Fields that is basically a AutoField, but in base 36. Here my definition: And here is a Model class I am using: I have a test failing: As mzk_id is kept as an integer. Basically when creating the incremented field, Django doesn't go through to_python()... I am not sure why... Does anyone could help me up? |
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2c4300e7-80af-4fc5-b71c-31d6c0814a06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment