Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [gfe@web619 RMA]$ python manage.py createsuperuser --username=fec --email=fec@gfe-tec.pt
- Usage: manage.py action [options]
- actions:
- adminindex [appname ...]
- Prints the admin-index template snippet for the given app name(s).
- createcachetable [tablename]
- Creates the table needed to use the SQL cache backend
- dbshell
- Runs the command-line client for the current DATABASE_ENGINE.
- diffsettings
- Displays differences between the current settings.py and Django's
- default settings. Settings that don't appear in the defaults are
- followed by "###".
- dumpdata [--format][appname ...]
- Output the contents of the database as a fixture of the given
- format
- flush [--verbosity] [--interactive]
- Executes ``sqlflush`` on the current database.
- inspectdb
- Introspects the database tables in the given database and outputs
- a Django model module.
- loaddata [--verbosity] fixture, fixture, ...
- Installs the named fixture(s) in the database
- reset [--interactive][appname ...]
- Executes ``sqlreset`` for the given app(s) in the current
- database.
- runfcgi [various KEY=val options, use `runfcgi help` for help]
- Runs this project as a FastCGI application. Requires flup.
- runserver [--noreload] [--adminmedia=ADMIN_MEDIA_PATH] [optional port number, or ipaddr:port]
- Starts a lightweight Web server for development.
- shell [--plain]
- Runs a Python interactive interpreter. Tries to use IPython, if
- it's available.
- sql [appname ...]
- Prints the CREATE TABLE SQL statements for the given app name(s).
- sqlall [appname ...]
- Prints the CREATE TABLE, initial-data and CREATE INDEX SQL
- statements for the given model module name(s).
- sqlclear [appname ...]
- Prints the DROP TABLE SQL statements for the given app name(s).
- sqlcustom [appname ...]
- Prints the custom table modifying SQL statements for the given app
- name(s).
- sqlflush
- Returns a list of the SQL statements required to return all tables
- in the database to the state they were in just after they were
- installed.
- sqlindexes [appname ...]
- Prints the CREATE INDEX SQL statements for the given model module
- name(s).
- sqlinitialdata
- RENAMED: see 'sqlcustom'
- sqlreset [appname ...]
- Prints the DROP TABLE SQL, then the CREATE TABLE SQL, for the
- given app name(s).
- sqlsequencereset [appname ...]
- Prints the SQL statements for resetting sequences for the given
- app name(s).
- startapp [appname]
- Creates a Django app directory structure for the given app name in
- the current directory.
- syncdb [--verbosity] [--interactive]
- Create the database tables for all apps in INSTALLED_APPS whose
- tables haven't already been created.
- test [--verbosity] [appname ...]
- Runs the test suite for the specified applications, or the entire
- site if no apps are specified
- validate
- Validates all installed models.
- manage.py: error: no such option: --username
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement