Commit graph

17 commits

Author SHA1 Message Date
Brian Coca
c36bd28d08 Merge pull request #2641 from aaronkurtz/devel
Remove 'cache_table' from required params
2016-01-25 23:44:35 -05:00
Graham Ullrich
e002161e6c Update django_manage documentation
As of Ansible 2.x, invocation of Django's ```manage.py``` requires a valid "shebang". Additionally, ```manage.py``` must be executable.
The old invocation was hardcoded as ```python manage.py ...``` while the new invocation is ```./manage.py ...```. See [this PR](https://github.com/ansible/ansible-modules-core/pull/1165).
This change allows more flexibility for which Python interpreter is invoked, but breaks existing deployment when ```manage.py``` is not properly configured. This documentation update adds a note explaining the new requirements for ```manage.py```.
2016-01-23 12:20:18 -07:00
Aaron Kurtz
b303d760e6 Remove 'cache_table' from required params
Starting in Django 1.7, the createcachetable command looks for cache
table names in the CACHES settings dictionary, so cache_table is no
longer required, but is still allowed.
2015-12-07 01:51:16 -08:00
Adam Ever-Hadani
68c8234533 added support for 'collectstatic clear' in django_manage.py 2015-07-26 11:56:59 -07:00
Chris Church
9e47219b96 Merge pull request #1153 from Ernest0x/patch-3
make migrate command idempotent with django built-in migrations
2015-07-21 14:42:48 -04:00
Chris Faulkner
440b395f37 Report change status on django_manage collectstatic. 2015-07-09 14:36:52 -07:00
Brian Coca
549bbc7ee7 Merge pull request #1165 from ludat/devel
django_manage: Use shebang in manage.py instead of hardcoded "python"
2015-07-04 15:56:12 -04:00
Toshio Kuratomi
ae49022a2c Merge pull request #574 from cchurch/django_manage_other_command
Add example of using django_manage to run other commands.
2015-06-30 06:47:00 -07:00
Toshio Kuratomi
86677f9ed5 Merge pull request #376 from lorin/django-expanduser
django_manage: expand ~ in app_path parameter
2015-06-25 08:35:50 -07:00
Greg DeKoenigsberg
2a5f0bde87 Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
Lucas David Traverso
3b954edab2 django_manage: Use shebang in manage.py instead of hardcode python 2015-04-19 04:39:59 -03:00
Petros Moisiadis
3c605d4aba make migrate command idempotent with django built-in migrations
Django since version 1.7 has built-in migrations, so no need to have south installed with recent django versions. The 'migrate' command works with built-in migrations without any change, but the output is different than the output produced by south, which breaks idempotence. This commit fixes this.
2015-04-17 19:43:25 +03:00
Florian Apolloner
afd0b3fcaa Added os.path.expanduser to app_path in django_manage 2015-03-29 21:34:29 +02:00
Chris Church
d9360a7613 Update docs, add example of using django_manage to run other commands. 2014-12-26 01:29:54 -05:00
Peter Bwire
1710b45075 Update django_manage to add database option for migrate
Allow passing the database option to the django_manage module for migrations. This is usefull in situations where multiple databases are used by a django application.
2014-12-05 18:08:47 +03:00
Lorin Hochstein
d7db09a0eb django_manage: expand ~ in app_path parameter
Allow users to specify app_path parameters that contain ~, for example:

app_path=~/myproject
2014-11-22 20:59:36 -05:00
Michael DeHaan
c8e1a2077e file extensions! 2014-09-26 10:37:56 -04:00
Renamed from web_infrastructure/django_manage (Browse further)