File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ # Django Admin Site Customization
2+
3+ ## Want to learn how to build this?
4+
5+ Check out the [ post] ( # ) .
6+
7+ ## Want to use this project?
8+
9+ 1 . Fork/Clone
10+
11+ 1 . Create and activate a virtual environment:
12+
13+ ``` sh
14+ $ python3.11 -m venv venv && source venv/bin/activate
15+ ```
16+
17+ 1. Install the requirements:
18+
19+ ` ` ` sh
20+ (venv)$ pip install -r requirements.txt
21+ ` ` `
22+
23+ 1. Apply the migrations:
24+
25+ ` ` ` sh
26+ (venv)$ python manage.py migrate
27+ ` ` `
28+
29+ 1. Create a superuser and populate the database:
30+
31+ ` ` ` sh
32+ (venv)$ python manage.py createsuperuser
33+ (venv)$ python manage.py populate_db
34+ ` ` `
35+
36+ 1. Run the development server:
37+
38+ ` ` ` sh
39+ (venv)$ python manage.py runserver
40+ ` ` `
41+
42+ 1. Your Django admin site should be accessible at [http://localhost:8000/secretadmin/](http://localhost:8000/secretadmin/).
You can’t perform that action at this time.
0 commit comments