2006/5/30, Kristoffer <[EMAIL PROTECTED]>:

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.

I'm in the same case so  do not take my answers for guru answers ;)

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

You can have a look at http://code.djangoproject.com/wiki/CookBookDataModels there are plenty of useful stuff concerning categories (including recursive ones).

2. Each article come in two languages. Which would be the best way to
achieve that?
a. /articles/topic/subtopic/article/en

Not really intuitive.

b. /articles/en/topic/subtopic/article

The best in my mind.

c. /articles/topic/subtopic/article?en

Ugly ;)

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?

Not enough qualified, take a look at http://www.djangoproject.com/documentation/static_files/ but I'm not sure of the question. Maybe ImageField  (http://www.djangoproject.com/documentation/model_api/#imagefield ) is what you are looking for?

Cheers,
David



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to