Re: Negative User ID's

2016-11-06 Thread Javier Guerra Giraldez
On 4 November 2016 at 18:28, wrote: > > Unfortunately, the apps are currently in different DB's. > > On Friday, November 4, 2016 at 10:26:34 AM UTC-7, Javier Guerra wrote: >> >> that's what foreign keys are for even so, a foreign key field is the answer. i see three

Re: Negative User ID's

2016-11-04 Thread michael
Unfortunately, the apps are currently in different DB's. On Friday, November 4, 2016 at 10:26:34 AM UTC-7, Javier Guerra wrote: > > > On 4 November 2016 at 17:17, wrote: > >> To support future integration, I need to ID's to be common across the two >> apps. > > > that's

Re: Negative User ID's

2016-11-04 Thread Vinicius Assef
On 4 November 2016 at 15:17, wrote: > My real question was "is there any issue using > negative IDs". I'd check it with the database backend. I mean, read its documentation. And make a double check on the django side. Maybe contacting one of core developers. -- You

Re: Negative User ID's

2016-11-04 Thread Javier Guerra Giraldez
On 4 November 2016 at 17:17, wrote: > To support future integration, I need to ID's to be common across the two > apps. that's what foreign keys are for -- Javier -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Negative User ID's

2016-11-04 Thread michael
Hi, The normal user table will be synced from another application that doesn't allow non-real users. To support future integration, I need to ID's to be common across the two apps. The positive ID range is, in a sense, not available at this time. My real question was "is there any issue

Re: Negative User ID's

2016-11-04 Thread Nate Granatir
Or why not just assign certain Users to certain Groups? That seems like a much more clean and simple way of handling the problem. You'd be able to easily filter either set of users, and it would require very little custom code. Plus, doing something like assigning negative IDs disguises what

Re: Negative User ID's

2016-10-26 Thread James Schneider
On Oct 26, 2016 5:58 PM, "Mike Dewhirst" wrote: > > On 27/10/2016 9:57 AM, mich...@zanyblue.com wrote: >> >> Hi, >> >> The Django contrib User model is used to create accounts in Django applications. I would like to keep accounts associated with real people separate from

Re: Negative User ID's

2016-10-26 Thread Mike Dewhirst
On 27/10/2016 9:57 AM, mich...@zanyblue.com wrote: Hi, The Django contrib User model is used to create accounts in Django applications. I would like to keep accounts associated with real people separate from accounts created for mailing list and/or service accounts. I was planning on using

Negative User ID's

2016-10-26 Thread michael
Hi, The Django contrib User model is used to create accounts in Django applications. I would like to keep accounts associated with real people separate from accounts created for mailing list and/or service accounts. I was planning on using negative ID's for these accounts and can't see any