Re: How to find out when a fix will be released

2019-08-27 Thread wd
> > As a concrete example, consider a moment in time halfway between the > release of Django 5.1 and 5.2. At this point in time: > >- Features will be added to development master, to be released as >Django 5.2. >- Critical bug fixes will be applied to the stable/5.1.x branch, and >

Re: Database Views

2019-08-27 Thread Doddahulugappa.B
Thank you. I got it.. Issue with timezone By default django considering TIME_ZONE = 'UTC' USE_TZ = True Thats the reason it was showing less records than actual.. I changed it local to local time zone name and USE_TZ = False Its working perfectly.. I also understood that its not only to

Re: How to find out when a fix will be released

2019-08-27 Thread Jani Tiainen
Oh yes there it is explained in depth https://docs.djangoproject.com/en/dev/internals/release-process/#supported-versions ke 28. elok. 2019 klo 8.12 Jani Tiainen kirjoitti: > It's not weird at all. Django has 8 month release cycle. Usually only bugs > that are security issues or causes data

Re: How to find out when a fix will be released

2019-08-27 Thread Jani Tiainen
It's not weird at all. Django has 8 month release cycle. Usually only bugs that are security issues or causes data loss are backported to older releases. I think this procedure is documented somewhere... ke 28. elok. 2019 klo 8.06 wd kirjoitti: > It's so weird, the code is already in master 7

Re: How to find out when a fix will be released

2019-08-27 Thread wd
It's so weird, the code is already in master 7 months, but still not released yet? On Wed, Aug 28, 2019 at 6:09 AM John MacLaughlin < john.maclaugh...@carbonlighthouse.com> wrote: > I see this ticket was addressed, fixed, and merged. However, it's not in > the latest release (2.2.4) > > Ticket:

Re: Best DRF Cheatsheet?

2019-08-27 Thread Charles Thayer
I did find a few cheat sheets online, but I was looking for something that's a bit more dense and assumes you have already been doing some programming in DRF for a while, and just need some of the details handy to move quickly. * https://github.com/Nifled/drf-cheat-sheet - more of a

Re: views and manager files according to MVT design pattern

2019-08-27 Thread Mike Dewhirst
On 28/08/2019 4:01 am, Alejandro Cuara wrote: Hi, I would like to know if does make sense to split my views.py file into multiple view files trying to have a project better organized and the same for my manager.py file because i noticed that they have grown a lot, from my perspective it make

How to find out when a fix will be released

2019-08-27 Thread John MacLaughlin
I see this ticket was addressed, fixed, and merged. However, it's not in the latest release (2.2.4) Ticket: https://code.djangoproject.com/ticket/29393 PR: https://github.com/django/django/pull/10730 How can I find out when this fix will be released? -- You received this message because you

views and manager files according to MVT design pattern

2019-08-27 Thread Alejandro Cuara
Hi, I would like to know if does make sense to split my views.py file into multiple view files trying to have a project better organized and the same for my manager.py file because i noticed that they have grown a lot, from my perspective it make sense to be align better with the MVT design

Re: User Register form not validating or returning errors.

2019-08-27 Thread K. KOFFI
please put « > » before the csrf tag Le 27 août 2019 à 16:30 +0100, Kean , a écrit : > Hi Ajeet, thanks for code, > however after i press submit i get the > > Forbidden (403) > CSRF verification failed. Request aborted. > Help > Reason given for failure: >CSRF token missing or incorrect. > >

Re: Database Views

2019-08-27 Thread Doddahulugappa.B
Thanks for your response. In Django models.. For example class TempUser(models.Model): first_name = models.CharField(max_length=100) class Meta: managed = False db_table = "temp_user" temp_user is database view. Now assume select * from temp_user Gives 5 records

Re: User Register form not validating or returning errors.

2019-08-27 Thread Gabriel Araya Garcia
Only see the 'error_new' variable in my view this variable has taken two values: "ok" or "error1" (true or false, error or not error,..etc) def NuevoPac(request): # Manda al formulario todos los campos vacios variable1 = 'Agregando nueva Ficha de Paciente' variable2 = "modifica_rut" error_new =

Re: Django real-time chat app

2019-08-27 Thread Jani Tiainen
Hi. Greatly depends on your definition of real-time... ti 27. elok. 2019 klo 8.01 Suraj Thapa FC kirjoitti: > Anyone have real-time pluggable chat system app in django. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe

Re: User Register form not validating or returning errors.

2019-08-27 Thread Kean
Thank you, this resolved issue. best, K On 27 Aug 2019, at 17:30, Ajeet Kumar Gupt wrote: > Hi Kean, > > First need to close the proper tags > > I seen your code form tag is not closed properly. Once first form tag closed > than write the code csrf token > > On Tue, 27 Aug, 2019, 7:30 PM

Re: Database Views

2019-08-27 Thread Jani Tiainen
Hi. You really need to provide more context. Without knowing your data, tables involved in a view. Your model and query you used and query you used to verify wrong (or correct) results it is virtually impossible to help you further. ti 27. elok. 2019 klo 17.47 HULUGESH B kirjoitti: > Hi All,

Re: Django sockets

2019-08-27 Thread Kasper Laudrup
On August 27, 2019 3:07:46 PM GMT+02:00, Suraj Thapa FC wrote: >Anyone know making chat app using sockets in rest api > >-- >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

Re: User Register form not validating or returning errors.

2019-08-27 Thread Ajeet Kumar Gupt
Hi Kean, First need to close the proper tags I seen your code form tag is not closed properly. Once first form tag closed than write the code csrf token On Tue, 27 Aug, 2019, 7:30 PM Kean, wrote: > Hi Ajeet, thanks for code, > however after i press submit i get the > > Forbidden (403) > CSRF

Re: User Register form not validating or returning errors.

2019-08-27 Thread Kean
Hi Ajeet, thanks for code, however after i press submit i get the Forbidden (403) CSRF verification failed. Request aborted. Help Reason given for failure: CSRF token missing or incorrect. In general, this can occur when there is a genuine Cross Site Request Forgery, or when Django's

Re: page not found but url exists

2019-08-27 Thread Kean
Hi Luca, your suggestion worked, thank you. many thanks to the community for the ongoing advice and help, it really makes a huge and valuable difference. Best, K On 26 Aug 2019, at 20:59, Luca Mazzilli wrote: > Kean, > Have you tried removing the initial slash inside the path? > > -- > You

Database Views

2019-08-27 Thread HULUGESH B
Hi All, I am facing issues in Django Models: If connect databse views in models. It shows less records than actual number of records. Kindly assist me. How to solve. This is not all the time.. sometimes it is correct sometimes not correct. -- You received this message because you are

how to connect django with SQL Server ?

2019-08-27 Thread leb dev
i have a django project that need to be connected with MS SQL Server . Iam using pyodbc package in order to make the connection but the problem is that once i try it it crash and display the below error : djago.db.utils.operationalError:('08001','[08001] [microsoft][odbc sql server

Establish a connection between django and SQL Server using pyodbc

2019-08-27 Thread leb dev
I have a django project that make a connection between django and SQL server the problem is that once the system run it display the below error: > djago.db.utils.operationalError:('08001','[08001] [microsoft][odbc sql > server driver]neither dsn nor server keyword supplied (0) >

Re: page not found but url exists

2019-08-27 Thread Frederick Johnson
I think you should remove the / at the begining -- 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

Re: How to call an action from outside admin

2019-08-27 Thread Derek
You need to separate out the "core" functionality of your action - the part that processes the records - into a stand-alone function. This function can then be also called from your view(s) that currently handles the various HTTP requests you list. On Sunday, 25 August 2019 15:00:35 UTC+2,

Re: How can I switch AUTH_USER_MODEL for each application?

2019-08-27 Thread Mario R. Osorio
I think this is what you're looking for: https://docs.djangoproject.com/en/2.2/topics/db/multi-db/ HTH! On Monday, August 26, 2019 at 10:12:06 AM UTC-4, Sim wrote: > > https://docs.djangoproject.com/en/2.2/ref/settings/#databases > > DATABASES in settings.py is a dict() and use

Django sockets

2019-08-27 Thread Suraj Thapa FC
Anyone know making chat app using sockets in rest api -- 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

Re: Django Multiple File Upload for latest versions

2019-08-27 Thread Sim
here is my newbie opinion : https://github.com/Revel109/django-multiupload-lts/issues/1 good luck On Tue, Aug 27, 2019 at 9:30 AM Abu Yusuf wrote: > Hey there, I have checked a lot of git projects for django latest versions > 'multiple file upload' but couldn't find a great one. > > Here i

Django Multiple File Upload for latest versions

2019-08-27 Thread Abu Yusuf
Hey there, I have checked a lot of git projects for django latest versions 'multiple file upload' but couldn't find a great one. Here i have created a repo for this: https://github.com/Revel109/django-multiupload-lts Please check this out and create issues if you have any :) This project is