KZ
модели связаны по fk
src="media/{{ article.fileupload_set.get(0) }}}"
что нужно использовать вместо .get(0) ??
Size: a a a
KZ
KZ
AA
django.db.utils.OperationalError: could not translate host name "db" to address: Name or service not known
0
django.db.utils.OperationalError: could not translate host name "db" to address: Name or service not known
0
r
r
RS
r
r
EMAIL_HOST = 'smtp.example.com'
EMAIL_PORT = 25
EMAIL_HOST_USER = 'mailer@example.com'
EMAIL_HOST_PASSWORD = 'password'
EMAIL_USE_TLS = True
RS
EMAIL_HOST = 'smtp.example.com'
EMAIL_PORT = 25
EMAIL_HOST_USER = 'mailer@example.com'
EMAIL_HOST_PASSWORD = 'password'
EMAIL_USE_TLS = True
RS
r
RS
r
RS
AA
DN
BB
DT