Re: Any free MAP API available

2020-06-10 Thread Ram
hello Ranga, Thank you very much posting very useful direction and all the respective pointers. I really appreciate it. This is what we tried so far, but we are seeing an error from our execution. Could you please let us know what we are missing? import pgeocode import folium def zipcode_to_ma

Re: Django CSRF protection and AJAX calls

2020-06-10 Thread Kevin
Thanks Boris & Allan, I was able to research the problem further and found that my header was being set entirely correctly, and the Django csrf middleware does in fact require both the cookie AND the header to be set. It's not an either/or, and there is an explicit error message for when either

Re: How to display calendar in django webapplication?

2020-06-10 Thread learn code
Thank you so much!!! On Wed, Jun 10, 2020 at 2:46 PM Miracle wrote: > Check this project pinax calendars > https://github.com/pinax/pinax-calendars > > On Wed, 10 Jun 2020, 10:43 pm learn code, wrote: > >> Hi everyone, >> >> I'm working on a website. In that, I need to display available dates a

Re: How to display calendar in django webapplication?

2020-06-10 Thread Miracle
Check this project pinax calendars https://github.com/pinax/pinax-calendars On Wed, 10 Jun 2020, 10:43 pm learn code, wrote: > Hi everyone, > > I'm working on a website. In that, I need to display available dates and > timings dynamically. Anyone knows please help me. > > -- > You received this

How to display calendar in django webapplication?

2020-06-10 Thread learn code
Hi everyone, I'm working on a website. In that, I need to display available dates and timings dynamically. Anyone knows please help me. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fr

Custom Permissions of Django Materialized View

2020-06-10 Thread Will Meyers
Hi all, I'm building an application that uses Django Rest Framework and Django Guardian. I have to implement a permissions system such that when a user requests data from a materialized view, I need to omit certain rows from the returned queryset based on the user's group. For example, if my

Re: Best Django Rest Framework Tutorial??????

2020-06-10 Thread chaitanya orakala
which is best among all those channels ? On Wed, Jun 10, 2020 at 3:59 PM cosmos multi wrote: > on youtube there are very good > > El mié., 10 jun. 2020 a las 14:40, chaitanya orakala (< > chaitu.orak...@gmail.com>) escribió: > >> Thank you jacklin >> >> >> On Wed, Jun 10, 2020 at 3:00 PM Jack Li

Re: Best Django Rest Framework Tutorial??????

2020-06-10 Thread cosmos multi
on youtube there are very good El mié., 10 jun. 2020 a las 14:40, chaitanya orakala (< chaitu.orak...@gmail.com>) escribió: > Thank you jacklin > > > On Wed, Jun 10, 2020 at 3:00 PM Jack Lin wrote: > >> DOCUMENTATION >> >> >> 在 2020年6月11日 於 上午2:58:42, chaitanya orakala (chaitu.orak...@gmail.com)

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-10 Thread chaitanya orakala
Answer : *First hide the necessary fields which you want to hide and pop in drop down.* style.css #id_exec_first_name, label[for="id_exec_first_name"] { display: none } #id_exec_last_name, label[for="id_exec_last_name"]{ display: none } #id_exec_title, label[for="id_exec_title"]{ display

Re: Best Django Rest Framework Tutorial??????

2020-06-10 Thread chaitanya orakala
Thank you jacklin On Wed, Jun 10, 2020 at 3:00 PM Jack Lin wrote: > DOCUMENTATION > > > 在 2020年6月11日 於 上午2:58:42, chaitanya orakala (chaitu.orak...@gmail.com) 寫下: > > can anyone please respond ?? > > On Wed, Jun 10, 2020 at 9:51 AM Sai wrote: > >> Hi djangoians, >> I want to learn djan

Re: Best Django Rest Framework Tutorial??????

2020-06-10 Thread Jack Lin
DOCUMENTATION 在 2020年6月11日 於 上午2:58:42, chaitanya orakala (chaitu.orak...@gmail.com) 寫下: can anyone please respond ?? On Wed, Jun 10, 2020 at 9:51 AM Sai wrote: > Hi djangoians, > I want to learn django rest framework, may i please know which is best > resource in online market or any

Re: Best Django Rest Framework Tutorial??????

2020-06-10 Thread chaitanya orakala
can anyone please respond ?? On Wed, Jun 10, 2020 at 9:51 AM Sai wrote: > Hi djangoians, > I want to learn django rest framework, may i please know which is best > resource in online market or any youtube links or udemy courses??? > > Thanks in advance. > > -- > You received this message

RE: Changing name of file in FileField field

2020-06-10 Thread matthew.pava
Thank you so much for that! It was due to duplicate file names. I had a tearDownClass method that was deleting my temp files after the test was completed. It should have been a tearDown method that occurred at the end of every test. From: django-users@googlegroups.com On Behalf Of Chetan G

Re: Django CSRF protection and AJAX calls

2020-06-10 Thread Boris Pérez
My way, i use the csrf_token tag on template, an pass it to the view in the ajax call, using $.ajax({ url : url, type : "POST", // http method data : {'csrfmiddlewaretoken': $('input[name="csrfmiddlewaretoken"]').val(), 'v1':v1,'v2':v2, }, // data sent with the post r

Compare logged-in user against record owner in filter

2020-06-10 Thread Clive Bruton
I am trying to create a queryset that filters against the logged-in user's id and the user_id in the record, ie so that only the relevant user can see the record. Without the filter, when I display the page I can capture elements in the template that would allow this comparison, ie: objec

Re: Idea production with Django

2020-06-10 Thread Andréas Kühne
Very meta :) Regards, Andréas Den ons 10 juni 2020 kl 15:52 skrev Wim Olivier : > Build an app where people can post their ideas, and other people vote on > their ideas - whether they're good or not good. :-) > > On Wednesday, 10 June 2020 14:51:33 UTC+2, vchanel Hoang wrote: >> >> Please eve

Re: Idea production with Django

2020-06-10 Thread Wim Olivier
Build an app where people can post their ideas, and other people vote on their ideas - whether they're good or not good. :-) On Wednesday, 10 June 2020 14:51:33 UTC+2, vchanel Hoang wrote: > > Please everybody give me some idea. > -- You received this message because you are subscribed to the

Best Django Rest Framework Tutorial??????

2020-06-10 Thread Sai
Hi djangoians, I want to learn django rest framework, may i please know which is best resource in online market or any youtube links or udemy courses??? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from thi

Cannot resolve keyword 'slug' into field.

2020-06-10 Thread Ateequr Rahman
I trying to develop a ToDoList using Django. For every user there is a *List *model and in each List there are several *Task(*model*). * I am using django auth *User *model and Class based views to Create, Update and Delete Lists and Tasks. I successfully created, updated and deleted *List*. Bu

Cannot resolve keyword 'slug' into field.

2020-06-10 Thread Ateequr Rahman
I am trying to make a ToDoList for every user. I am using class based views and the auth User model. For Every User, there is a List model, consisting the List Name, and a Task model which is a child to the List. I am having problem when I am updating a Task under a List. I have my models.py,

Idea production with Django

2020-06-10 Thread vchanel Hoang
Please everybody give me some idea. -- 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

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-10 Thread Balaji Shetty
Thank You Very Much for considering advice On Wed, Jun 10, 2020 at 8:11 AM chaitanya orakala wrote: > sure, I will do it by tomorrow > > > On Tue, Jun 9, 2020 at 2:35 AM Balaji Shetty > wrote: > >> Nice >> >> Can you please share sample code on git link. >> >> This is very common requirement in

Re: autocomplete django in visual studio code

2020-06-10 Thread Miracle
I think using "Jedi" as IntelliSense engine would solve the problem. You can also get more template and django specific snippets and auto completion using the "django" extension from the marketplace. On Wed, 10 Jun 2020, 3:23 am THAKUR SINGH, wrote: > INSTALL WINDOWS 10 THEN INSTALL YOUR SOFTW

Re: How to get Dependent Dropdown Feilds in Django ModelForms. Please answer : Important

2020-06-10 Thread AMINE AZIZ
👍🏻 Shre your code, so it will help others. And if you can, change to resoulved, so it will be marked in Google search Best 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

Re: Django-Firebase cloudstore ORM

2020-06-10 Thread Integr@te System
Hi Goil, Did you register your model to site admin contrib. On Wed, Jun 10, 2020, 6:52 AM sparsh goil wrote: > Hey, > Does anyone know how to perfectly use Firebase with Django? > > I am using Django-Firebase-ORM which automatically maps my models to cloud > firestore database but I am getti

Re: webex / zoom meetings Integrations in django

2020-06-10 Thread Kasper Laudrup
Hi Irfan, On 10/06/2020 09.09, Irfan Khan wrote: Hi Everyone, I wanted to integrate webex or zoom meetings Into my django application, can any one please guide me or suggest docs. https://developer.webex.com/docs/api/getting-started https://marketplace.zoom.us/docs/api-reference/introducti

webex / zoom meetings Integrations in django

2020-06-10 Thread Irfan Khan
Hi Everyone, I wanted to integrate webex or zoom meetings Into my django application, can any one please guide me or suggest docs. target : i have one linke on template which is if the end user click on that link he can join the session/ meeting. With Regards, *Irfan khan* -- You received th