How to run django with nginx

In this tutorial we will learn how to configure nginx with django project in Ubuntu 12.04 LTS . Here in this scenario I have already putted the Django Project code in /opt and before this I installed django from its source code. Actually in this scenario the code was developed in staging machine and I … Read more

AttributeError: ‘WSGIRequest’ object has no attribute ‘session’ Django python web framework

While working on Django I got this error message “AttributeError: ‘WSGIRequest’ object has no attribute ‘session’” To solve this issue it is just 2 steps away. I hope you already know about how to start and stop the python based django. Step 1: Edit the file.And add the following line. Replace the FQDN with … Read more