Hi all, I need to write a system where articles can be published and I am thining about using Django, and I am impressed! I have studied the tutorial but still have a few questions before I can decide if Django is the way to go for me.
1. The articles are grouped in topics and up to an infinite number of subtopics, for example: /articles/topic/subtopic1/subtopic2/subtopic3/article1/ or /articles/topic2/article2 If this is my model (from the turotial): class Article(models.Model): pub_date = models.DateTimeField() headline = models.CharField(maxlength=200) article = models.TextField() reporter = models.ForeignKey(Reporter) def __str__(self): return self.headline How, then, should I define the category / subcategory properties? In my web interface I will need to show all articles grouped by category, for example: Topic -- some article * subtopic1 -- another article Topic2 -- yet another article 2. Each article come in two languages. Which would be the best way to achieve that? a. /articles/topic/subtopic/article/en b. /articles/en/topic/subtopic/article c. /articles/topic/subtopic/article?en 3. An article needs some basic layout, for example headlines and images. The images for an article may vary from article to article. How could I extend my model to achieve this? Is all this possible to do with Django, and, if so, how? Any pointers in the right direction or code samples are much appreciated. Thanks, Kristoffer --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---