Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
help with rss feed ImproperlyConfigured
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
psychok7  
View profile   Translate to Translated (View Original)
 More options Jul 6 2012, 10:52 pm
From: psychok7 <nun...@gmail.com>
Date: Fri, 6 Jul 2012 19:52:52 -0700 (PDT)
Local: Fri, Jul 6 2012 10:52 pm
Subject: help with rss feed ImproperlyConfigured

hi, i am trying to implement the syndicate feed framework simple rss with
my program, but i get a ImproperlyConfigured at /latest/feed/

Give your Debt class a get_absolute_url() method, or define an item_link() method in your Feed class.

I know i am supposed to create a get_absolute_url in my Debt model, but i dont know how to do it (already seen tutorials but cant make it work)

model:

class Debt (models.Model):

 user = models.ForeignKey(User)

 debt_name = models.TextField()

 creation_date = models.DateTimeField('date created')

 due_date = models.DateTimeField('due date')

 info = models.TextField()

 is_owing = models.BooleanField()

 is_payed = models.BooleanField()

 def __unicode__(self):
        return self.debt_name


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
psychok7  
View profile  
 More options Jul 6 2012, 10:53 pm
From: psychok7 <nun...@gmail.com>
Date: Fri, 6 Jul 2012 19:53:52 -0700 (PDT)
Local: Fri, Jul 6 2012 10:53 pm
Subject: Re: help with rss feed ImproperlyConfigured

on my feed.py i have

class LatestEntriesFeed(Feed):
    title = "Chicagocrime.org site news"
    link = "/blog/"
    description = "Recent Posts"

    def items(self):
        return Debt.objects.all().order_by('-creation_date')[:10]

can anyone help me?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
psychok7  
View profile   Translate to Translated (View Original)
 More options Jul 7 2012, 3:27 pm
From: psychok7 <nun...@gmail.com>
Date: Sat, 7 Jul 2012 12:27:54 -0700 (PDT)
Local: Sat, Jul 7 2012 3:27 pm
Subject: Re: help with rss feed ImproperlyConfigured

anyone??


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »