Hi,
I'm writing a view to create a model, and am trying to capture any
ValidationErrors and display them to the user. I have code that looks like
this:
# exceptions is a dict of errors already encountered
try:
# create model
except ValidationError as e:
for key, msg in e.message_d
I'm sorry, please disregard this email. I found the answer in the documentation.
On 14-02-07 10:36 AM, Rosemary McCloskey wrote:
Hello,
I am trying to run unit tests on my project, and the DEBUG setting is not being
preserved during the tests. I'm using Django 1.6.1, with Pytho
Hello,
I am trying to run unit tests on my project, and the DEBUG setting is not being
preserved during the tests. I'm using Django 1.6.1, with Python 2.7.3 on Ubuntu
12.04.
My settings file looks like this:
DEBUG = True
ADMINS = (
('Rosemary McCloskey', 'rmc
3 matches
Mail list logo