Django edit form based on add form?
I’ve made a nice form, and a big complicated ‘add’ function for handling it. It starts like this…
I’ve made a nice form, and a big complicated ‘add’ function for handling it. It starts like this…
I have a custom class-based view
I am getting TransactionManagementError when trying to save a Django User model instance and in its post_save signal, I’m saving some models that have the user as the foreign key.
As the title says, I can’t seem to get migrations working.
I’ve been trying to setup my windows computer such that I can have a local postgreSQL with PostGIS extension. With this installed I hope to be able to create a project with geodjango locally before putting it in the cloud. I have been working with Django for a little while now on my local machine with the SQLite DB, but since the next project will partly be based on coordinate based data I wanted to setup the right environment.
I have problem with HTTP headers, they’re encoded in ASCII and I want to provided a view for downloading files that names can be non ASCII.
I have the following model:
I have been working on developing some RESTful Services in Django to be used with both Flash and Android apps.
I need to store some data in a Django model. These data are not equal to all instances of the model.
I would like to share a template between AJAX and regualr HTTP calls, the only difference is that one template needs to be served with the base.html html, the other one without.