Re: [Django] #26453: SITE_ID should start from 1, not 0

2016-04-04 Thread Django
#26453: SITE_ID should start from 1, not 0
-+-
 Reporter:  ynikitenko   |Owner:  nobody
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  Documentation|  Version:  1.8
 Severity:  Normal   |   Resolution:  wontfix
 Keywords:  SITE_ID, sites   | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Changes (by timgraham):

 * status:  new => closed
 * resolution:   => wontfix
 * needs_tests:   => 0
 * easy:  0 => 1
 * needs_better_patch:   => 0
 * needs_docs:   => 0
 * type:  Bug => Cleanup/optimization


Comment:

 Thanks for the suggestion. This restriction only applies to MySQL,
 however, and I don't think it's a big enough pitfall to warrant a note in
 the docs.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.254209b69dc1664d4814401634563c79%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #26453: SITE_ID should start from 1, not 0

2016-04-03 Thread Django
#26453: SITE_ID should start from 1, not 0
---+
 Reporter:  ynikitenko |  Owner:  nobody
 Type:  Bug| Status:  new
Component:  Documentation  |Version:  1.8
 Severity:  Normal |   Keywords:  SITE_ID, sites
 Triage Stage:  Unreviewed |  Has patch:  1
Easy pickings:  0  |  UI/UX:  0
---+
 I had a problem with migrations when I set SITE_ID to 0.
 In the [https://docs.djangoproject.com/en/1.9/ref/settings/#std:setting-
 SITE_ID documentation] I read that it should be integer, so I thought 0
 would be fine.
 I had the following error:
 ValueError: The database backend does not accept 0 as a value for
 AutoField.
 I suggest writing in the documentation that it should start from 1. The
 same problem is in the documentation for django 1.9.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.05c7bb61819c09bb2a91e0be59c922f9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.