Hi there.

I use Django 1.6 version.


I have already developed system which develop.
But, the system has designed mistook the logical design.

I must split the models on a per-user.

This is the model below which I must split on a 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 Meta:
        verbose_name = 'question'
        verbose_name_plural = verbose_name


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

    class Meta:
        verbose_name = 'resoponse record'
        verbose_name_plural = verbose_name


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/ec82b100-cd53-4608-9e0e-0d75eaf1b160%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to