1. Skip to navigation
  2. Skip to content

Management Command Extensions Project

If you have global custom management command extensions or if you have suggestions for some that would be useful to you in your daily work with Django, we want you. Yesterday I posted a new project on Google Code, called Django Command Extensions, that will hopefully grow into a nice repository of custom management command extensions. Currently I’ve included the following three commands:

  • describe_form – Writes out a newforms definition to the console for the specified model
  • create_command – Generates a custom management command directory structure in the application specified, which makes it easy to get started creating your own commands.
  • generate_secret_key – Generates and displays a new secret key that can be used in your settings.py module.

There’s no documentation at the moment but that will come shortly. The application should be installed on your python path like all Django applications. Your Django framework must be at least updated to Changeset 6047.

Join In

Here’s a couple ways you can help out:

  • Become a Committer – If you’d like to contribute to the code please let me know and I’ll add you.
  • Test – Use the commands on various operating systems, different environments. Give us feedback.
  • Make Suggestions – If you have ideas about how we can expand the functionality of current command extensions or if you have a suggestion for a new command extension, let us know.
  • Documentation – Like to write documentation? Okay, but would you be willing to? Let me know.

If you need help getting started in creating your own custom management commands please check out the screencast I did on the subject.

The code is licensed under the MIT license.


Discussion