#30142: Can a PositiveIntegerField have Unique attribute
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
diegohdez90 |
Type: | Status: new
Uncategorized |
Component: Database | Version: 2.1
layer (models, ORM) | Keywords:
Severity: Normal | PositiveIntegerField,
Triage Stage: | Model,attributes
Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Hello Django support team
I have a doubt, I have a field {{{name}}}that is a
{{{PositiveIntegerField}}} and I want to use ir as unique positive integer
field, there is a way to use it, because I don't want to use it as {{{auto
primary key}}}
Thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/30142>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/054.cf7f9be1b5f6a46150305798c141182c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.