#31802: Add system check for SITE_ID.
--------------------------------------+------------------------------------
Reporter: Gagan Deep | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.sites | Version: master
Severity: Normal | Resolution:
Keywords: sites, cache | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by felixxm):
* type: Bug => Cleanup/optimization
* version: 3.0 => master
* stage: Unreviewed => Accepted
Comment:
> ... it can be interpreted that it should be an integer.
It's clearly stated in [https://docs.djangoproject.com/en/3.0/ref/settings
/#site-id docs]: ''"The ID, as an integer, ..."'' but I agree that we can
add a system check, e.g.
{{{
sites.E003: ``SITE_ID`` must be an integer.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31802#comment:2>
Django <https://code.djangoproject.com/>
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.4e71980fd2cfd3516496097032e9ad2c%40djangoproject.com.