Django: Advantages of Using Django 1. Security Users of Django will be impressed with the level of protection from all possible security-related errors like clickjacking,…
1. Security Users of Django will be impressed with the level of protection from all possible security-related errors like clickjacking, SQL injections, cross-site scripting,…
Django is the most popular Python framework. here we going to setup API using Django framework and library TastyPie. We Expecting you have knowledge…
This document explains how to output CSV (Comma Separated Values) dynamically using Django views. To do this, you can either use the Python CSV…
Install ReportLab The ReportLab library is available on PyPI. A user guide (not coincidentally, a PDF file) is also available for download. You can…
Django Mail Setup Sending email using Django in a very easy way and less configuration. In this series, I am going to show you…
https://www.codementor.io/overiq/deploying-django-project-to-digitalocean-xt5s538tp sudo nano /etc/nginx/sites-available/djangobin sudo service nginx restart server { server_name www.soluball.com; rewrite ^(.*) http://domain_name.com$1 permanent; } server { server_name https://www.soluball.com; rewrite ^(.*) http://domain_name.com$1…
# default: “Django Administration” admin.site.site_header = ‘Soluball Admin’ # default: “Site administration” admin.site.index_title = ‘Admin Panel Soluball’ admin.site.site_title = ‘Django’
In this tutorial I will cover how to create Django user sign up/registration, login, logout. Usually I have done it from scratch. You can…
Initial migrations on a project can sometimes be troubleshot using –fake-initial python manage.py migrate –fake-initial python manage.py migrate
Create a model class Contact(models.Model): name = models.CharField(max_length=100) email = models.EmailField(max_length=100) subject = models.CharField(max_length=100) message = models.TextField() mobile = models.IntegerField() created_date = models.DateField(auto_now_add=True) Load…