

Some questions are logically nonsensical because the querent thinks they know more than they do.
A lot of these have the form ‘How do I use X to accomplish Y?’ There's nothing wrong with this, except that sometimes X is a chocolate-covered banana and Y is the integration of European currency systems.
Mark-Jason Dominus
[18:33] <xeon123> I want to show the fields of a json file in a html form. How I do this with django?
24 minutes later...
[18:57] <FunkyBob> your real problem is "How can I present a form to edit my settings, which are stored in JSON?"
Table A has a FK to B and also a FK to User
I want all rows in B that are NOT a FK in A when User_id = 1
class A(models.Model):
user = models.ForeignKey('auth.User')
class B(models.Model):
a = models.ForeignKey('a')
OR
I have a table called Ranks. This table holds rankings of Game titles that a user has ranked. So: Rank: rank_id, user_id(FK=User), game_id(FK_Game), rank)
Game is another table which is: Game: game_id, name
I want all 'unranked' games for user 1
class Ranks(models.Model):
user = models.ForeignKey('auth.User')
game = models.ForeignKey('Game')




No, we're not mind readers!
11:53 < FunkyBob> hyp3rkyd: nope... would need more details
11:53 < hyp3rkyd> FunkyBob: like ?
11:54 < FunkyBob> hyp3rkyd: like which url conf it's talking about, and what's in it
11:54 < FunkyBob> hyp3rkyd: probalby also some details on how you've configured mod_wsgi... and if anything else in your project is working
12:02 < Maior> hyp3rkyd: because having previously wasted time on people who "just removed some irrelevant stuff" (that turned out to be useful), I just don't see it as worthwhile any more
12:03 < hyp3rkyd> Maior: well I am not one of those people and I respect the time of people helping