Re: unable to import django packages

2019-06-19 Thread Lutalo Bbosa joseph
i think its more of a vscode issue probably some django paackages need to
be activated in pylint

On Wed, Jun 19, 2019 at 5:08 AM Aldian Fazrihady  wrote:

> Has the IDE used the same python environment with the one having Django
> module installed?
>
> Aldian Fazrihady
>
>
> On Wed, 19 Jun 2019, 05:42 KUMBHAGIRI SIVAKRISHNA, <
> kumbhagirish...@gmail.com> wrote:
>
>> hi,
>> I just django started ,when I run my application ,it gives errors as
>> shown in figure
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/3b8538ef-0167-4e3b-a42b-8e4047da322e%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAN7EoAbRPj7LmQYDib9VxE%3DfejEGnr3OYeOBfygC3cCTgp51MA%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMz%3Dh%3DQaEKj7rehkCPL0%3DArYSr-LVZ4s2mTnDjiGCg8L-iXgkg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to store a bank account number generated into a model field

2019-06-19 Thread 'Ying Yu' via Django users
You could try the CharField to store the account number. Also, it is better 
to store the balance as FloatField

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/594e007f-dfc3-4ce5-9e2a-af6b5a7a1879%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ManyToMany no Model

2019-06-19 Thread Sipum Mishra
Ggt yano jika teme sulo faso tadan siku.
Lhggg

On Wed, 19 Jun, 2019, 5:55 PM Christian Oliveira, <
christianoliveir...@gmail.com> wrote:

> Bom dia, como posso fazer para acessar os dados de uma tabela derivada de
> um ManyToMany??
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/8ebadc27-79d9-46f8-89c0-19b9a875b9b5%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGHZBzzf%2BSR%3DSdyBzhwOp2DfawUJNfmAMiyFETh2CwmwDLN%3Dxw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


API Root doesn't have has_permissions with JWT_Authentication

2019-06-19 Thread Yoo
https://stackoverflow.com/questions/56673987/api-root-doesnt-have-has-permissions-with-jwt-authentication
Someone please help. I have a feeling that because of this error, in 
production, there'll be a security flaw because of this attribute 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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/cbc20126-ec4c-46e1-a6a8-47bccce08a3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to store a bank account number generated into a model field

2019-06-19 Thread Dennis Alabi
I tried but i don't seem to be getting it, please help

Views.py
from django.contrib import messages
from django.contrib.auth.decorators import login_required
from django.http import Http404
from django.shortcuts import render, redirect
from .forms import DepositForm, WithdrawalForm
from users.models import Profile 
import random
from . import models

def random_gen():
# return a 10 digit random number
return int(random.uniform(10, 99))


def index(request):
try:
curr_user = Profile.objects.get(user=request.user) # getting details of 
current user
except:
# if no details exist (new user), create new details
curr_user = Profile()
curr_user.account_number = random_gen() # random account number for every 
new user
curr_user.balance = 0
curr_user.user = request.user
curr_user.save()
return render(request, "users/profile.html", {"curr_user": curr_user})

*models.py*
from django.db import models
from django.contrib.auth.models import User
from PIL import Image



class Profile(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE)
image = models.ImageField(default='default.jpg', upload_to='profile_pics')
account_number = models.IntegerField(blank=False,null=False)
balance = models.IntegerField(blank=False,null=False)

def __str__(self):
return f'{self.user.username} Profile'

def save(self, *args, **kwargs):
super(Profile, self).save(*args, **kwargs)

img = Image.open(self.image.path)

if img.height > 300 or img.width > 300:
output_size = (150, 150)
img.thumbnail(output_size)
img.save(self.image.path)













-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9fc94f46-9826-4d85-ab98-ebbb50dad5d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to access manytomany field content

2019-06-19 Thread Андрей Сердюк
So You should to show Your template first and use ModelForm to inherit it with 
model You need in meta options.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/fcfa9fa3-8a7a-4626-b711-b4312da1c44f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to access manytomany field content

2019-06-19 Thread Alagiri Rajesh
Hi @Андрей Сердюк,

Thank you for quick response. 

Some clarifications please?

So you are saying that i need to create a new class for the category? the 
current code for one of my app where i am using category field is as below:

class Listing(models.Model):
> user= models.ForeignKey(User, default=1, null=True, 
> on_delete=models.SET_NULL)
> title   = models.CharField(max_length=120)
> description = models.TextField()
> phone_number= PhoneNumberField(blank=True, null=True)
> fax_number  = PhoneNumberField(blank=True, null=True)
> null=True)
> address1= models.ForeignKey(Address, on_delete=models.CASCADE, 
> related_name='addresses', blank=False, null=False)
> address2= AddressField(related_name='Address', 
> on_delete=models.CASCADE, blank=False, null=False)
> created_date= models.DateTimeField(auto_now=False, 
> auto_now_add=True, null=False, blank=True)
> updated = models.DateTimeField(auto_now=True)
> timestamp   = models.DateTimeField(auto_now_add=True)
> # category= models.ForeignKey(category, 'category.Category', 
> help_text='Categorize this item.')
> categories  = models.ManyToManyField('category.Category', 
> help_text='Categorize this item.')
> tags= models.ManyToManyField('category.Tag', 
> help_text='Tag this item.')
> slug= AutoSlugField(populate_from='title', unique=True, 
> null=False, blank=False)
>

I do not have a class for Category. I assumed that the django-category app 
would have it?

Also if i am to retrieve individual or multiple categories / tags related 
to the listing, how do i show the field in the form and also on the 
frontend?

Have currently tried to use "{{ Listing.Category.slug }}" / "{{ 
Listing.Category.title }}" these does not show up on the front end. It 
shows up blank. screen shot below. 


Please advice.

On Wednesday, 19 June 2019 21:10:37 UTC+5:30, Андрей Сердюк wrote:
>
> Hi, if Your code looks like this: 
>
> class Category(models.Model): 
> name = models.CharField(maxlength=32) 
> pass 
>
> class Goods(models.Model): 
> categories = models.ManyToManyField(Category, 
> on_delete=models.CASCADE) 
>
> You would get it with this code: 
> category = Category.objects.get(pk=23) 
> goods = category.goods_set.all() 
> - it returns queryset of instances, which depends on category with pk=23. 
> Or like that: 
> item = Goods.objects.get(pk=1) 
> categories = item.categories.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1d26ea00-5cca-4e66-b66b-808df8397eaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to access manytomany field content

2019-06-19 Thread Андрей Сердюк
Hi, if Your code looks like this:

class Category(models.Model):
name = models.CharField(maxlength=32)
pass

class Goods(models.Model):
categories = models.ManyToManyField(Category, on_delete=models.CASCADE)

You would get it with this code:
category = Category.objects.get(pk=23)
goods = category.goods_set.all() 
- it returns queryset of instances, which depends on category with pk=23.
Or like that:
item = Goods.objects.get(pk=1)
categories = item.categories.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/efad969d-1311-4570-a4b8-ace51d9e8cea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[HELP] My applications objects are not related

2019-06-19 Thread Julien Mongault
Hello,
I start by saying that english is not my main language and I am sorry if I 
made mistakes.

I have an old app in Django 1.2 and I need to update it to Django 2.2.
I have made a lot of change to be hable to run the application in Django 
2.2 but I have an issue..
In my project there is 2 apps. One named documents and an another named 
gestion.
And when I want to see the informations of my objects in the app document, 
I can see only the informations related to documents:

[image: bug.JPG]

"UID" is an object from documents and "formation" and "stagiaire" are from 
gestion


Do you know what that can come from? if you have an idea I'll take it! 
Thank youu

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c86ec19f-2af5-4590-9546-7ac95fa254b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: IndexError: Number of args exceeds number of fields

2019-06-19 Thread Ezequias Rocha
I got the answare Simon. Thank you so much for your attention.

I did a mistake on my MyClassAdmin definition.

Best regards
Ezequias

On Wednesday, June 19, 2019 at 10:50:47 AM UTC-3, Simon Charette wrote:
>
> It's hard to tell without the full traceback but Django 1.11 doesn't 
> support Python 3.7 so it'd
> start by either using Django 2.2 or downgrading to Python 3.6
>
> Cheers,
> Simon
>
> Le mercredi 19 juin 2019 08:16:51 UTC-4, Ezequias Rocha a écrit :
>>
>> Hi everyone
>>
>> I am doing a modeling of my database on DJANGO and after almost 10 tables 
>> I did another model configuration and after making my 
>> *admin.site.register(baseclass, 
>> basecalassAdmin)* I got the following error message:
>>
>>
>> *IndexError: Number of args exceeds number of fields*
>>
>> Could anyone tell me what could be wrong with that?
>>
>> I am using Python 3.7.2 and Django 1.11
>>
>> Regards.
>>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3ea11b2d-9e3f-4a7b-ad3b-02026b952b48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Vicious cycle: Cannot migrate a DB that uses a widget using a model

2019-06-19 Thread Simon Charette
Hello Victor,

You should avoid performing database queries at module loading level as the 
code will
necessary crash if the database is missing or unmigrated.

I suggest you lazily define widgets instead by using a cached property[0]

class PlaceWidget(widgets.MultiWidget):
def __init__(self, attrs=None):
# Bypass MultiWidget.__init__ to allow lazy definition of widgets.
super(widgets.MultiWidget, self).__init__(attrs)

@cached_property
def widgets(self):
return (
... # the _widgets you defined in your __init__.
)

This should make sure the Country.objects.order_by('name') query is only 
executed
when .widgets is accessed for the first time on a PlaceWidget instance 
instead of at
initialization time.

Cheers,
Simon

[0] 
https://docs.djangoproject.com/en/2.2/topics/performance/#cached-property

Le mercredi 19 juin 2019 09:40:23 UTC-4, Victor Porton a écrit :
>
> When I try to migrate my project from empty DB state, it falls into a 
> vicious cycle: Trying to migrate it requests Country.objects.all() because 
> it has form fields using PlaceWidget but this requires it to be already 
> migrated.
>
> How to solve this problem?
>
> class PlaceWidget(widgets.MultiWidget):
> template_name = 'core/widgets/placewidget.html'
>
> class Media:
> js = ('js/placewidget.js',)
>
> def __init__(self, attrs=None):
> _widgets = (
> widgets.Select(choices=[('', '-')] + [(c.pk, c.name) for c in 
> Country.objects.all().order_by('name')],
>attrs={'onchange': "update_places_list(1)", 
> **(attrs or {})}),
> widgets.Select(choices=[('', '-')],
>attrs={'onchange': "update_places_list(2)", 
> **(attrs or {})}),
> widgets.Select(choices=[('', '-')],
>attrs={'onchange': "update_places_list(3)", 
> **(attrs or {})}),
> widgets.Select(choices=[('', '-')],
>attrs={'onchange': "update_places_list(4)", 
> **(attrs or {})}),
> widgets.Select(choices=[('', '-')])
> )
> super().__init__(_widgets, attrs)
>
> def decompress(self, value):
> if value:
> return [value['country'].pk if value['country'] else None,
> value['region'].pk if value['region'] else None,
> value['subregion'].pk if value['subregion'] else None,
> value['city'].pk if value['city'] else None,
> value['district'].pk if value['district'] else None]
> return [None, None, None, None, None]
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/adea5661-b99d-400d-a0f5-cffbaf667abc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: IndexError: Number of args exceeds number of fields

2019-06-19 Thread Simon Charette
It's hard to tell without the full traceback but Django 1.11 doesn't 
support Python 3.7 so it'd
start by either using Django 2.2 or downgrading to Python 3.6

Cheers,
Simon

Le mercredi 19 juin 2019 08:16:51 UTC-4, Ezequias Rocha a écrit :
>
> Hi everyone
>
> I am doing a modeling of my database on DJANGO and after almost 10 tables 
> I did another model configuration and after making my 
> *admin.site.register(baseclass, 
> basecalassAdmin)* I got the following error message:
>
>
> *IndexError: Number of args exceeds number of fields*
>
> Could anyone tell me what could be wrong with that?
>
> I am using Python 3.7.2 and Django 1.11
>
> Regards.
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/596f1e9a-0b87-4a89-ab1a-46a995109c51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Vicious cycle: Cannot migrate a DB that uses a widget using a model

2019-06-19 Thread Victor Porton
When I try to migrate my project from empty DB state, it falls into a 
vicious cycle: Trying to migrate it requests Country.objects.all() because 
it has form fields using PlaceWidget but this requires it to be already 
migrated.

How to solve this problem?

class PlaceWidget(widgets.MultiWidget):
template_name = 'core/widgets/placewidget.html'

class Media:
js = ('js/placewidget.js',)

def __init__(self, attrs=None):
_widgets = (
widgets.Select(choices=[('', '-')] + [(c.pk, c.name) for c in 
Country.objects.all().order_by('name')],
   attrs={'onchange': "update_places_list(1)", **(attrs 
or {})}),
widgets.Select(choices=[('', '-')],
   attrs={'onchange': "update_places_list(2)", **(attrs 
or {})}),
widgets.Select(choices=[('', '-')],
   attrs={'onchange': "update_places_list(3)", **(attrs 
or {})}),
widgets.Select(choices=[('', '-')],
   attrs={'onchange': "update_places_list(4)", **(attrs 
or {})}),
widgets.Select(choices=[('', '-')])
)
super().__init__(_widgets, attrs)

def decompress(self, value):
if value:
return [value['country'].pk if value['country'] else None,
value['region'].pk if value['region'] else None,
value['subregion'].pk if value['subregion'] else None,
value['city'].pk if value['city'] else None,
value['district'].pk if value['district'] else None]
return [None, None, None, None, None]


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1f97161d-04bc-47be-aecb-1c3796bfdae7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to access manytomany field content

2019-06-19 Thread Alagiri Rajesh
Hi I am using the "Django Category" app 
 
(https://github.com/praekelt/django-category)

I have installed the same and also have implemented the same. How do i 
access the category title and other details. Have tried to use the 
documentation but using "Category.title" shows up blank. 

Also have tried multiple combinations but it does not work. 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2ff0d083-4135-49b0-8b7e-9d78098295d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ManyToMany no Model

2019-06-19 Thread Christian Oliveira
Bom dia, como posso fazer para acessar os dados de uma tabela derivada de 
um ManyToMany??

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8ebadc27-79d9-46f8-89c0-19b9a875b9b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


IndexError: Number of args exceeds number of fields

2019-06-19 Thread Ezequias Rocha
Hi everyone

I am doing a modeling of my database on DJANGO and after almost 10 tables I 
did another model configuration and after making my 
*admin.site.register(baseclass, 
basecalassAdmin)* I got the following error message:


*IndexError: Number of args exceeds number of fields*

Could anyone tell me what could be wrong with that?

I am using Python 3.7.2 and Django 1.11

Regards.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4ade0d70-5449-453c-b481-66bb2fa09e0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Help with Address app https://github.com/furious-luke/django-address

2019-06-19 Thread Alagiri Rajesh
Hi I am trying to link the address app 
. When i follow the 
instruction on the doc it says to just add as below 

  from address.models import AddressField
>
>   class MyModel(models.Model):
> address1 = AddressField()
> address2 = AddressField(related_name='+', blank=True, null=True)
>
>
which i have tried to follow as below:

from address.models import AddressField, Address
>
> address1= AddressField()
> address2= AddressField(related_name='+', blank=True, null=True)
>

and 

address1= models.ForeignKey(Address, on_delete=models.CASCADE, 
> related_name='addresses', blank=False, null=False)
> address2= AddressField(related_name='Address', 
> on_delete=models.CASCADE, blank=False, null=False)
>

but i am unable to get it to work. Where it has a google api which starts 
with "None" for everything else it shows the plain text field like on the 
screenshot below. 


Also if someone could help me as to how do i go about getting the 
individual fields within the address app to display no the template should 
be create. Thank you very much for the help in advice. 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/07fbabce-a772-45ee-8794-34e39c9824e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.