what Im looking to do is to have a link on the name of a field of a model. So when im filling the form using the admin interface i can access some information.
Here, I am a bit confused with forms in Django. I have information for the form(a poll i.e the poll question and options) coming from some db_table - table1 or say class1 in models. Now the vote from
It used to work, and now it doesn\'t. python manage.py syncdb no longer makes tables for my app. From settings.py:
I have a many-to-many field on one of my models and a ModelForm to represent it. I have it in a template but it shows up as a multiple s开发者_JS百科elect field. I need it to show up as a CharField so
I\'m trying to get the related_name of a many-to-many-field. The m2m-field is located betweeen the models \"Group\" and \"Lection\" and is defined in the group-model as following:
What is the best approach to extending the Site model in django? Creating a new model and ForeignKey the Site or there another approach that allows me to subclass the Site model?
This is are my models i want to relate. i want for collection to appear in the form of occurrence. class Collection(models.Model):
I\'m looking for a way to do asynchronous data processing with a daemon that uses Django ORM. However, the ORM isn\'t thread-safe; it\'s not thread-safe to try to retrieve / modify django objects from
I am new to the Django framework. On Django\'s admin index page I\'d like to get rid of the \"s\" at the end of my model names.
I am working through the Django tutorials, and now I am at creating a poll. The code below works fine until I want to create 开发者_开发知识库choices, where for some reason I always get this error m