ALLOWED_HOSTS = ['www.somesite.com', 'somesite.com']
ALLOWED_HOSTS = ['*']
'loggers': {
'django.security.DisallowedHost': {
'handlers': ['null'],
'propagate': False,
},
0-9
a-z
(общепринято - в нижнем регистре)-
_
SELECT * FROM pages WHERE category="some-slug"
SELECT * FROM pages WHERE category=126
. get_pages_in_category( 'some-slug' )
$object->get_pages_in_category( 'some-slug' )
.