paulocheque / django-dynamic-fixture

A complete library to create dynamic model instances for testing purposes.
http://django-dynamic-fixture.readthedocs.io/
Other
391 stars 67 forks source link

SECRET_KEY not set #23

Closed michaelmior closed 11 years ago

michaelmior commented 11 years ago

I can't run tests without adding a dummy value for SECRET_KEY in settings.py. Is there something I have configured incorrectly, or is this a bug?

paulocheque commented 11 years ago

SECRET_KEY is a mandatory settings until 1.5 version.

Changed in Django 1.5: Django will now refuse to start if SECRET_KEY is not set.

https://docs.djangoproject.com/en/dev/ref/settings/

michaelmior commented 11 years ago

Any reason not to add SECRET_KEY = 'foo' in the settings file so the tests can run? (They all complete successfully.)

paulocheque commented 11 years ago

Ohhhh, now I understand your request. I tought you are talking about your project =)

Thanks for your feedback, I will included it.

michaelmior commented 11 years ago

No problem. I see that my initial comment was pretty ambiguous. Thanks!

paulocheque commented 11 years ago

done.