Entries tagged django in Feb
This week I got involved with the VaccinateCA effort. We are trying to end the pandemic a little earlier, by building the most accurate database possible of vaccination locations and availability in California.[... 1154 words]
Should I use Django forms or pure HTML in order to do not establish borders for the growth of my app?
Use Django forms. Django scales horizontally on the front-end, so if your site needs to handle large amounts of traffic you just need to run multiple front-end servers—your form handling code will scale up just fine.[... 65 words]
What web programming framework best supports ’drag and drop’ actions? Please give examples of sites and/or plug-ins that support the interaction.
Drag and drop is a client-side thing—it has nothing to do with the server-side technology being used.[... 72 words]
Don’t use the Django ORM for bulk imports—the performance overhead is pretty small for regular web page stuff, but it adds up if you are running millions of inserts.[... 63 words]
You can use the ./manage.py shell command to get a shell which will import any Django modules (or any of your own code) without complaining about the location of the settings.py module. Install IPython first to get a much more useful interactive shell when you run that command.[... 190 words]
I don’t think you can.[... 42 words]
Yes. And I say that as an author of another Django migrations tool (dmigrations) which offered a small subset of South’s current functionality.[... 42 words]