Kim Majali wrote on 26/05/2022
In the view.py file, instead of passing the listings we pass paged_listings
Import from django.core.paginator import EmptyPage, PageNotAnInteger, PaginatorRead more
Kim Majali wrote on 26/05/2022
n view.py under index function, get the list of question and store them in an object then pass them to the url
Read moreKim Majali wrote on 26/05/2022
Go to settings.py file and register the folder
MEDIA_ROOT = os.path.join(BASE_DIR, 'static')
MEDIA_URL = '/media/'
Read moreKim Majali wrote on 26/05/2022
To create a table follow these stems:
Notes:
Read moreKim Majali wrote on 26/05/2022
PostgreSQL is a more advanced DB server than MySQL, it’s free and open-source, ISO compliant, and has more advanced features like;
Rich datatypes (arrays, maps, json)