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 namethat 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.

Change History (1)

comment:1 by Tim Graham, 6 years ago

Resolution: invalid
Status: newclosed

See TicketClosingReasons/UseSupportChannels for places to ask usage questions.

Note: See TracTickets for help on using tickets.
Back to Top