Maxime Rouyrre
aba5100e4f
Fixed RemovedInDjango19Warning
...
It's better to try the new import method first because in Django<1.9 the
old method is still available and will raise a RemovedInDjango19Warning
that we could have avoided.
2016-03-11 11:02:26 +01:00
Jannis Leidel
8be47c0813
Merge remote-tracking branch 'benjaminabel/master'
2015-02-13 18:12:56 +01:00
Jannis Leidel
21d1712143
Use importlib.import_module if needed.
2015-02-13 16:24:02 +01:00
Benjamin ABEL
d9b2815526
Use CommandParser instead of LaxOptionParser in django1.8
...
Added a django version check, and removed the `LaxOptionParser` import for django>=1.8 and used `CommandParser` instead as in Claude Paroz django [commit](8568638603 (diff-860fce37924469764af399caaa365e00R275) )
Reference: [#19973 (Management commands migration to argparse) –
Django](https://code.djangoproject.com/ticket/19973 )
2015-01-25 18:13:47 +01:00
Jannis Leidel
44476bdd1d
Merge remote-tracking branch 'hiisi13/master'
...
Signed-off-by: Jannis Leidel <jannis@leidel.info>
2015-01-06 23:15:08 +01:00
Jannis Leidel
41dfcee46c
Backported LaxOptionParser from Django 1.7 to make it work on 1.8.
2015-01-06 21:16:14 +01:00
Jannis Leidel
3848e6b818
Drastically simplified exception messages in the importer.
...
Less eyebleed® included!
2013-09-06 22:41:14 +02:00
Jannis Leidel
1a54847375
Added a configuration values system.
...
This also adds some advanced features like a setup classmethod to the Configuration class.
Reorganized and extended the documentation.
2013-07-27 12:37:28 +02:00
Jannis Leidel
775e1b9225
Initial version.
2012-07-21 15:56:04 +02:00