Advertisement
SipriusPT

adduser

Apr 19th, 2018
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.00 KB | None | 0 0
  1. [gfe@web619 RMA]$ python manage.py createsuperuser --username=fec --email=fec@gfe-tec.pt
  2. Usage: manage.py action [options]
  3. actions:
  4. adminindex [appname ...]
  5. Prints the admin-index template snippet for the given app name(s).
  6.  
  7. createcachetable [tablename]
  8. Creates the table needed to use the SQL cache backend
  9.  
  10. dbshell
  11. Runs the command-line client for the current DATABASE_ENGINE.
  12.  
  13. diffsettings
  14. Displays differences between the current settings.py and Django's
  15. default settings. Settings that don't appear in the defaults are
  16. followed by "###".
  17.  
  18. dumpdata [--format][appname ...]
  19. Output the contents of the database as a fixture of the given
  20. format
  21.  
  22. flush [--verbosity] [--interactive]
  23. Executes ``sqlflush`` on the current database.
  24.  
  25. inspectdb
  26. Introspects the database tables in the given database and outputs
  27. a Django model module.
  28.  
  29. loaddata [--verbosity] fixture, fixture, ...
  30. Installs the named fixture(s) in the database
  31.  
  32. reset [--interactive][appname ...]
  33. Executes ``sqlreset`` for the given app(s) in the current
  34. database.
  35.  
  36. runfcgi [various KEY=val options, use `runfcgi help` for help]
  37. Runs this project as a FastCGI application. Requires flup.
  38.  
  39. runserver [--noreload] [--adminmedia=ADMIN_MEDIA_PATH] [optional port number, or ipaddr:port]
  40. Starts a lightweight Web server for development.
  41.  
  42. shell [--plain]
  43. Runs a Python interactive interpreter. Tries to use IPython, if
  44. it's available.
  45.  
  46. sql [appname ...]
  47. Prints the CREATE TABLE SQL statements for the given app name(s).
  48.  
  49. sqlall [appname ...]
  50. Prints the CREATE TABLE, initial-data and CREATE INDEX SQL
  51. statements for the given model module name(s).
  52.  
  53. sqlclear [appname ...]
  54. Prints the DROP TABLE SQL statements for the given app name(s).
  55.  
  56. sqlcustom [appname ...]
  57. Prints the custom table modifying SQL statements for the given app
  58. name(s).
  59.  
  60. sqlflush
  61. Returns a list of the SQL statements required to return all tables
  62. in the database to the state they were in just after they were
  63. installed.
  64.  
  65. sqlindexes [appname ...]
  66. Prints the CREATE INDEX SQL statements for the given model module
  67. name(s).
  68.  
  69. sqlinitialdata
  70. RENAMED: see 'sqlcustom'
  71.  
  72. sqlreset [appname ...]
  73. Prints the DROP TABLE SQL, then the CREATE TABLE SQL, for the
  74. given app name(s).
  75.  
  76. sqlsequencereset [appname ...]
  77. Prints the SQL statements for resetting sequences for the given
  78. app name(s).
  79.  
  80. startapp [appname]
  81. Creates a Django app directory structure for the given app name in
  82. the current directory.
  83.  
  84. syncdb [--verbosity] [--interactive]
  85. Create the database tables for all apps in INSTALLED_APPS whose
  86. tables haven't already been created.
  87.  
  88. test [--verbosity] [appname ...]
  89. Runs the test suite for the specified applications, or the entire
  90. site if no apps are specified
  91.  
  92. validate
  93. Validates all installed models.
  94.  
  95. manage.py: error: no such option: --username
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement