Django Login Secret key

2019-07-09 Thread Sebastian Jung
Hello,

I want in my Login Page a further field Secret Key. This Input ist replacement 
dir Secret Key in settings.py. Ist this possible? Can someone explain me how?

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/d8ec843c-0de4-4e20-b264-7fd45d455777%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: linking different wepages

2019-07-09 Thread Chetan Ganji
Because the href is relative to the current page. Use url tag of django
templates. That will solve your problemo.

On Mon, Jul 8, 2019, 9:20 PM Surya Adhikari  wrote:

> my nav menu have 2 menus :
> Home ,  Search Names
>
> ie. from index page when i click student from Sub menu of Search names  ,
> it will redirects search.html after
> if i click again teacher from search.html it will redirects to
> search.html/ search1.html rather then search1.html only.
>
> it works normal only from index page.
>  i am inheriting the nav menu from index page to all of other pages.
> what am i doing wrong ?
>
> 
>
>   Home
>
>   
> Search Names
>   
> 
> 
>   student
>   teachers
>   non teaching
>  
>
> --
> 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/3bf58350-5f27-4b88-b803-1694ada2d6a6%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/CAMKMUjvtuAgT9LjRzb89LpPWnFq5wru4K6SGsVbaVhWjOr3XjQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django post request faild on user_id

2019-07-09 Thread Chetan Ganji
Please paste the whole view so that someone can help you.

On Tue, Jul 9, 2019, 5:34 PM Aayush Bhattarai 
wrote:

> Hello, My Question is here.
> It will be better if you give me a full answer.
>
> https://stackoverflow.com/questions/56919062/insert-or-update-on-table-app-job-violates-foreign-key-constraint-app-job-use
>
> Thanks for your help.
>
> --
> 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/1abdfbbf-f1e9-492e-86e8-f03c385410e6%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/CAMKMUju_V%3DCG7a1T-eWLMfeTp5o_%2BO_fm2Dh%2B%3D3GyT337fH6WQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Redireccionamiento

2019-07-09 Thread samuel lopez
Tengo un problema con los links y es que todo está bien internamente osea
los tags, urls, views y todo, pero cuando le doy click al botón o al enlace
del nav o cualquier otro, no me redirecciona pero si le doy a abrir en otra
ventana, me redirecciona correctamente y en el navegador de Chrome cuando
pongo el puntero por encima del link se visualiza la dirección del enlace
pero no redirecciona en la misma página, repito en una página externa a
esta , redirecciona correctamente. Alguien me podría ayudar con este
problemita. (No tengo ningún opcion del Tag a osea link activa, todo normal)

-- 
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/CAOt0vAztS4z4-XdStoQ6WJ5LSoe2UP7MM0RFRVp0aPiJjM3KzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to set timezone in Django.

2019-07-09 Thread Paul Gureghian
I used  "America / Los_Angeles , and it worked. thanks 

On Tuesday, July 9, 2019 at 1:43:20 PM UTC-7, M. A wrote:
>
> 'PST' is not available in pytz
>
> The Pacific available timezones are :
>
> 'PST8PDT'
> 'Pacific/Apia'
> 'Pacific/Auckland'
> 'Pacific/Bougainville'
> 'Pacific/Chatham'
> 'Pacific/Chuuk'
> 'Pacific/Easter'
> 'Pacific/Efate'
> 'Pacific/Enderbury'
> 'Pacific/Fakaofo'
> 'Pacific/Fiji'
> 'Pacific/Funafuti'
> 'Pacific/Galapagos'
> 'Pacific/Gambier'
> 'Pacific/Guadalcanal'
> 'Pacific/Guam'
> 'Pacific/Honolulu'
> 'Pacific/Johnston'
> 'Pacific/Kiritimati'
> 'Pacific/Kosrae'
> 'Pacific/Kwajalein'
> 'Pacific/Majuro'
> 'Pacific/Marquesas'
> 'Pacific/Midway'
> 'Pacific/Nauru'
> 'Pacific/Niue'
> 'Pacific/Norfolk'
> 'Pacific/Noumea'
> 'Pacific/Pago_Pago'
> 'Pacific/Palau'
> 'Pacific/Pitcairn'
> 'Pacific/Pohnpei'
> 'Pacific/Ponape'
> 'Pacific/Port_Moresby'
> 'Pacific/Rarotonga'
> 'Pacific/Saipan'
> 'Pacific/Samoa'
> 'Pacific/Tahiti'
> 'Pacific/Tarawa'
> 'Pacific/Tongatapu'
> 'Pacific/Truk'
> 'Pacific/Wake'
> 'Pacific/Wallis'
> 'Pacific/Yap'
>
>

-- 
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/ce788c0a-acba-4675-b637-4cce3104b1ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: NEWBIE

2019-07-09 Thread vineet daniel
First of all its Django and not Gjango and rather than getting mastery over
a framework in two months Id suggest that you start with python or any
programming language which has OOPs. If you are not sure what that is then
start from very basic of programming. There is no shortcut to success. Have
patience and prepare for a lot of efforts and time. Once you are
comfortable with basics of programming then bump this question again. Best
of luck.

On Tue, 9 Jul 2019, 16:30 Afotro Ben,  wrote:

> Hello,i am new to programming and want to take learn and master web
> development with Gjango.Can anyone here tell me what it takes to doing it
> in 2 months?
>
> --
> 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/db91f5d5-c494-4d34-8188-3e9b4279cf3d%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/CAJPbAW8jktY7hG2u5-7-qRKEiK9Dbk%2BB6x%3Deapv2ArB77fUL8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to set timezone in Django.

2019-07-09 Thread M. A
'PST' is not available in pytz

The Pacific available timezones are :

'PST8PDT'
'Pacific/Apia'
'Pacific/Auckland'
'Pacific/Bougainville'
'Pacific/Chatham'
'Pacific/Chuuk'
'Pacific/Easter'
'Pacific/Efate'
'Pacific/Enderbury'
'Pacific/Fakaofo'
'Pacific/Fiji'
'Pacific/Funafuti'
'Pacific/Galapagos'
'Pacific/Gambier'
'Pacific/Guadalcanal'
'Pacific/Guam'
'Pacific/Honolulu'
'Pacific/Johnston'
'Pacific/Kiritimati'
'Pacific/Kosrae'
'Pacific/Kwajalein'
'Pacific/Majuro'
'Pacific/Marquesas'
'Pacific/Midway'
'Pacific/Nauru'
'Pacific/Niue'
'Pacific/Norfolk'
'Pacific/Noumea'
'Pacific/Pago_Pago'
'Pacific/Palau'
'Pacific/Pitcairn'
'Pacific/Pohnpei'
'Pacific/Ponape'
'Pacific/Port_Moresby'
'Pacific/Rarotonga'
'Pacific/Saipan'
'Pacific/Samoa'
'Pacific/Tahiti'
'Pacific/Tarawa'
'Pacific/Tongatapu'
'Pacific/Truk'
'Pacific/Wake'
'Pacific/Wallis'
'Pacific/Yap'

-- 
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/68a22102-b2f0-4f8b-9f3f-3e4c334e6f93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Django bug: change uuid field to FK does not create dependency

2019-07-09 Thread Viktor Lomakin
Hi! I am new in django community, so please help me, because i really dont 
know is it really "bug".

I have a django project named "testproject" and two apps: testapp1, 
testapp2.

It will be simpler to understand, with this example:

# TestApp1(models.py):

class App1(models.Model):
id = models.UUIDField(primary_key=True, unique=True, 
default=uuid.uuid4, editable=False, verbose_name=_('identifier'))
text = models.CharField(max_length=100, verbose_name=_('text'))
another_app = models.UUIDField(null=True, blank=True, 
verbose_name=_('another app'))

# TestApp2(models.py):

class App2(models.Model):
id = models.UUIDField(primary_key=True, unique=True, 
default=uuid.uuid4, editable=False, verbose_name=_('identifier'))
text = models.CharField(max_length=100, verbose_name=_('text'))

First model named "App1" has UUID field named "another_app":

-  another_app = models.UUIDField(null=True, blank=True, 
verbose_name=_('another app'))

After some time i change field from UUID to FK, like this: 

- another_app = models.ForeignKey(App2, null=True, blank=True, 
on_delete=models.SET_NULL, verbose_name=_('another app'))

And as result i create new migration, but Migration class was unexpected 
result, because it does not create any "dependencies".

I think the correct solution will be create dependency for App2.

This project use django version 2.2 and postgresql. Attach archive with 
sources. Project contains small test, after running him, you will get 
exception like this: ValueError: Related model 'testapp2.App2' cannot be 
resolved.

So is it problem in django or maybe i dont understand something ?

Regards, Viktor Lomakin

-- 
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/ce5f0e66-3c32-4132-b5fa-7f03fb6be563%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<>


Help filtering choice_set based on size of set in Django Tutorial

2019-07-09 Thread James Boulger
Hello, I am posting because I am working on the Django documentation 
tutorials and am currently on the testing portion 
(https://docs.djangoproject.com/en/2.2/intro/tutorial05/). 

In this tutorial where we are building the polls application, there is a 
portion where we wish to restrict what pages will render a 404 error based 
on certain conditions, such as whether the the pole has a past or future 
publication date. This is done using the get_queryset() function. They do 
this for both the index page and the detail page.

I assume most people answering this question would be familiar and have 
worked through this tutorial. What I am trying to do is prevent polls 
showing up on the index page or having a detail page based on how many 
choice options they have (obviously, there is no point of showing a poll 
with 0 or 1 options).

Currently my code looks like this in polls/view.py

#

from django.http import HttpResponseRedirect
from django.shortcuts import get_object_or_404, render
from django.urls import reverse
from django.views import generic # for the generic views
from django.utils import timezone

from .models import Choice, Question

class IndexView(generic.ListView):
template_name = 'polls/index.html'
context_object_name = 'latest_question_list'

#def get_queryset(self):
#return Question.objects.order_by('-pub_date')[:5]

def get_queryset(self):
queryset = 
Question.objects.filter(pub_date__lte=timezone.now()).order_by('-pub_date')[:5]
queryset = [question for question in queryset if 
question.choice_set.count() >=2]
return queryset

class DetailView(generic.DetailView):
model = Question
template_name = 'polls/detail.html'

def get_queryset(self):
"""
Excludes any questions that aren't published yet or have zero 
choices.
"""
queryset = Question.objects.filter(pub_date__lte=timezone.now(), )
#queryset = [question for question in queryset if 
question.choice_set.count() >=2]

return queryset

##

The issue is this code works perfectly fine for the index page, but when I 
uncomment the line in the get_queryset() function in the DetailView, I 
obtain this error for any question.


###
Environment:


Request Method: GET
Request URL: http://127.0.0.1:8000/polls/1/

Django Version: 2.2.3
Python Version: 3.6.3
Installed Applications:
['polls.apps.PollsConfig',
 'django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware']



Traceback:

File 
"/home/temporary/Desktop/Django/projects/tut_proj_1/lib/python3.6/site-packages/django/core/handlers/exception.py"
 
in inner
  34. response = get_response(request)

File 
"/home/temporary/Desktop/Django/projects/tut_proj_1/lib/python3.6/site-packages/django/core/handlers/base.py"
 
in _get_response
  115. response = self.process_exception_by_middleware(e, 
request)

File 
"/home/temporary/Desktop/Django/projects/tut_proj_1/lib/python3.6/site-packages/django/core/handlers/base.py"
 
in _get_response
  113. response = wrapped_callback(request, *callback_args, 
**callback_kwargs)

File 
"/home/temporary/Desktop/Django/projects/tut_proj_1/lib/python3.6/site-packages/django/views/generic/base.py"
 
in view
  71. return self.dispatch(request, *args, **kwargs)

File 
"/home/temporary/Desktop/Django/projects/tut_proj_1/lib/python3.6/site-packages/django/views/generic/base.py"
 
in dispatch
  97. return handler(request, *args, **kwargs)

File 
"/home/temporary/Desktop/Django/projects/tut_proj_1/lib/python3.6/site-packages/django/views/generic/detail.py"
 
in get
  106. self.object = self.get_object()

File 
"/home/temporary/Desktop/Django/projects/tut_proj_1/lib/python3.6/site-packages/django/views/generic/detail.py"
 
in get_object
  36. queryset = queryset.filter(pk=pk)

Exception Type: AttributeError at /polls/1/
Exception Value: 'list' object has no attribute 'filter'
###

I am still new to this and I assume it may be due to the difference between 
the generic Listview and the generic DetailView, or some issue with how the 
content of the html templates polls/detail.html or polls/index.html is 
rendered but I have no previous experience with html and only understand 
Python in principle without 

Re: access league by league-code REST api

2019-07-09 Thread omar ahmed
thank you Derek it works
now i read documentation
do you have any advice ?

On Sunday, July 7, 2019 at 10:18:56 AM UTC+2, Derek wrote:
>
> Have you tried without the {'code'}
>
> As per their example:
>
> [image: api1.png]
>
>
> On Thursday, 4 July 2019 23:42:05 UTC+2, omar ahmed wrote:
>>
>> hiii ..
>> i use REST api to get data from "https://www.football-data.org; ..
>> i want to create one view that can restore any league (by league code 
>> like: PL for premier league) not for particular league
>> openleague.html
>> {% block content %}
>> 
>> Premier League
>> Spanish League
>> Italian League
>> German League
>> French League
>> 
>> {% endblock %}
>> urls.py
>> urlpatterns =[
>> path('', views.home,name='home'),
>> path('/League', views.openleague, name='openleague'),
>> ]
>> views.py
>> def openleague(request,code):
>> connection = http.client.HTTPConnection('api.football-data.org')
>> headers = { 'X-Auth-Token': '##' }
>> connection.request('GET', '/v2/competitions/{'code'}', None, headers)
>> response = json.loads(connection.getresponse().read().decode())
>>
>> return render(request, 'core/openleague.html', {'response': response})
>>
>

-- 
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/eea36f57-cf13-4e83-9589-f54b80b347d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: E-mail sending... but.. not sending?

2019-07-09 Thread Jani Tiainen
Hi.

Looks like your backend isn't right if you see message in the console.

Also if using gmail you have allowed insecure apps?

ti 9. heinäk. 2019 klo 17.47 grwhumphries 
kirjoitti:

> I've got a bit of a mystery.  I've got a Django Wagtail project with
> Spirit as an added app.   I'm trying to get the e-mail system working...
>
> I've included the following in settings/base.py
> EMAIL_NAME = 'myem...@gmail.com'
>
> EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
> EMAIL_USE_TLS = True
> EMAIL_HOST = 'smtp.gmail.com'
> EMAIL_HOST_USER = EMAIL_NAME
> EMAIL_HOST_PASSWORD = PASSWORD
> EMAIL_PORT = 587
> DEFAULT_FROM_EMAIL = EMAIL_NAME
>
> ADMINS = (
> ('You', EMAIL_NAME),
> )
>
> MANAGERS = ADMINS
>
>
> I then ran the following test
>
> *from django.conf import settings*
> *from django.core.mail import send_mail*
>
> *send_mail('test','test message', 'myem...@gmail.com
> ',['otherem...@gmail.com '])*
>
>
> The output from this in the console suggests the e-mail sent...
>
> Content-Type: text/plain; charset="utf-8"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Subject: test
> From: myem...@gmail.com
> To: otherem...@gmail.com
> Date: Tue, 09 Jul 2019 14:14:42 -
> Message-ID: 
>
> test message
>
> ---
>
>
> However... nothing arrives at the e-mail address.   All email addresses
> and passwords are correct and have been double and triple checked.
>
> Any thoughts on to what I might be missing?
>
> Cheers all.
>
>
>
>
> --
> 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/22baf6e8-f873-4a56-b497-7c90621d90c0%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/CAHn91oc_ajFHnC9Oy77ACQ0Zn-uKnNB09dyYoHwyWSD%3DfNtELQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


E-mail sending... but.. not sending?

2019-07-09 Thread grwhumphries
I've got a bit of a mystery.  I've got a Django Wagtail project with Spirit 
as an added app.   I'm trying to get the e-mail system working... 

I've included the following in settings/base.py
EMAIL_NAME = 'myem...@gmail.com'

EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = EMAIL_NAME
EMAIL_HOST_PASSWORD = PASSWORD 
EMAIL_PORT = 587
DEFAULT_FROM_EMAIL = EMAIL_NAME

ADMINS = (
('You', EMAIL_NAME),
)

MANAGERS = ADMINS


I then ran the following test

*from django.conf import settings*
*from django.core.mail import send_mail*

*send_mail('test','test message', 
'myem...@gmail.com',['otherem...@gmail.com'])*


The output from this in the console suggests the e-mail sent... 

Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: test
From: myem...@gmail.com
To: otherem...@gmail.com
Date: Tue, 09 Jul 2019 14:14:42 -
Message-ID: 

test message
---


However... nothing arrives at the e-mail address.   All email addresses and 
passwords are correct and have been double and triple checked. 

Any thoughts on to what I might be missing?

Cheers all. 




-- 
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/22baf6e8-f873-4a56-b497-7c90621d90c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: cicking to menu in navebar leads another subpage /subpage

2019-07-09 Thread Jani Tiainen
It is explained at least in official tutorial part 3 in very detail.

https://docs.djangoproject.com/en/2.2/intro/tutorial03/


ti 9. heinäk. 2019 klo 16.34 Surya Adhikari 
kirjoitti:

>  Home 
>
> like this also it is not working can you please exaplin me where and how 
> should i use {% url %}
>
>
> On Monday, 8 July 2019 22:26:07 UTC+5:45, Jani Tiainen wrote:
>>
>> Hi.
>>
>> There are two things wrong.
>>
>> First and most important is that you should always use {%url %} template
>> tag to form urls to other django urls and preferably by using named url
>> patterns.
>>
>> Secondly your hardcoded urls are relative. So each time you click link it
>> is appended to current url. If you would have been using url-tag you even
>> wouldn't have this problem.
>>
>> ma 8. heinäk. 2019 klo 18.51 Surya Adhikari 
>> kirjoitti:
>>
>>> i have a menu bar as, HOME   GALLERY
>>> When i click Home its the index page which is being display after when i
>>> click Gallary dropdown menu as  house it redirects to  search.html . BUT
>>> when i  again click hotel it redirects to  127.0.0.1/search/ search1
>>> insted of 127.0.0.1/search1.
>>>
>>>
>>>
>>> i have 3 web pages as:  search.html, search1.html, search2.html. i am
>>> inheriting search.html to all of those HTML file.
>>>
>>> My code:
>>>
>>>
>>>
>>> 
>>>
>>>   Home
>>>
>>>   
>>> Gallary
>>>   
>>> 
>>> 
>>>house
>>>   hotel
>>>   hospital
>>>
>>> 
>>>
>>> --
>>> 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...@googlegroups.com.
>>> To post to this group, send email to django...@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/b9c81c3c-30e0-4b3c-84cc-5316ac408089%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/f1687106-1103-4de8-9e0f-8721054bedd6%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/CAHn91oeOQqw7EHFPhWYF2_OKFGEX-3ghAP-OoCFT0MSREvgJ4A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: cicking to menu in navebar leads another subpage /subpage

2019-07-09 Thread Surya Adhikari


 Home 

like this also it is not working can you please exaplin me where and how should 
i use {% url %}


On Monday, 8 July 2019 22:26:07 UTC+5:45, Jani Tiainen wrote:
>
> Hi.
>
> There are two things wrong.
>
> First and most important is that you should always use {%url %} template 
> tag to form urls to other django urls and preferably by using named url 
> patterns.
>
> Secondly your hardcoded urls are relative. So each time you click link it 
> is appended to current url. If you would have been using url-tag you even 
> wouldn't have this problem.
>
> ma 8. heinäk. 2019 klo 18.51 Surya Adhikari  > kirjoitti:
>
>> i have a menu bar as, HOME   GALLERY   
>> When i click Home its the index page which is being display after when i 
>> click Gallary dropdown menu as  house it redirects to  search.html . BUT  
>> when i  again click hotel it redirects to  127.0.0.1/search/ search1 
>> insted of 127.0.0.1/search1. 
>>
>>
>>
>> i have 3 web pages as:  search.html, search1.html, search2.html. i am 
>> inheriting search.html to all of those HTML file.
>>
>> My code:
>>
>>
>>
>> 
>>
>>   Home
>>  
>>   
>> Gallary 
>>   
>> 
>> 
>>house
>>   hotel
>>   hospital
>>  
>> 
>>
>> -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to django...@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/b9c81c3c-30e0-4b3c-84cc-5316ac408089%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/f1687106-1103-4de8-9e0f-8721054bedd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Trademark search

2019-07-09 Thread Jani Tiainen
Well...

Short answer is yes, no and maybe.

Longer anwer is that you can do that with plain Django. Idea itself is so
simple that it byself doesn't require any magic.

Most if the required building blocks for such an web app has been dealt
with default Django tutorial. If you did that you're already capable of
building similar trademark search site.


ti 9. heinäk. 2019 klo 15.47 Django Dojo  kirjoitti:

> Are there any Django packages or api being used?
>
> On Tuesday, July 9, 2019, Jani Tiainen  wrote:
>
>> Hi.
>>
>> Web page, database and most propably some programming to make search
>> magic happen.
>>
>> ti 9. heinäk. 2019 klo 13.44 Django Dojo 
>> kirjoitti:
>>
>>> Hello,
>>> I’m trying to build a trademark search like:
>>> https://www.trademarkengine.com/free-trademark-search/trademark-search.
>>>
>>> Can someone recommend to me how it’s done
>>>
>>> Thank you
>>>
>>> --
>>> 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/818598b9-54f1-42d6-bb27-98204e68a81a%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/CAHn91odgw1718Sn55-nndb-thXxGcDCkQEZX1o2O4x_64VeG1g%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/CANO9Ro_m_znGmbvu7pTkvWbG2Urv7scsj7JwEuS6oBJGtYHVgQ%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/CAHn91ofhbjDgCvynT1JerdHy2OLTN2k4bD1n8sB1h0vBDrwCqQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Trademark search

2019-07-09 Thread Django Dojo
Are there any Django packages or api being used?

On Tuesday, July 9, 2019, Jani Tiainen  wrote:

> Hi.
>
> Web page, database and most propably some programming to make search magic
> happen.
>
> ti 9. heinäk. 2019 klo 13.44 Django Dojo 
> kirjoitti:
>
>> Hello,
>> I’m trying to build a trademark search like:https://www.
>> trademarkengine.com/free-trademark-search/trademark-search.
>>
>> Can someone recommend to me how it’s done
>>
>> Thank you
>>
>> --
>> 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/818598b9-54f1-42d6-bb27-98204e68a81a%
>> 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/CAHn91odgw1718Sn55-nndb-thXxGcDCkQEZX1o2O4x_64VeG1g%
> 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/CANO9Ro_m_znGmbvu7pTkvWbG2Urv7scsj7JwEuS6oBJGtYHVgQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: CockroachDB & Django

2019-07-09 Thread Jani Tiainen
Hi.

You should setup test environment that runs Django database tests against
your backend. Preferably somewhere visible to public.

That way it would be easier to start figuring out areas of improvement.

ti 9. heinäk. 2019 klo 2.29 'Andy Woods' via Django users <
django-users@googlegroups.com> kirjoitti:

> Hello All!
>
> I'm a product manager at Cockroach Labs
>  working on our SQL product
> area. CockroachDB leverages the Postgres wire protocol to provide
> distributed SQL to our customers. Because we support the same protocol as
> Postgres, we can often take advantage of the drivers, ORMs, and tools
> already created for Postgres with CockroachDB.
>
> Over the years we've seen community interest
>  in making a
> CockroachDB specific implementation of Django. In fact, one of our
> engineers even went so far as to build a working prototype
>  that passes the
> initial Django tutorial.
>
> We are now seeking help from experts in the Django community in advancing
> our prototype to the next level. We would happily welcome contributors to
> our open-source Django prototype.
>
> We'd also love any beta testers who would be willing to give our prototype
> a try and provide feedback to us.
>
> If this is something you might be interested in, please let me know.
>
> Thank you!
>
> Andy
>
> a...@cockroachlabs.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+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/816723fc-bae9-46a3-adce-31cd0f5b40e2%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/CAHn91oco5VCraBwrQB6gMoA%2BhLDXELcgaUdZ-YTcBS8rREiKHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Trademark search

2019-07-09 Thread Jani Tiainen
Hi.

Web page, database and most propably some programming to make search magic
happen.

ti 9. heinäk. 2019 klo 13.44 Django Dojo  kirjoitti:

> Hello,
> I’m trying to build a trademark search like:
> https://www.trademarkengine.com/free-trademark-search/trademark-search.
>
> Can someone recommend to me how it’s done
>
> Thank you
>
> --
> 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/818598b9-54f1-42d6-bb27-98204e68a81a%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/CAHn91odgw1718Sn55-nndb-thXxGcDCkQEZX1o2O4x_64VeG1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: NEWBIE

2019-07-09 Thread Jani Tiainen
And to give some perspective I have been working with Django @work last 10
years and I'm still far from mastering it. I'm pretty good with Django
though.

In other words it really takes a lot. Interns at work do get hang of basics
in about two months but really them to get up to speed takes somewhere
around half a year. And this is for people who do work about 8 hrs day, 5
days a week.

ti 9. heinäk. 2019 klo 14.00 Afotro Ben  kirjoitti:

> Hello,i am new to programming and want to take learn and master web
> development with Gjango.Can anyone here tell me what it takes to doing it
> in 2 months?
>
> --
> 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/db91f5d5-c494-4d34-8188-3e9b4279cf3d%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/CAHn91ochAgLN%3DfoO4DzQCk23wO1rMjVyA6jBK47ywiJeiLww5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Django post request faild on user_id

2019-07-09 Thread Aayush Bhattarai
Hello, My Question is here.
It will be better if you give me a full answer. 
https://stackoverflow.com/questions/56919062/insert-or-update-on-table-app-job-violates-foreign-key-constraint-app-job-use

Thanks for your help.

-- 
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/1abdfbbf-f1e9-492e-86e8-f03c385410e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to set timezone in Django.

2019-07-09 Thread Mike Dewhirst
UTC is a unique timezone independent of any country. It is associated 
exclusively with zero degrees of longitude. It means universal constant time.

You need to research the correct standard code for the timezone you are 
interested in.



Connected by Motorola

Paul Gureghian  wrote:

>Specifically in the official 'polls' tutorial from the docs.  
>
>
>In the 'mysite.settings.py' file.  I changed from 'UTC'  to  'PST' and 'pst' 
>and both faulted. thanks. 
>
>-- 
>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/acfc14aa-21a9-4321-b056-01f4d35a3792%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/39hbqlgepslxba8xu9s5od7k.1562672543394%40email.android.com.
For more options, visit https://groups.google.com/d/optout.


Re: NEWBIE

2019-07-09 Thread Javier Rivera
If you have no previous programing experience, a miracle. If you are 
already proficient with Python two months are enough to get comfortable 
with Django, but you will likely still be far from mastery.


Best regards,

Javier.

O 09/07/19 ás 11:34, Afotro Ben escribiu:
Hello,i am new to programming and want to take learn and master web 
development with Gjango.Can anyone here tell me what it takes to doing 
it in 2 months?


--
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/db91f5d5-c494-4d34-8188-3e9b4279cf3d%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/02fb17a3-1875-d4d7-3ab5-1ca1d6a42b3c%40castroparga.com.
For more options, visit https://groups.google.com/d/optout.


Re: Hi

2019-07-09 Thread Nelson Varela
Yes

-- 
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/44156c4c-10f2-4dd4-bf25-9bf70f20f153%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


NEWBIE

2019-07-09 Thread Afotro Ben
Hello,i am new to programming and want to take learn and master web 
development with Gjango.Can anyone here tell me what it takes to doing it 
in 2 months?

-- 
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/db91f5d5-c494-4d34-8188-3e9b4279cf3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Error when trying to render Folium map on Django Server

2019-07-09 Thread Sabasky



[image: Screenshot - 05_07_2019 , 10_12_37.png][image: Screenshot - 
06_07_2019 , 13_59_04.png] [image: Screenshot - 
06_07_2019 , 13_59_29.png] 


im not sure how to approach getting the html/js to work on the browser 
after the user has submitted their input via the previous html form... I 
have seemed to look everywhere and there are a lot of similar problems with 
solutions but I could not get any to 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/54df0019-5527-4101-8761-f27e1e102afb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Hi

2019-07-09 Thread Paul Gureghian
Can I ask a Django question here ?

-- 
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/52b66249-0aa7-4b9b-89d7-a53cb859245a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to set timezone in Django.

2019-07-09 Thread Paul Gureghian
Specifically in the official 'polls' tutorial from the docs.  

In the 'mysite.settings.py' file.  I changed from 'UTC'  to  'PST' and 
'pst' and both faulted. thanks. 

-- 
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/acfc14aa-21a9-4321-b056-01f4d35a3792%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Trademark search

2019-07-09 Thread Django Dojo
Hello,
I’m trying to build a trademark search 
like:https://www.trademarkengine.com/free-trademark-search/trademark-search.

Can someone recommend to me how it’s done

Thank you

-- 
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/818598b9-54f1-42d6-bb27-98204e68a81a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.