Re: Customizing Django built-in views such as LoginView

2020-05-29 Thread Augusto Destrero
I would choose the second option and define a LoginView subclass in the views.py module. The outcome is exactly the same, but I'd prefer to have my views all defined in views.py file. Adding too much logic in the urls.py module IMHO is not a good idea and it makes the view less extendable in

Re: Add custom button in form

2013-10-23 Thread Augusto Destrero
On Wednesday, October 23, 2013 4:41:18 PM UTC+2, Mahantesh U wrote: > My question is: I want to add the button after url field. Once the user > clicks on button I will use the entered url value and extract the details > what i want... Please let me know how to add custom button to the form. >

Re: What is the best solution to deploy Django on a Windows server?

2013-10-22 Thread Augusto Destrero
The virtual machine solution already came to my mind, but unfortunately it's not practical in this case. I investigated a bit the available solutions to have Django running on Windows and I came up with a CherryPy based deployment of Django. I wrote a blog post on my experience with this

What is the best solution to deploy Django on a Windows server?

2013-10-11 Thread Augusto Destrero
A client of mine want to keep its existing Windows Server infrastructure, so I'm forced to deploy my Django based web application on Windows 2003/2007. The first question is: is Django production ready on Windows platform? The second is: to your knowledge, what is the best way to deploy