Report
Question
So, my app should dynamically create inlineformset with variable number of extra forms depending on kwargs and/or session cookie. Then, once submitted, I should be able to validate and save the data. At first, I tried to create ...

Please briefly explain why you feel this question should be reported .

Report Cancel
0
0 Answer 8 views

Report
Question
I have a model of restaurant and userprofile. Restaurant has all the restaurant information and userprofile has information related to user like username, all the restaurants that he/she has, address, order he/she has, restaurant he/she has favorited, and is_owner.But i ...

Please briefly explain why you feel this question should be reported .

Report Cancel
0
0 Answer 8 views

Report
Question
How to view tables in django? I want to query the module that i have and want it to be appearing in the form of a table like how is happens in sql. I am working on django shell. I have ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 7 views

Report
Question
i am trying to extend the user model by creating a new model: from django.db import models from django.contrib.auth.models import User class utilisateur(models.Model): user = models.OneToOneField(User) sexe = models.CharField(max_length=1, blank=True) ville = models.CharField(max_length=50, blank=True) avatar = models.CharField(max_length=10000, blank=True) pays = models.CharField(max_length=50, blank=True) nbConnexion = models.IntegerField(default=0) fiabilite = models.IntegerField(default=0) nbMessages ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
2 Answer 3 views

Report
Question
When I have a QuerySet that may be empty, and is OK to be empty, I usually do: results = MyModel.objects.filter(something) if results: work on results Is the conditional automatically translated to bool(results), or is different to explicitly call bool() ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 2 views

Report
Question
I’ve a model Product and it has a sub model Variation for product variations. Now I am trying to add a Shop Model top of Products and I wish to get products listed uploaded by the Shop owner who created ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 2 views

Report
Question
I am learning django, currently I am working on django 1.9. I have made a model named experience, which contains: from __future__ import unicode_literals from django.db import models # Create your models here. class Experience(models.Model): designation = models.CharField(max_length=250) ...

Please briefly explain why you feel this question should be reported .

Report Cancel
solved 0
1 Answer 4 views

Report
Question
So I’d like to filter a drop-down box based on a certain value from another drop-down box. Currently I’m trying to make a forum like site and I’d like it so that when I get into the admin site, I ...

Please briefly explain why you feel this question should be reported .

Report Cancel
0
0 Answer 2 views