Opened 6 years ago
Closed 6 years ago
#30142 closed Uncategorized (invalid)
Can a PositiveIntegerField have Unique attribute
Reported by: | Diego Arturo Hernandez Fuentes | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 2.1 |
Severity: | Normal | Keywords: | PositiveIntegerField, Model, attributes |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Note:
See TracTickets
for help on using tickets.
See TicketClosingReasons/UseSupportChannels for places to ask usage questions.