Commit Graph

19 Commits (de94863eb164200609b00844fc1d95de9c2a1f8a)

Author SHA1 Message Date
Michael Warkentin c826b8573c Update `command` description
The docs were a little bit out of date with what commands are available to be run. They also didn't explain that you could pass custom commands - I almost went down the path of trying to run our custom management commands with the generic Ansible `command` module.
11 years ago
James Tanner 941d89cf5f Fix version_added for a few parameters in django_manage 11 years ago
Richard C Isaacson 24327b39b2 Bulk update of choices=BOOLEANS to type='bool' 11 years ago
James Tanner fc33860e5d Force command action to not be executed by the shell unless specifically enabled 11 years ago
Roger López 5e77eb70e4 django_manage need not require virtualenv in PATH
The virtualenv parameter to the django_manage command is used to locate
the virtualenv and build it if necessary.  Access to the virtualenv
executable is only needed if the virtualenv directory doesn't exist and
needs to be built.  This patch allows for the situation where a
virtualenv that is not in the PATH was used to create a virtualenv prior
to running the django_manage module.
11 years ago
James Tanner 4f9aadcc07 Addresses #5023 Fix import comments 11 years ago
James Tanner 38edad70ac Fixes #5023 Convert all modules to use new snippet import pattern 11 years ago
Steven Davidson 774f27e336 Reports changed status from django_manage migrate 11 years ago
Patrick Michaud c936bc67bb Allow generic django_management commands
This commit removes the restriction on django management commands.  If a command is unknown to the django installation, there will be a concise error produced.

for example:

  tasks:
    - name: invalid command
      django_manage: virtualenv="/valid/virtualenv" app_path="/valid/app_path" command="nowaydude"

Results in:

failed: [hostname] => {"cmd": "python manage.py nowaydude", "failed": true}
msg: stdout: Unknown command: 'nowaydude'
Type 'manage.py help' for usage.

:stderr: Unknown django command: nowaydude
11 years ago
Javier Candeira 047164adac fix django_manage migrate command 11 years ago
Jake Kreider 664aa794b0 Include database param if provided and valid in django_admin commands 11 years ago
danxshap b8a43a37f0 use home path expansion for virtualenv param in django_manage module 11 years ago
Michael DeHaan 1919d02e7d Styling: trailing spaces 12 years ago
Lorin Hochstein 4f841e6f62 django_manage: Pass --noinput to migrate
The django 'migrate' command should receive the --noinput command,
otherwise it can block waiting for user input.
12 years ago
Jochen Maes 0830376b0b adds 2 django commands (migrate, collectstatic)
Signed-off-by: Jochen Maes <jochen@sejo-it.be>
12 years ago
Michael DeHaan 152db00ed9 Merge remote branch 'origin' into devel
Conflicts:
	library/web_infrastructure/django_manage
12 years ago
Jan-Piet Mens 3404a0fc16 DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
  Added deprecation warning to moduledev.rst and remove deprecated example from it
  Fixed up a few typos and uppercased some acronyms.
  add consistency to how EXAMPLES are formatted
12 years ago
Lorin Hochstein bc6416d202 Fix broken link in django_manage doc 12 years ago
Michael DeHaan cd97a4cb14 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago