Git Product home page Git Product logo

custom-command's Introduction

Project layout

custom-command
|
|------Core
|	 |
|	 |----- __pycache__
|	 |----- __init__.py
|	 |----- asgi.py
|	 |----- setting.py
|	 |----- urls.py
|	 |----- wsgi.py 
|
|------custom_command
|	           |
|	           |----------------- __pycache__
|	           |----------------- management
|	           |                          |
|	           |	                      |
|	           |----- migrations 	      |-----commands 
|	           |	   |----__pycache__   |	    |----- __pycache__
|	           |	   |----__init__.py   |	    |----- namegen.py 
|	           |	                      |	    |----- usergen.py 
|	           |----- __init__.py 	      
|	           |----- admin.py 	                        
|	           |----- apps.py 
|	           |----- models.py 
|              |----- tests.py 
|              |----- views.py 
|
|------db.sqlite3
|------manage.py

#1

Auto name generator :
py manage.py namegen

output:

-----------New name---------- 
Name: yVXAPErgG7mMvum
name Generate Succesfully Completed!


Mail Name

Todd Beasley
John Taylor
Kelly Broome
William Mattione
Christopher Kridler
Daren Goodwin
Earnest Reed
Richard Robinson


Femail Name

Rebecca Keller
Melissa Pastian
Gerda Roof
Edith Warren
Jane Hopkins
Sonia Derringer

#2

Auto User Create :

Auto user generator Command:
py manage.py usergen 1

note: ( usergen 1) Here 1 is the quantity

output

===========New User========== 
username: bdrtL3m5PW
email: [email protected]
password : 2uEtdGsMP5
account created Succesfully Completed!

or Create user with full access permissions

    py manage.py usergen 2 -a

output:

You can clone this project if you want and follow the steps below to run.

Creating a virtual environmen

 py -m venv env 

Activating a virtual environment

.\env\Scripts\activate 

install requirements.txt

pip install -r requirements.txt 

database create

py manage.py makemigrations

py manage.py migration

now create superuser then runserver

Run server

py manage.py runserver 

localhost:

http://127.0.0.1:8000/

custom-command's People

Contributors

iamfoysal avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.