Wednesday, October 26, 2016

Re: Negative User ID's

On 27/10/2016 9:57 AM, michael@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 ID's for these accounts
> and can't see any issue with this from a Django or DB point of view
> (would need to create and manage my own sequence for this).
>
> Can anyone see any issue with this?

Yes. It requires you (or those who maintain the application after you)
to manage something which the DBMS should manage "under the covers". If
this was my application I would be designing it with as few subtleties
as possible for the next person to support after I leave the project.

>
> Take care,
> Michael.
> --
> 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+unsubscribe@googlegroups.com
> <mailto:django-users+unsubscribe@googlegroups.com>.
> To post to this group, send email to django-users@googlegroups.com
> <mailto:django-users@googlegroups.com>.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/fe7444f4-eb17-49d2-b553-3f3d8004b034%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/fe7444f4-eb17-49d2-b553-3f3d8004b034%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c404713a-cf58-eca3-48d7-76f3c056210e%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment