i want to create one view only with *post list* and *categories list* on my 
main page template html.
the categories is a new class with colum title and is many to many 
relatioship to my *post class.*






*class Category(models.Model):    cattitle = 
models.CharField(max_length=1,choices=CATEGORY_CHOICES)class 
Movies(models.Model):    Title = 
models.CharField(max_length=100,blank=True)    category = 
models.ManyToManyField(Category)*
can somebody to help with an example

and i want to use for that generic display views,list views and details 
views but is option not necerery

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/fe80ea06-46c0-4397-a35a-dca9f0e111b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to