Hi,

I am trying to port over something to Django/Postgresql that I built on 
Asp.Net/MSSQL and I was hoping someone could give me some direction on 
manual creation of Primary Key key columns in Django models.  What I would 
like is to have a BIGINT Primary Key value that is unique across all my 
models (which is what I am currently doing in Microsoft stack).  I have 
been researching for the last day and I dont see obvious pattern anywhere. 
 The closest thing I have found to what I need is django-ticketing:

https://github.com/streeter/django-ticketing

Unfortuantely it is very MySql-centric.

Are there any "best practices" for generating bigint primary keys which are 
unique accross multiple models? 

Thank you very much in advance.

--Amit

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/00652711-4efa-4064-9423-086c32dab2f5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to