[Django] #30142: Can a PositiveIntegerField have Unique attribute

3 views
Skip to first unread message

Django

unread,
Jan 29, 2019, 11:53:25 AM1/29/19
to django-...@googlegroups.com
#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.

Django

unread,
Jan 29, 2019, 12:04:13 PM1/29/19
to django-...@googlegroups.com
#30142: Can a PositiveIntegerField have Unique attribute
-------------------------------------+-------------------------------------
Reporter: diegohdez90 | Owner: nobody
Type: Uncategorized | Status: closed
Component: Database layer | Version: 2.1
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
PositiveIntegerField, | Unreviewed
Model,attributes |

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* status: new => closed
* resolution: => invalid


Comment:

See TicketClosingReasons/UseSupportChannels for places to ask usage
questions.

--
Ticket URL: <https://code.djangoproject.com/ticket/30142#comment:1>

Reply all
Reply to author
Forward
0 new messages