Each Django view is responsible for doing one of two things: returning an HttpResponse object containing the content for the requested page, or raising an exception such as Http404. The rest is up to you. Your view can read records from a database, or not. It can use...
Code / Syntax stuff from the tutorial that I'm definitely going to forget, so putting it here for easy reference: Question.objects.all() Question.objects.filter(id=1) Question.objects.filter(question_text__startswith='What') q = Question(question_text="What's new?",...
vsftpd, is an FTP server for Unix-like systems, including Linux. To get vsftpd up and running, do the following as root. Bash Script apt-get install vsftpd ftp systemctl restart vsftpd.service cd /etc vi vsftpd.conf uncomment local_enable = YES That...
Posgres data file location
Django – Useful manage.py Commands
Create a django webapp with part 2 of this django tutorial
Installing a Virtual Env, Installing Django 1.11.17 & Creating the Django Project Environment
How to remove “O comments” from under the post title in the Divi theme WordPress
How to find out what version of Django you are using.
Meaning of the different Python.exe command line switches.