Monday, July 31, 2023

Re: User log in authentication problem in Django

Why u create registration model for authentication because authentication model already included when u run command make migrations.
U only import django.contrib.auth import User, authenticate and use

On Sun, Jul 30, 2023, 7:02 AM Mh Limon <mhlimon571@gmail.com> wrote:
This is my views.py code. when providing the correct username and password, the system consistently displays an error message stating "You have incorrect Username or password."
from django.shortcuts import render,HttpResponse,redirect
from .models import registration
from django.contrib.auth import authenticate,login

def home(request):
    return render(request,'home.html')

def log_in(request):
    if request.method == 'POST':
        username = request.POST.get('username')
        password = request.POST.get('password')

        user = authenticate(request, username=username, password=password)

        if user is not None:
            login(request, user)
            return redirect('home')
        else:
            return HttpResponse("You have incorrect Username or password")

    return render(request, 'log_in.html')


def sign_up(request):
    if request.method == 'POST':
        name = request.POST.get('fullname')
        username = request.POST.get('username')
        email = request.POST.get('email')
        pass1 = request.POST.get('password')
        pass2 = request.POST.get('confirm_password')

        if pass1 != pass2:
            return HttpResponse("Password not matched")
        else:
            db = registration()

            db.Name = name
            db.username = username
            db.Email = email
            db.Password = pass1

            db.save()

            return redirect('log_in')


    return render(request,'sign_up.html')

This is models.py for SQLite database:

from django.db import models

class registration(models.Model):
    Name = models.CharField(max_length=100)
    username = models.CharField(max_length=100)
    Email = models.CharField(max_length=100)
    Password = models.CharField(max_length=100)

Please help me for solve this problem


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d6c32ddf-746b-43a8-87dc-2ab27721c107n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAr4ktSzS6rudsee_4MpUQucXCT9%2Brn2XW%3DpxSUtWnhaupgS4Q%40mail.gmail.com.

Re:

It'll advice that you add some extra informations to the page, also the image takes at least 5 seconds to load and the icon is tiny on mobiles 

On Mon, 31 Jul 2023, 14:48 marvelous, <utibesolomon6@gmail.com> wrote:

Oh ok then I will put that into consideration thank you very much

 

Sent from Mail for Windows

 

From: Ogunlade Stephen Olayide
Sent: Monday, July 31, 2023 2:11 PM
To: django-users@googlegroups.com
Subject: Re:

 

I will prefer you make the About page the home/landing page

 

On Mon, Jul 31, 2023 at 2:00 PM marvelous <utibesolomon6@gmail.com> wrote:

 

Hello guys I just finished building out my portfolio and I would appreciate if you give me your honest reviews heres the link

 

https://marvel-9gdg.onrender.com/

 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/D11D5F79-FE3E-43CC-B82F-FA665B0E4414%40hxcore.ol.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANyXpooYQoA2tuytkCFUj1KEpeZOfF5Gcc37cVWHY2eTgHV45w%40mail.gmail.com.

 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3FA1C223-C03A-483B-9604-9A682730D0C4%40hxcore.ol.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALo4fb_bHyP%3D4nUwarPT52xF2k3XiRxEmhryKgaHhSKG-p-mPw%40mail.gmail.com.

RE:

Oh ok then I will put that into consideration thank you very much

 

Sent from Mail for Windows

 

From: Ogunlade Stephen Olayide
Sent: Monday, July 31, 2023 2:11 PM
To: django-users@googlegroups.com
Subject: Re:

 

I will prefer you make the About page the home/landing page

 

On Mon, Jul 31, 2023 at 2:00 PM marvelous <utibesolomon6@gmail.com> wrote:

 

Hello guys I just finished building out my portfolio and I would appreciate if you give me your honest reviews heres the link

 

https://marvel-9gdg.onrender.com/

 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/D11D5F79-FE3E-43CC-B82F-FA665B0E4414%40hxcore.ol.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANyXpooYQoA2tuytkCFUj1KEpeZOfF5Gcc37cVWHY2eTgHV45w%40mail.gmail.com.

 

Re:

I will prefer you make the About page the home/landing page

On Mon, Jul 31, 2023 at 2:00 PM marvelous <utibesolomon6@gmail.com> wrote:

 

Hello guys I just finished building out my portfolio and I would appreciate if you give me your honest reviews heres the link

 

https://marvel-9gdg.onrender.com/

 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/D11D5F79-FE3E-43CC-B82F-FA665B0E4414%40hxcore.ol.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANyXpooYQoA2tuytkCFUj1KEpeZOfF5Gcc37cVWHY2eTgHV45w%40mail.gmail.com.

Re: Logout time

Thank you all.

 Thank you # madhusudan (I got on idea through you shared the code)

On Fri, Jul 28, 2023, 8:16 PM Madhusudhan Reddy <msreddy.gone@gmail.com> wrote:
To get Logout time based on login time,

login time = some thing

logout time = login time + 8 hours

use datetime timedelta module in python, 

>>> CODE <<<
from datetime import datetime, timedelta
login_time = datetime.now()
logout_time = login_time + timedelta(hours=8)
>>> CODE <<<









On Fri, 28 Jul 2023 at 20:05, Prashanth Patelc <prashanthpatelc@gmail.com> wrote:
Hi all,

How to get logout time based on login time in python?

I'm storing hour in one column
Eg ; hour
        8
Based on 8 Calculate logout time

My login time 10:00:00

I need 6: 00:00 (based 8)

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMCU6Cpe32Pcs5PAmbx8LDcJzqqPwuhJVzrz%2B%3D67-tEMBychOw%40mail.gmail.com.


--
Best regards,
Madhusudhan
+91 90007 79457


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFwQctLwNxagOX-QKVUdp58gk4px0M_qftqU3rnHayGaJ9BjAw%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMCU6CpehgV_0BzNKSRFLZbgTb0z3hSkXQWmSEfK1v11-_oLPA%40mail.gmail.com.

Sunday, July 30, 2023

Re: Problems in Django login authentication

Thank you all.My problem is solved.

On Sunday, July 30, 2023 at 11:34:43 AM UTC+6 Prashanth Patelc wrote:
Use default django user model 

from django.contrib.auth.models import User
# Create your models here.
class Registration (models.Model):
    author = models.ForeignKey(User, on_delete=models.CASCADE)
    
# write your fields here



In settings.py


AUTH_USER_MODEL = app name . Modelname

On Sun, Jul 30, 2023, 10:57 AM Mohammad Ehsan Ansari <mdehs...@gmail.com> wrote:
First extend abstract user model or abstract base user model in your user model and after that define auth.model in settings.py hope its work

Sent from my iPhone

On 30-Jul-2023, at 10:45 AM, Abdulrahman Abbas <abdouli...@gmail.com> wrote:


Can you login with superuser?

On Sun, Jul 30, 2023, 02:32 Mh Limon <mhlim...@gmail.com> wrote:
Views.py file 

from django.shortcuts import render,HttpResponse,redirect
from .models import registration
from django.contrib.auth import authenticate,login

def home(request):
    return render(request,'home.html')

def log_in(request):
    if request.method == 'POST':
        username = request.POST.get('username')
        password = request.POST.get('password')

        user = authenticate(request, username=username, password=password)

        if user is not None:
            login(request, user)
            return redirect('home')
        else:
            return HttpResponse("You have incorrect Username or password")

    return render(request, 'log_in.html')


def sign_up(request):
    if request.method == 'POST':
        name = request.POST.get('fullname')
        username = request.POST.get('username')
        email = request.POST.get('email')
        pass1 = request.POST.get('password')
        pass2 = request.POST.get('confirm_password')

        if pass1 != pass2:
            return HttpResponse("Password not matched")
        else:
            db = registration()

            db.Name = name
            db.username = username
            db.Email = email
            db.Password = pass1

            db.save()

            return redirect('log_in')


    return render(request,'sign_up.html')

This is models.py for sqlite database:

from django.db import models

class registration(models.Model):
    Name = models.CharField(max_length=100)
    username = models.CharField(max_length=100)
    Email = models.CharField(max_length=100)
    Password = models.CharField(max_length=100)


when providing the correct username and password, the system consistently displays an error message stating "You have incorrect Username or password."

please help me to solve this error.



--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4003937f-9045-4cea-bd6c-b071d7b1a6c3n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGGqo0MMu55nqSSKhW2%2BjGgGCGf62JJoBuCZA2wgK3NONCxzCg%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/080b9766-217a-488b-be58-8f3f6b3662d8n%40googlegroups.com.

Re: TabularInline

If I understand you wish to have a readonly table view which switches inline to a 'normal' edit view.
I wonder if you could set - has_change_permission back to True in some way?
Could be handy. If you figure it out post here.

On Sunday, 30 July 2023 at 17:33:55 UTC+1 Tolga ÇAĞLAYAN wrote:
Yes, it looks like this table. But how do I make an insertion, deletion, edit here in the normal way. When I press the Add button, I want the page to open to add data here. Thanks for your answer


30 Temmuz 2023 Pazar tarihinde saat 18:15:17 UTC+2 itibarıyla Parthian şunları yazdı:
Try this
class YourModelInline(admin.TabularInline):
    model = YourModel
    fields = ('fields', )
    extra = 0 # looks neater without extras.
    show_change_link = True # puts an icon on the left of each row to edit the row.

    def has_change_permission(self, request, obj=None):
        return False # MAKES EVERYTHING READONLY. AWESOME.
    def has_delete_permission(self, request, obj=None):
        return False # option
    def has_add_permission(self, request, obj=None):
        return False # option
On Sunday, 30 July 2023 at 02:32:51 UTC+1 Tolga ÇAĞLAYAN wrote:
This is what tabularinline looks like. I want a table here instead. I want it to work like normal CRUD. Anyone have an idea about this? 

I don't want that
Ekran görüntüsü 2023-07-29 214456.png
I  want like this
Ekran görüntüsü 2023-07-29 214733.png

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/dd1f2f4e-39fb-4252-82fe-ae69ecd530e3n%40googlegroups.com.

Re: TabularInline

Yes, it looks like this table. But how do I make an insertion, deletion, edit here in the normal way. When I press the Add button, I want the page to open to add data here. Thanks for your answer


30 Temmuz 2023 Pazar tarihinde saat 18:15:17 UTC+2 itibarıyla Parthian şunları yazdı:
Try this
class YourModelInline(admin.TabularInline):
    model = YourModel
    fields = ('fields', )
    extra = 0 # looks neater without extras.
    show_change_link = True # puts an icon on the left of each row to edit the row.

    def has_change_permission(self, request, obj=None):
        return False # MAKES EVERYTHING READONLY. AWESOME.
    def has_delete_permission(self, request, obj=None):
        return False # option
    def has_add_permission(self, request, obj=None):
        return False # option
On Sunday, 30 July 2023 at 02:32:51 UTC+1 Tolga ÇAĞLAYAN wrote:
This is what tabularinline looks like. I want a table here instead. I want it to work like normal CRUD. Anyone have an idea about this? 

I don't want that
Ekran görüntüsü 2023-07-29 214456.png
I  want like this
Ekran görüntüsü 2023-07-29 214733.png

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/17026885-1913-417e-88f4-f0d44b8dec45n%40googlegroups.com.

Re: TabularInline

Try this
class YourModelInline(admin.TabularInline):
    model = YourModel
    fields = ('fields', )
    extra = 0 # looks neater without extras.
    show_change_link = True # puts an icon on the left of each row to edit the row.

    def has_change_permission(self, request, obj=None):
        return False # MAKES EVERYTHING READONLY. AWESOME.
    def has_delete_permission(self, request, obj=None):
        return False # option
    def has_add_permission(self, request, obj=None):
        return False # option
On Sunday, 30 July 2023 at 02:32:51 UTC+1 Tolga ÇAĞLAYAN wrote:
This is what tabularinline looks like. I want a table here instead. I want it to work like normal CRUD. Anyone have an idea about this? 

I don't want that
Ekran görüntüsü 2023-07-29 214456.png
I  want like this
Ekran görüntüsü 2023-07-29 214733.png

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/aafddef3-d10d-46be-9128-00601c21e4dfn%40googlegroups.com.

Ynt: Problems in Django login authentication

Password should be hash not just string

 

Windows için Posta ile gönderildi

 

Kimden: Mh Limon
Gönderilme: 30 Temmuz 2023 Pazar 04:32
Kime: Django users
Konu: Problems in Django login authentication

 

Views.py file 

 

from django.shortcuts import render,HttpResponse,redirect

from .models import registration

from django.contrib.auth import authenticate,login

 

def home(request):

    return render(request,'home.html')

 

def log_in(request):

    if request.method == 'POST':

        username = request.POST.get('username')

        password = request.POST.get('password')

 

        user = authenticate(request, username=username, password=password)

 

        if user is not None:

            login(request, user)

            return redirect('home')

        else:

            return HttpResponse("You have incorrect Username or password")

 

    return render(request, 'log_in.html')

 

def sign_up(request):

    if request.method == 'POST':

        name = request.POST.get('fullname')

        username = request.POST.get('username')

        email = request.POST.get('email')

        pass1 = request.POST.get('password')

        pass2 = request.POST.get('confirm_password')

 

        if pass1 != pass2:

            return HttpResponse("Password not matched")

        else:

            db = registration()

 

            db.Name = name

            db.username = username

            db.Email = email

            db.Password = pass1

 

            db.save()

 

            return redirect('log_in')

 

    return render(request,'sign_up.html')

 

This is models.py for sqlite database:

from django.db import models

 

class registration(models.Model):

    Name = models.CharField(max_length=100)

    username = models.CharField(max_length=100)

    Email = models.CharField(max_length=100)

    Password = models.CharField(max_length=100)

 

 

when providing the correct username and password, the system consistently displays an error message stating "You have incorrect Username or password."

please help me to solve this error.

 

 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4003937f-9045-4cea-bd6c-b071d7b1a6c3n%40googlegroups.com.

 

Saturday, July 29, 2023

Re: Problems in Django login authentication

Use default django user model 

from django.contrib.auth.models import User
# Create your models here.
class Registration (models.Model):
    author = models.ForeignKey(User, on_delete=models.CASCADE)
    
# write your fields here



In settings.py


AUTH_USER_MODEL = app name . Modelname

On Sun, Jul 30, 2023, 10:57 AM Mohammad Ehsan Ansari <mdehsan873@gmail.com> wrote:
First extend abstract user model or abstract base user model in your user model and after that define auth.model in settings.py hope its work

Sent from my iPhone

On 30-Jul-2023, at 10:45 AM, Abdulrahman Abbas <abdouliabbas75@gmail.com> wrote:


Can you login with superuser?

On Sun, Jul 30, 2023, 02:32 Mh Limon <mhlimon571@gmail.com> wrote:
Views.py file 

from django.shortcuts import render,HttpResponse,redirect
from .models import registration
from django.contrib.auth import authenticate,login

def home(request):
    return render(request,'home.html')

def log_in(request):
    if request.method == 'POST':
        username = request.POST.get('username')
        password = request.POST.get('password')

        user = authenticate(request, username=username, password=password)

        if user is not None:
            login(request, user)
            return redirect('home')
        else:
            return HttpResponse("You have incorrect Username or password")

    return render(request, 'log_in.html')


def sign_up(request):
    if request.method == 'POST':
        name = request.POST.get('fullname')
        username = request.POST.get('username')
        email = request.POST.get('email')
        pass1 = request.POST.get('password')
        pass2 = request.POST.get('confirm_password')

        if pass1 != pass2:
            return HttpResponse("Password not matched")
        else:
            db = registration()

            db.Name = name
            db.username = username
            db.Email = email
            db.Password = pass1

            db.save()

            return redirect('log_in')


    return render(request,'sign_up.html')

This is models.py for sqlite database:

from django.db import models

class registration(models.Model):
    Name = models.CharField(max_length=100)
    username = models.CharField(max_length=100)
    Email = models.CharField(max_length=100)
    Password = models.CharField(max_length=100)


when providing the correct username and password, the system consistently displays an error message stating "You have incorrect Username or password."

please help me to solve this error.



--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4003937f-9045-4cea-bd6c-b071d7b1a6c3n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGGqo0MMu55nqSSKhW2%2BjGgGCGf62JJoBuCZA2wgK3NONCxzCg%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/BF995111-54EC-4CD1-A3E8-FE4F35AE49B1%40gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMCU6CrPDJKA0riTFhZcPLp8MAhqRs3-XZiDrgZNF2PNWAz2Zw%40mail.gmail.com.

Re: Problems in Django login authentication

First extend abstract user model or abstract base user model in your user model and after that define auth.model in settings.py hope its work

Sent from my iPhone

On 30-Jul-2023, at 10:45 AM, Abdulrahman Abbas <abdouliabbas75@gmail.com> wrote:


Can you login with superuser?

On Sun, Jul 30, 2023, 02:32 Mh Limon <mhlimon571@gmail.com> wrote:
Views.py file 

from django.shortcuts import render,HttpResponse,redirect
from .models import registration
from django.contrib.auth import authenticate,login

def home(request):
    return render(request,'home.html')

def log_in(request):
    if request.method == 'POST':
        username = request.POST.get('username')
        password = request.POST.get('password')

        user = authenticate(request, username=username, password=password)

        if user is not None:
            login(request, user)
            return redirect('home')
        else:
            return HttpResponse("You have incorrect Username or password")

    return render(request, 'log_in.html')


def sign_up(request):
    if request.method == 'POST':
        name = request.POST.get('fullname')
        username = request.POST.get('username')
        email = request.POST.get('email')
        pass1 = request.POST.get('password')
        pass2 = request.POST.get('confirm_password')

        if pass1 != pass2:
            return HttpResponse("Password not matched")
        else:
            db = registration()

            db.Name = name
            db.username = username
            db.Email = email
            db.Password = pass1

            db.save()

            return redirect('log_in')


    return render(request,'sign_up.html')

This is models.py for sqlite database:

from django.db import models

class registration(models.Model):
    Name = models.CharField(max_length=100)
    username = models.CharField(max_length=100)
    Email = models.CharField(max_length=100)
    Password = models.CharField(max_length=100)


when providing the correct username and password, the system consistently displays an error message stating "You have incorrect Username or password."

please help me to solve this error.



--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4003937f-9045-4cea-bd6c-b071d7b1a6c3n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGGqo0MMu55nqSSKhW2%2BjGgGCGf62JJoBuCZA2wgK3NONCxzCg%40mail.gmail.com.