Hello everyone!

Sorry for another stupid question, but there it is. I'm building a
news app for a website for a self-teaching and figured out I don't
understand some basic thing. I want news to publish news from
different sources:

1. Add 'em manually all by myself (that's no problem)
2. Allow registered users suggest news to publish (that I also
understand)
3. Allow unregistered site visitors suggest news for publishing (via
form)
4. Republish some posts from RSS feeds while keeping credentials
5. Receive, parse and publish emails.

The model for the news entry itself is pretty straight forward:

class Entry(models.Model):
        author = models.ForeignKey(User)
        title = models.CharField(max_length=250)
        slug = models.SlugField(prepopulate_from=('title',),
unique_for_date=('pub_date'), help_text=u'URL for the entry')
        pub_date = models.DateTimeField(u'Date posted',
default=datetime.datetime.today)

        body = models.TextField()

        categories = models.ManyToManyField(Category)
        tags = TagField()

I'm having problems with defining how do I treat relationship between
an Entry and non-authenticated sources (data from a form, rss, email)?
Any suggestions on which way to dig?

Also, any suggestions on what would a better way to manage a queue of
news -- keeping the queue in the Entry model and handling the queuing
via Entry Status or having a separate model for incoming data and re-
inserting news into the Entry model for publishing?
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to