Re: Recognize Tags in templates

2021-10-28 Thread sachinbg sachin
it seems like, use curly encoded  <{}>


thank you
sachin b.g

On Thu, 28 Oct 2021 at 20:18, Keila Z. Carpio T. 
wrote:

> Good morning,
>
> Hello Everybody,
>
> I use the tags to templates but it is being recognized for Server to show
> content
>
>
>
> Please Help me.
>
> Greetings,
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/427f3c64-923a-4d31-89ed-17a5d9536eb8n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61ryYPQySjx5YPduQGxHk%3DkhXiKZe7h5Or-AO6fewfh%3Dbdw%40mail.gmail.com.


Re: SChedule email

2021-07-01 Thread sachinbg sachin
look for the croon jobs or schedulers that may work,

thank you
Sachin b.g

On Thu, 1 Jul 2021 at 18:45, divya murugulla 
wrote:

> i cannot use celery suggest me something different
>
> On Thursday, July 1, 2021 at 6:27:51 PM UTC+5:30 aadil1...@gmail.com
> wrote:
>
>> Use *Django-celery*
>>
>> On Thu, 1 Jul, 2021, 6:23 PM divya murugulla, 
>> wrote:
>>
>>> HI,
>>>
>>> I wanted to schedule a email every jan and aug 6 monthly basis without
>>> celery using settings.py. Can anyone help?
>>>
>>> once in every 6months mail should be triggered
>>>
>>> --
>>>
>> 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/ba849b82-e054-45a8-ae1e-e67cde6b23b5n%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e35ea3bc-2777-4515-b9df-c5ab51d799c2n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61rzqVSbuZLvQ0cHXtjZJKR3hs%2BqzRZs%2BcRmAAChTQvkt9Q%40mail.gmail.com.


Re: User matching query does not exist.

2021-06-12 Thread sachinbg sachin
It means that the data which you are looking for is not exists in that data
base, check properly wether the searching data is exists or not,

Thank you
Sachin b.g

On Sun, 13 Jun, 2021, 6:53 AM Nikeet NA,  wrote:

> There is no user with id 1.
> Wrap this statement inside try catch block :
>user = User.objects.get(id=uid)
>and catch the DoesNotExist exception as except User.DoesNotExist:
>
> On Saturday, 12 June 2021 at 18:13:09 UTC+5:30 shilpa...@gmail.com wrote:
>
>> Environment:
>>
>>
>> Request Method: GET
>> Request URL: http://127.0.0.1:8000/addToCart/1
>>
>> Django Version: 3.2.3
>> Python Version: 3.9.1
>> Installed Applications:
>> ['django.contrib.admin',
>>  'django.contrib.auth',
>>  'django.contrib.contenttypes',
>>  'django.contrib.sessions',
>>  'django.contrib.messages',
>>  'django.contrib.staticfiles',
>>  'MusicalApp.apps.MusicalappConfig',
>>  'CartApp.apps.CartappConfig']
>> 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 (most recent call last):
>>   File
>> "D:\DjangoDemos\venv\lib\site-packages\django\core\handlers\exception.py",
>> line 47, in inner
>> response = get_response(request)
>>   File
>> "D:\DjangoDemos\venv\lib\site-packages\django\core\handlers\base.py", line
>> 181, in _get_response
>> response = wrapped_callback(request, *callback_args,
>> **callback_kwargs)
>>   File "D:\DjangoDemos\CartApp\views.py", line 15, in addToCart
>> user = User.objects.get(id=uid)
>>   File
>> "D:\DjangoDemos\venv\lib\site-packages\django\db\models\manager.py", line
>> 85, in manager_method
>> return getattr(self.get_queryset(), name)(*args, **kwargs)
>>   File "D:\DjangoDemos\venv\lib\site-packages\django\db\models\query.py",
>> line 435, in get
>> raise self.model.DoesNotExist(
>>
>> Exception Type: DoesNotExist at /addToCart/1
>> Exception Value: User matching query does not exist.
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/1b7cff79-a0eb-4559-ab17-1d9d0f701343n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61rz3X4KBT9MJdFOoion0N4UvH0V_YM%3DhQA3DY%2BZzce8o3w%40mail.gmail.com.


Re: Retreive User IP Address and other details through HTML Form

2021-06-03 Thread sachinbg sachin
When we host in server always it shows the our hosted server ip address
,not the users IP address, I tried collecting ip from the request it's
giving the hosted server ip address.

Thanks and regards
Sachin B.G

On Fri, 4 Jun, 2021, 2:16 AM Stephen olumide,  wrote:

> Wow...thanks for the response. Yes we are all on same network in an
> organization. I will send view.py and index.html code later, it's 9:46pm
> here.
> Regards
>
> On Thu, Jun 3, 2021, 6:54 PM Kasper Laudrup  wrote:
>
>> On 03/06/2021 12.04, Stephen olumide wrote:
>> > Hello Everyone,
>> > I need help with my Django web app, see link below
>> > https://caryang.pythonanywhere.com
>>
>> It would be much more useful if you could link to the source code, or
>> even better, the relevant snippets instead.
>>
>> > I need the form to display/populate the following:
>> > - Username
>>
>> No problem. That's available as the "user" attribute on the request
>> object.
>>
>> > - System Name
>>
>> Not sure what you mean by "system name" but you might get what you want
>> from either "HTTP_USER_AGENT" or "REMOTE_HOST" in the META dictionary in
>> the request object. Be aware that these are easily spoofed by the
>> client, so you shouldn't rely on those being valid.
>>
>> > - IP Address
>>
>> Available in "REMOTE_ADDR" in the META dictionary in the request object.
>> Again, this is trivial to spoof so you cannot rely on this being correct.
>>
>> > - MAC Address
>>
>> That's not possible. You might be able to do an ARP lookup if your
>> client happens to be on the same network as your server and might be
>> lucky to get a valid reply, but I wouldn't count on it.
>>
>>
>> Again, that would require the IP address to be correct, which, as
>> already mentioned, you cannot rely on.
>>
>> Since you want to host your code on some hosting provider somewhere
>> else, there's no way you can get that information.
>>
>> Kind regards,
>>
>> Kasper Laudrup
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/django-users/j2FQ_AkdX5U/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/92153d47-91ec-1946-1f6f-d5378c9b3704%40stacktrace.dk
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAF0hcNrybgQdBAVVFS8jvuDfsRVHCRhFubwqX8ncJK2V3aYegA%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61rzF6_jj%3D69N_4zjWovEJE_C8GHDaZ%3DMwfe03O_rXw2Wkw%40mail.gmail.com.


Re: Project Collaboration Team

2020-06-23 Thread sachinbg sachin
i am interested

On Tue, 23 Jun 2020 at 19:49, yashwanth .k  wrote:

> I am interested... my Medium publication on Django ---
> https://medium.com/django-launcher. Regards. Looking forward to
> contributing to your projects.
>
> On Tue, Jun 23, 2020 at 7:38 PM Desh Deepak 
> wrote:
>
>> Interested
>>
>> On Tue, 23 Jun 2020, 9:44 am Shubhanshu Arya, <
>> shubhanshuarya...@gmail.com> wrote:
>>
>>> Hello Everyone,
>>> I want to make a team in which we will make some very good level
>>> projects together. These projects will be very helpful in our interview as
>>> well. Must have prior knowledge about Django/Python. We will do daily
>>> meetings and discuss our project and we will use Github to team
>>> collaborations . If someone is interested to join this team please email me
>>> on shubhanshuarya...@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+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/53b14968-ae6f-428a-be58-5edd290f2487o%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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAJ0m4xhED5x9s1RQGQPC5fzZ_46sqU3ATVeeZ3k%3DaTq1PpctaA%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CALgTQA%2BoZ1pnvnzUHGyf8ALpRp8W5ogrPwLOkTPX3SLKGCApwQ%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61rzehdWqt_u_kWU7iH9_d6tTW8A4PwqrHe90tbfnYiOB4Q%40mail.gmail.com.


Re: Unit Testing POST request

2020-02-13 Thread sachinbg sachin
Fistly for setup create use instance for setup user credentials then call
that the reverse url in that post put delite

On Thu, Feb 13, 2020, 8:01 PM Adam Mičuda  wrote:

> Hi,
> or you can extract the business logic from view to some service and unit
> test it instead. =)
>
> Regards.
>
> Adam
>
> st 12. 2. 2020 v 21:15 odesílatel onlinejudge95 
> napsal:
>
>> On Wed, Feb 12, 2020 at 6:22 PM onlinejudge95 
>> wrote:
>>
>>> Hi Devs,
>>>
>>> I was implementing unit-tests in my Django project and stumbled upon the
>>> following issue.
>>>
>>> I want to unit-test my POST route. I do not want to use the test client
>>> already shipped with Django (using it in my e2e tests). I want to know how
>>> do I prepare my request object to pass to my view. Here is what I have done
>>> currently.
>>>
>>> test_views.py
>>>
 class CreateBlogTest(BaseViewTest):
>>>
>>> @classmethod
 def setUpClass(cls):
 cls.request.method = "POST"
>>>
>>> def test_create_valid_blog(self):
 self.request.content_type = "application/json"
 self.request._body = json.dumps({"title": "new title", "body":
 "new body"})

 response = views.blog_collection(self.request)
 self.assertEqual(response.status_code, 201)

>>>
>>> In my view, I am accessing the data through *request.data* and passing
>>> it to a serializer.
>>>
>>> In my current setting, I am getting a 400 error message when I have
>>> checked that the user does not exist.
>>>
>>> Any suggestions regarding the same?
>>>
>>> Thanks,
>>> onlinejudge95
>>>
>>
>> In case if someone needs it in the future, go and look at
>> *django.test.RequestFactory *
>>
>> https://docs.djangoproject.com/en/3.0/topics/testing/advanced/#django.test.RequestFactory
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAD%3DM5eTN3M5iAEvkPoB1fAi%3Du%3DOAXv8kr7S51HmaBsNd8Tubyg%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAB9%3DGXaU4QvmV%3D9fMCcm-NaRUogFtq2Fwd-3MFB5q6QOCxgRhQ%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61rxaSRrE239aZrbBpZSo7QBoZx2BKxx4nBiERhio0RGSJg%40mail.gmail.com.


Re: About extending the django inbuilt user

2020-01-14 Thread sachinbg sachin
Thanks carstien

On Wed, Jan 15, 2020, 12:10 PM Carsten Fuchs  wrote:

> Besides what others have said, I suggest you have a look at
>
> https://docs.djangoproject.com/en/3.0/topics/auth/customizing/#extending-the-existing-user-model
> and all subsequent sections.
>
> If you have not started your project yet (have no migrations yet), look at
> https://github.com/jambonsw/django-improved-user
>
> If you are in mid-project already, I suggest:
> https://code.djangoproject.com/ticket/25313
>
> https://www.caktusgroup.com/blog/2019/04/26/how-switch-custom-django-user-model-mid-project/
>
> Best regards,
> Carsten
>
>
> Am 14.01.20 um 17:10 schrieb sachinbg sachin:
> > Hii every one I want to add some additional fields in inbuilt django
> user model am tried many of the things am not achieved that any reference
> help me and  any sources
> > Git repositories
> > Thanks in advance
> >
> > --
> > 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  django-users+unsubscr...@googlegroups.com>.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%40mail.gmail.com
> <
> https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%40mail.gmail.com?utm_medium=email_source=footer
> >.
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/3a3eacd1-ec99-e6bc-97a3-b762cd934c91%40cafu.de
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61ryX0Y602c1YTd6-hAXsyRK0OwXLd-QX59UH_VUn1gQwYQ%40mail.gmail.com.


Re: About extending the django inbuilt user

2020-01-14 Thread sachinbg sachin
I was getting some error like is_staff is not an atribute an other source are 
git link I tried to fix that but am not able to do that

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b041d955-b4e4-43bc-9445-a2d7c944d3e5%40googlegroups.com.


About extending the django inbuilt user

2020-01-14 Thread sachinbg sachin
Hii every one I want to add some additional fields in inbuilt django user
model am tried many of the things am not achieved that any reference help
me and  any sources
Git repositories
Thanks in advance

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%40mail.gmail.com.


Hii floks

2019-12-24 Thread sachinbg sachin
I want only user registration and login API stuff in restframework I am not
able to do login by login(request,user)
Any documents are git links regarding whole user things
Thanks in advance

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61rx94iUDJ0Twe6EnEKLvEav6p6%2BcLeS6EQU9%3DZEXpcadPg%40mail.gmail.com.


Re: I want to know about how to implement elastic search in the python django

2019-10-03 Thread sachinbg sachin
It is an oldest version not supporting for 3.6.8 python version

On Wed, Oct 2, 2019, 8:51 PM Sithembewena L. Dube  wrote:

> https://www.youtube.com/watch?v=cXYVE28igkE
>
> Kind regards,
> Sithembewena
>
>
> *Sent with Shift
> <https://tryshift.com/?utm_source=SentWithShift_campaign=Sent%20with%20Shift%20Signature_medium=Email%20Signature_content=General%20Email%20Group>*
>
> On Wed, Oct 2, 2019 at 5:08 PM sachinbg sachin 
> wrote:
>
>> Implimentaion of elastic search in django python how to do that any
>> documents demo projects thanks in advance
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAOs61rySf8Zr6Futb-VJDnFZkZHy%3DZgVbds9FeuvnF7tpwTLYA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAOs61rySf8Zr6Futb-VJDnFZkZHy%3DZgVbds9FeuvnF7tpwTLYA%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAH-SnCBL4zbYY5duVv8mUcmBmaZ1nJvHSzMrhXn3CQXOxT5hEg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAH-SnCBL4zbYY5duVv8mUcmBmaZ1nJvHSzMrhXn3CQXOxT5hEg%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61rznrtbgtNVf06SnWMvHrNXE14X4NdAXniNJ%3Di0yc5ecyQ%40mail.gmail.com.


I want to know about how to implement elastic search in the python django

2019-10-02 Thread sachinbg sachin
Implimentaion of elastic search in django python how to do that any
documents demo projects thanks in advance

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61rySf8Zr6Futb-VJDnFZkZHy%3DZgVbds9FeuvnF7tpwTLYA%40mail.gmail.com.


Re: Maps API

2019-09-12 Thread sachinbg sachin
Use Google GPRS

On Thu, Sep 12, 2019, 8:03 PM Aniket Jain  wrote:

> Hello guys,
> Hey anyone is having idea that which API we can use for the grps tracking
> system for the vechiles like Uber and ola.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CADV%2BovL2fdAiu5wqoEDXw3aKgVRW_FSAud3uE%3D_Nux-4vsEzCQ%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61rzp4dMWf04w68aemx3UOX-Tj5NO-YUSuiARJmfMig4BEw%40mail.gmail.com.


Re: Staticfiles on S3

2019-09-04 Thread sachinbg sachin
Mention aws key value in setting

On Thu, Sep 5, 2019, 2:06 AM mohammed habib  wrote:

> Did you run python manage.py collectstatic
>
> Are you using static template tags to heed your html link href fields
>
> Sent from my iPhone
>
> On 4 Sep 2019, at 23:06, Elias Coutinho  wrote:
>
> Guys good afternoon,
>
> I managed to put my static folder in s3, the problem is that my effects
> already lost power. lol
>
> The staticfiles folder where the auxiliary applications are installed stop
> working, in my case it was django-material, select2 and others.
>
>
>
> If I comment this code
> 
> that is in the settings of my project it works but does not send anything
> to Amazon s3.
>
>
>
> Any suggestion?
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/70f224ee-f7a4-468f-9609-db2f8a0be161%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/D42D2706-9340-4450-BC92-35AB0D2C47DB%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61rziOACLNEH8jhT95zOcJWX6uomoxSLiQAVuU6eb43rNkQ%40mail.gmail.com.


Re: Enter valid date error

2019-08-06 Thread sachinbg sachin
Give the format in year month date it will be resolved then

On Tue, Aug 6, 2019, 10:24 PM DPM  wrote:

> Hey Ani,
>
> Change format_key = DATE_INPUT_FORMATS.
> Omit the quotes. Then will work fine.
>
>
> On Tue, 6 Aug, 2019, 11:59 AM ANi,  wrote:
>
>> I've change the default date field widget slightly,
>> but only like this and also define the DATE_INPUT_FORMATS
>>
>>
>>
>> class DateInput(DateTimeBaseInput):
>> input_type = 'date'
>> format_key = 'DATE_INPUT_FORMATS'
>>
>>
>> DATE_INPUT_FORMATS = [
>> '%Y-%m-%d',
>> ]
>>
>>
>> but still get error on the date field, only success at the first time
>> after I restart the server
>>
>> any reason could be?
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/6d5257f5-e7aa-41ff-a0f7-8d4936e73167%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAGHZBzymjKTT0cAWna6ezf%3DsPmJAvkkDTd0i9oDjK2pqpm%2Bj6A%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61ry4KQ-QPHq3039QJBh3VjtvDO1zBE_C4baYPocSZ1FGNw%40mail.gmail.com.


Re: Adding Category

2019-06-03 Thread sachinbg sachin
write the post request api for the drown fields to that model


On Mon, 3 Jun 2019 at 23:14, sachinbg sachin 
wrote:

> make category like that and relate the category model as foreignkey for
> model which one u neaded
>
> On Mon, 3 Jun 2019 at 23:13, sachinbg sachin 
> wrote:
>
>> make ur category model like this
>>
>> On Mon, 3 Jun 2019 at 23:10, sachinbg sachin 
>> wrote:
>>
>>>
>>>
>>> On Mon, Jun 3, 2019, 4:32 PM Aayush Bhattarai <
>>> bhattaraiaayus...@gmail.com wrote:
>>>
>>>> Hi, I am using Django==2.2.1 *as Class-Based View. I wanted to add a
>>>> category in a drop down and when anyone clicks it should be gone to
>>>> category.*
>>>> *What will be the best method for doing this? Follow the step of DRY.
>>>> Thanks for your Time.*
>>>>
>>>> [image: Capture.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+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/7a0a0299-895f-4951-bd2e-98c00e69beda%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/django-users/7a0a0299-895f-4951-bd2e-98c00e69beda%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>> 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/CAOs61rzp%2B-kKk1GwAjwfVnbn_2SHPsNcqZoDC7PgON-RJS21GA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adding Category

2019-06-03 Thread sachinbg sachin
make category like that and relate the category model as foreignkey for
model which one u neaded

On Mon, 3 Jun 2019 at 23:13, sachinbg sachin 
wrote:

> make ur category model like this
>
> On Mon, 3 Jun 2019 at 23:10, sachinbg sachin 
> wrote:
>
>>
>>
>> On Mon, Jun 3, 2019, 4:32 PM Aayush Bhattarai <
>> bhattaraiaayus...@gmail.com wrote:
>>
>>> Hi, I am using Django==2.2.1 *as Class-Based View. I wanted to add a
>>> category in a drop down and when anyone clicks it should be gone to
>>> category.*
>>> *What will be the best method for doing this? Follow the step of DRY.
>>> Thanks for your Time.*
>>>
>>> [image: Capture.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+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/7a0a0299-895f-4951-bd2e-98c00e69beda%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/7a0a0299-895f-4951-bd2e-98c00e69beda%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> 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/CAOs61rws1O_LYUoNRkDiptCtpe2UZ2vt-c6uzk7ac7HOa8je9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adding Category

2019-06-03 Thread sachinbg sachin
On Mon, Jun 3, 2019, 4:32 PM Aayush Bhattarai  Hi, I am using Django==2.2.1 *as Class-Based View. I wanted to add a
> category in a drop down and when anyone clicks it should be gone to
> category.*
> *What will be the best method for doing this? Follow the step of DRY.
> Thanks for your Time.*
>
> [image: Capture.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+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/7a0a0299-895f-4951-bd2e-98c00e69beda%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/CAOs61rxgfkHPnFRQcRKB5qM2Q1PSK4KCm0%3D-y09XsLDXcyJBcg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Adding Category

2019-06-03 Thread sachinbg sachin
Use the parent child relationship in single model

On Mon, Jun 3, 2019, 4:32 PM Aayush Bhattarai  Hi, I am using Django==2.2.1 *as Class-Based View. I wanted to add a
> category in a drop down and when anyone clicks it should be gone to
> category.*
> *What will be the best method for doing this? Follow the step of DRY.
> Thanks for your Time.*
>
> [image: Capture.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+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/7a0a0299-895f-4951-bd2e-98c00e69beda%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/CAOs61rwEZn_OedYQL1hP7e3XCNHNcbHY_2mG8fTTCV3yVF3HDA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: django models

2019-05-07 Thread sachinbg sachin
On Tue, May 7, 2019, 12:35 PM Soumen Khatua  Hi Folks,
>
> I didn't  understand this code please help me to understand this code.
>
> class AddressQueryset(models.QuerySet):
> def annotate_default(self, user):
> # Set default shipping/billing address pk to None
> # if default shipping/billing address doesn't exist
> default_shipping_address_pk, default_billing_address_pk = None,
> None
> if user.default_shipping_address:
> default_shipping_address_pk = user.default_shipping_address.pk
> if user.default_billing_address:
> default_billing_address_pk = user.default_billing_address.pk
> return user.addresses.annotate(
> user_default_shipping_address_pk=Value(
> default_shipping_address_pk, models.IntegerField()),
> user_default_billing_address_pk=Value(
> default_billing_address_pk, models.IntegerField()))
>
>
> default_shipping_address & default_billing_address_pk is available in my
> User table it is a foreignkey of Address table  and  addresses is also
> avialable in my User table as ManytoManytoField refering to same Address
> Table and the last i'm using this inside Address table just like this :
> objects = AddressQueryset.as_manager()
>
>
>
> 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/CAPUw6Wbb9Emmq0aODhK9GmT9Z8X0TMQtSOsPJ-SA-99mpdT6sg%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/CAOs61rwsOdXyWTi%2BxhWO%3DybO2sLF77dmris_Au0Q1gsrUMhuCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-03 Thread sachinbg sachin
If u want to use that context in html means for I context ,I.user
name,i.products like that u can use

On Fri, May 3, 2019, 8:09 PM sachinbg sachin  In JavaScript I don't know buddy
>
> On Fri, May 3, 2019, 6:33 PM Ravi Kumar 
>> Try to use ajax
>>
>> On Fri 3 May, 2019 5:42 pm Mayur Bagul >
>>> Hello community,
>>>
>>> I have stored single value from database inside a variable which is
>>> playing role of context inside views.py function.
>>>
>>> Now I want to use this context(which holds single value) in JavaScript
>>> to change specific HTML content of template which will give me desired
>>> webpage.
>>>
>>> I Searched on Google but I didn't found any useful tutorial or solution
>>> on specified problem.
>>>
>>> I'm looking forward to get solution from community.
>>>
>>> Thanking 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/37395263-cf1d-4a7d-ad51-911e68da810b%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/CAANT8EFTTjuSXF5U87jX_VDwu6yMZpHN3GcbJ-7zBpTU5YPm2g%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAANT8EFTTjuSXF5U87jX_VDwu6yMZpHN3GcbJ-7zBpTU5YPm2g%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>> 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/CAOs61rwmtrTfUFJFnsq2j5THzy34_x3%3DK_LmX3d51MH_NCmxFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-03 Thread sachinbg sachin
In JavaScript I don't know buddy

On Fri, May 3, 2019, 6:33 PM Ravi Kumar  Try to use ajax
>
> On Fri 3 May, 2019 5:42 pm Mayur Bagul 
>> Hello community,
>>
>> I have stored single value from database inside a variable which is
>> playing role of context inside views.py function.
>>
>> Now I want to use this context(which holds single value) in JavaScript to
>> change specific HTML content of template which will give me desired webpage.
>>
>> I Searched on Google but I didn't found any useful tutorial or solution
>> on specified problem.
>>
>> I'm looking forward to get solution from community.
>>
>> Thanking 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/37395263-cf1d-4a7d-ad51-911e68da810b%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/CAANT8EFTTjuSXF5U87jX_VDwu6yMZpHN3GcbJ-7zBpTU5YPm2g%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/CAOs61rxsQqBCbHnPJUakRi%2BzrBTfzNenJLoeCRbB5Zf%3D0AkuSA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to pass context value from views.py to getElementById in JavaScript?

2019-05-03 Thread sachinbg sachin
Pass the id in context in Django by default every object has Id

On Fri, May 3, 2019, 5:42 PM Mayur Bagul  Hello community,
>
> I have stored single value from database inside a variable which is
> playing role of context inside views.py function.
>
> Now I want to use this context(which holds single value) in JavaScript to
> change specific HTML content of template which will give me desired webpage.
>
> I Searched on Google but I didn't found any useful tutorial or solution on
> specified problem.
>
> I'm looking forward to get solution from community.
>
> Thanking 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/37395263-cf1d-4a7d-ad51-911e68da810b%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/CAOs61rwNfJdYzZxz81CNOunK_SDMhE%2B7wgzF3imnbfhxM_-QXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to ask questions on Django

2019-04-29 Thread sachinbg sachin
Am writing backend for Android app how can I send password reset link
through email without using forms

On Sun, Apr 28, 2019, 9:34 PM Larry Martell  http://www.catb.org/~esr/faqs/smart-questions.html
>
>
> On Sun, Apr 28, 2019 at 12:01 PM John Bagiliko <
> john.bagil...@aims-senegal.org> wrote:
>
>> Hi all,
>>
>> I am a passionate Python Developer. I love Django. I have seen most of
>> the questions that are posed here and have tried to help. I usually fail to
>> be able to help for insufficient information. I think questions asked on
>> this group should have much information to help us know where one is coming
>> from, where one wants to go and what problem is stopping one from going
>> where he wants to go. More importantly, let's know your efforts and where
>> you've already looked and didn't succeed so you don't get suggestions about
>> what you've tried already and so on.
>> I like Stack Overflow for their strict rules. Check how I asked a
>> question on Stack Overflow and got answered in less than 30 minutes here
>> .
>> I also have this tutorial which I think can be a general solution to most
>> of of the questions asked here about forms, queries, CRUD activities etc.
>> See it here
>> 
>>
>>
>> Best,
>> John
>>
>>
>> --
>> *Regards*
>>
>> *JOHN BAGILIKO*
>> *MSc. Mathematical Sciences (Big Data and Computer Security)*
>> *African Institute for Mathematical Sciences (AIMS) | AIMS Senegal*
>>
>> --
> 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/CACwCsY7Ch%2Bo0r%2Bnkq_0i%3DkVrPFNS69-Teyb3to3tJ0NCf3hW2g%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/CAOs61rwLEboOwX1R2OW3F-7UtE8n4%3Dpk43AEKYAbKGhuQ8QwQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Which app for minio (s3) storage server?

2019-03-22 Thread sachinbg sachin
He how can I integrate otp attentication to my mobile app
On Mar 22, 2019 8:19 PM, "guettli"  wrote:

> Up to now all my projects worked with the basic file storage.
>
> Now I want use a s3 like storage server for the first time.
>
> The server implementation will be minio (not aws)
>
> I see three apps:
>
>   https://github.com/py-pa/django-minio-storage
>
>   https://github.com/etianen/django-s3-storage
>
>   https://github.com/jschneier/django-storages
>
> Do you have an advice which one could fit?
>
> Binary data with size of up to 100MBytes will get uploaded.
>
> Regards,
>   Thomas Güttler
>
> --
> 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/ca98eb3d-6c77-4372-8dfe-13dc16d678ec%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/CAOs61rzgeK%2BYJ9nGij7mWvZZQUKKE1QHmEo8R79YVVtHj8rCpw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.