Re: help with rss feed ImproperlyConfigured

2012-07-07 Thread psychok7
anyone??

On Saturday, July 7, 2012 3:52:52 AM UTC+1, psychok7 wrote:
>
> 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 received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/QTr8HDaFi6AJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: help with rss feed ImproperlyConfigured

2012-07-06 Thread psychok7
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?

On Saturday, July 7, 2012 3:52:52 AM UTC+1, psychok7 wrote:
>
> 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 received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/Q8HyQT5lnWoJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



help with rss feed ImproperlyConfigured

2012-07-06 Thread psychok7
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 received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/cs2jbuw6zaAJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: help for RSS Feed

2008-11-03 Thread Jarek Zgoda

Wiadomość napisana w dniu 2008-11-03, o godz. 11:59, przez please smile:

>  Can anybody please send me a small RSS feed application using django.
> Thanks.


Google code has plenty of them.

-- 
We read Knuth so you don't have to. - Tim Peters

Jarek Zgoda, R, Redefine
[EMAIL PROTECTED]


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



help for RSS Feed

2008-11-03 Thread please smile
Hi All ,
 Can anybody please send me a small RSS feed application using django.
Thanks.

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