Hi there.

I use Django 1.6 version.


I have already developed the system which works for a single user.
For later plan, I would split the models on per-user.

This is the model below which I must split on per-user.


class Questions(models.Model):

    qid = models.IntegerField(
        primary_key=True, editable=True)
    question = models.TextField(
        null=False, editable=True)
    q_time = models.TimeField(editable=True, db_index=True)


class Response_Records(models.Model):
    questions = models.ForeignKey(Questions)
    response = models.BooleanField(default=False)
    timestamp = models.DateTimeField(editable=True)



Could you tell me what is the best practice what I'd like to do.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bf6428f0-cf4b-4e58-a236-d715c580efa7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to