You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Get Started With Django Part 3: Django View Authorization, Code Examples
2
+
3
+
This folder contains the sample code for [Get Started With Django Part 3: Django View Authorization](https://realpython.com/django-view-authorization/).
4
+
5
+
The code was tested with Python 3.8 and Django 3.0.7. To install the same version, use:
6
+
7
+
python -m pip install -r requirements.txt
8
+
9
+
This tutorial uses the Django admin, and comes with some sample data. To get going you will need to run the following commands:
10
+
11
+
cd Blog
12
+
python manage.py migrate
13
+
python manage.py createsuperuser
14
+
python manage.py loaddata core.json
15
+
16
+
Once those commands are complete, you can run the Django development server:
17
+
18
+
python manage.py runserver
19
+
20
+
With the server running, visit `http://127.0.0.1:8000` in your web browser to see the results.
0 commit comments