Lab3django Intro HTML
Lab3django Intro HTML
1. Follow the setup instructions given in Brightspace, if you do not already have the necessary
software installed.
2. Check Django version: $ python -c "import django; print(django.get_version())"
2. Create db tables (make sure myapp is included under INSTALLED_APPS in settings.py). See what
happens after each step.
a. Tools Run manage.py Task… (opens a window where you can type manage.py commands)
b. In manage.py window: Type makemigrations myapp in dialog box.
c. In manage.py window: Type sqlmigrate myapp 0001 #Check latest file in migrations dir
d. In manage.py window: Type migrate
2. Start your server (Run Run ‘mysiteS24’) and navigate to admin site (127.0.0.1:8000/admin).
3. Login using superuser name and password (from PART 1).
4. Enter the information for each Publisher and Book, as given in lab3data.txt through the admin
interface. How is the data being displayed? Would it be more useful to display additional information?
CSS Styling:
COMP 8347: Internet Applications and Distributes Systems
SUMMER 2024 LAB #3