Commit Graph

18 Commits (e3b7bf0bf942536206e5a73907b8053945618721)

Author SHA1 Message Date
Jan Malte Gerth 6a78349f65 reuse already split output for filtering (#4310)
there is no need to call out.split('\n') multiple times (line 275 and 277)
8 years ago
Brian Coca c36bd28d08 Merge pull request #2641 from aaronkurtz/devel
Remove 'cache_table' from required params
9 years ago
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```.
9 years ago
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.
9 years ago
Adam Ever-Hadani 68c8234533 added support for 'collectstatic clear' in django_manage.py 9 years ago
Chris Church 9e47219b96 Merge pull request #1153 from Ernest0x/patch-3
make migrate command idempotent with django built-in migrations
9 years ago
Chris Faulkner 440b395f37 Report change status on django_manage collectstatic. 9 years ago
Brian Coca 549bbc7ee7 Merge pull request #1165 from ludat/devel
django_manage: Use shebang in manage.py instead of hardcoded "python"
9 years ago
Toshio Kuratomi ae49022a2c Merge pull request #574 from cchurch/django_manage_other_command
Add example of using django_manage to run other commands.
9 years ago
Toshio Kuratomi 86677f9ed5 Merge pull request #376 from lorin/django-expanduser
django_manage: expand ~ in app_path parameter
9 years ago
Greg DeKoenigsberg 2a5f0bde87 Proper author info for all remaining modules 9 years ago
Lucas David Traverso 3b954edab2 django_manage: Use shebang in manage.py instead of hardcode python 10 years ago
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.
10 years ago
Florian Apolloner afd0b3fcaa Added os.path.expanduser to app_path in django_manage 10 years ago
Chris Church d9360a7613 Update docs, add example of using django_manage to run other commands. 10 years ago
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.
10 years ago
Lorin Hochstein d7db09a0eb django_manage: expand ~ in app_path parameter
Allow users to specify app_path parameters that contain ~, for example:

app_path=~/myproject
10 years ago
Michael DeHaan c8e1a2077e file extensions! 10 years ago