Re: Problem with view

2021-02-24 Thread Maurizio Faccin
Ciao, cambiando il nome delle classi funziona. Grazie mille! Maurizio Il 25/02/2021 01:14, Umberto Moffa ha scritto: Ciao, prova a cambiare il nome delle classi, forse chiamandosi Fatture sia il Model che la View va in pappa, oppure sovrascrivi il nome del Model quando lo importi nella view

Re: Problem with view

2021-02-24 Thread Maurizio Faccin
I changed the classes name and works! Thank you Maurizio Il 25/02/2021 01:09, Kasper Laudrup ha scritto: On 24/02/2021 21.00, Maurizio Faccin wrote: Hello, I'am a newbie in usign django and django rest. I have a problem with a modelsetview The message error is: Exception Type: Attrib

Question about models. test

2021-02-24 Thread dupakoor kannan
Hello everyone, I have the following model class Publication(models.Model): name = models.CharField(max_length=25, blank=True, null=False) publication_url = models.TextField(blank=True) and observed there are some inactive URLs on the production server (due to data entry mistakes). Is th

Any volunteers for integrating React.js with existing Django web application

2021-02-24 Thread Milson Munakami
Dear Django devs, Hello, any django programmer interested in volunteering to coach or participate in integrating React.js based template on my project please connect with me. I would love to share more details in person regarding the project scope which is functionally almost complete now. -- T

Pg Full Text search in the ORM

2021-02-24 Thread Stats Student
Hi, does anyone know how to translate the following query to the ORM? select * from company where to_tsvector(name) @@ to_tsquery('gold:*') So far I have the following, but cannot seem to integrate the [:*] piece. Company.objects.annotate(search = SearchVector('name')).filter(search = SearchQuer

Re: Problem with view

2021-02-24 Thread Umberto Moffa
Ciao, prova a cambiare il nome delle classi, forse chiamandosi Fatture sia il Model che la View va in pappa, oppure sovrascrivi il nome del Model quando lo importi nella view Esempio: “from model. import Fatture as *qualsiasi altro nome* Il giorno gio 25 feb 2021 alle 00:54 Maurizio Faccin < maur

Re: Problem with view

2021-02-24 Thread Kasper Laudrup
On 24/02/2021 21.00, Maurizio Faccin wrote: Hello, I'am a newbie in usign django and django rest. I have a problem with a modelsetview The message error is: Exception Type: AttributeError Exception Value: type object 'Fatture' has no attribute 'objects' You have two classes

Problem with view

2021-02-24 Thread Maurizio Faccin
Hello, I'am a newbie in usign django and django rest. I have a problem with a modelsetview The message error is: Exception Type: AttributeError Exception Value: type object 'Fatture' has no attribute 'objects' Exception Location: C:\Lavoro\Python\scambiosdi\scambiosdi\fatture\

Re: learning steps

2021-02-24 Thread dupakoor kannan
Hi, There are several good YouTube tutorials. Here are my recommendations Corey Schafer - https://www.youtube.com/watch?v=UmljXZIypDc&list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p Coding for entrepreneurs - https://www.youtube.com/watch?v=F5mRW0jo-U4 Navin - https://www.youtube.com/watch?v=OTmQOjsl0eg

Re: django voluntary work.

2021-02-24 Thread Alberto Degli Esposti
Hi Mehedi We started a python open source project you may be interested in: https://github.com/airspot-dev/krules it's an ambitious project. Basically it is a framework which enables the development of event-based microservices using knative and in particular its eventing part This is a very

Re: Date Range picker

2021-02-24 Thread Sanjay Singh
Normally u can use jquery date picker. *Thanks & Regards,* *Sanjay Singh**Senior Software Engineer* *SRM Techsol Private Limited* B-48, Sector-C, Aliganj Lucknow-226024 Phone : (+91) 522 2328654 Skype: sanjay1.singh_1 On Wed, Feb 24, 2021 at 4:03 PM neha bhurke wrote: > Hello , > > I want t

Re: Sorting by distance and date from classifieds page.

2021-02-24 Thread Christian Ledermann
https://stackoverflow.com/questions/19703975/django-sort-by-distance/35896358#35896358 will point you in the right direction On Wed, 24 Feb 2021 at 08:27, Salima Begum wrote: > Hi all, > > 1. After posting an Ad it will display in the classifieds page. After user > logged in user zip code and ba

Re: Date Range picker

2021-02-24 Thread Omkar Parab
Use django-filter On Wed, Feb 24, 2021, 5:12 PM neha bhurke wrote: > > *Regard,* > *Neha Bhurke* > > Like this 👇 > > > On Wed, Feb 24, 2021 at 5:04 PM Omkar Parab wrote: > >> Something like this? 👇 >> >> On Wed, Feb 24, 2021, 4:37 PM neha bhurke wrote: >> >>> How to create the range format mea

Re: Date Range picker

2021-02-24 Thread neha bhurke
*Regard,* *Neha Bhurke* Like this 👇 On Wed, Feb 24, 2021 at 5:04 PM Omkar Parab wrote: > Something like this? 👇 > > On Wed, Feb 24, 2021, 4:37 PM neha bhurke wrote: > >> How to create the range format means the calendar view with the list >> >> On Wednesday, February 24, 2021 at 4:35:52 PM UT

Re: Date Range picker

2021-02-24 Thread neha bhurke
How to create the range format means the calendar view with the list On Wednesday, February 24, 2021 at 4:35:52 PM UTC+5:30 deshde...@gmail.com wrote: > U can use js libraray > > On Wed, 24 Feb 2021, 4:03 pm neha bhurke, wrote: > >> Hello , >> >> I want to create a date picker in which it shoul

Re: Date Range picker

2021-02-24 Thread Desh Deepak
U can use js libraray On Wed, 24 Feb 2021, 4:03 pm neha bhurke, wrote: > Hello , > > I want to create a date picker in which it should contain a format of list > which consist of today , yesterday, tomorrow , next week , previous week , > next month previous month ... > > How can I create this

Date Range picker

2021-02-24 Thread neha bhurke
Hello , I want to create a date picker in which it should contain a format of list which consist of today , yesterday, tomorrow , next week , previous week , next month previous month ... How can I create this Please help me . -- You received this message because you are subscribed to the G

Re: Filtering serializermethodfield in DRF

2021-02-24 Thread shreeh...@gmail.com
Okay, thanks for the help. On Wednesday, February 24, 2021 at 10:22:51 AM UTC+5:30 kunalsol...@gmail.com wrote: > I don't the exact use case here, but you can pass context while passing > data to specializer.And then use it inside creializer clas by self.context. > In this case you can pass quer

SVG, clipPath, listview django.

2021-02-24 Thread Siarhei Siarhei
Есть слайдер - файл "svg", картинки - "обтравка-clipPath" (image cont от 6 и более) Как же, это пропустить через - ListView? Надеюсь что кто то, с таким сталкивался... -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this gr

Sorting by distance and date from classifieds page.

2021-02-24 Thread Salima Begum
Hi all, 1. After posting an Ad it will display in the classifieds page. After user logged in user zip code and based on classifieds ad zip code distance we are showing in classifieds page. 2. Based on distance and added date of Ad we need to show a listing in the classifieds page. 3. within 40 mil