Django is an open-source server-side web application framework written in Python.
I'm quite familiar with Django, but I recently noticed there exists an on_delete=models.CASCADE option with the models. …
python django django-modelsWhen I render a page using the Django template renderer, I can pass in a dictionary variable containing various values …
javascript python django google-app-engine django-templatesI'm trying to upload an image via the Django admin and then view that image either in a page on …
django mediaWhat is the related_name argument useful for on ManyToManyField and ForeignKey fields? For example, given the following code, what …
python django many-to-many foreign-key-relationshipWhat's the best way to extend the User model (bundled with Django's authentication app) with custom fields? I would also …
django django-models django-authentication django-usersI've got list of objects. I want to find one (first or whatever) object in this list that has attribute (…
python django listI need to execute a Python script from the Django shell. I tried: ./manage.py shell << my_script.…
python django django-shellI've made a migration that added a new table and want to revert it and delete the migration, without creating …
django django-migrationsI got a lot of errors with the message : "DatabaseError: current transaction is aborted, commands ignored until end of transaction …
python django postgresql psycopg2I have the following: answers = Answer.objects.filter(id__in=[answer.id for answer in answer_set.answers.all()]) then …
django