Re: django-trackback usage?

2009-09-24 Thread josebrwn
, 11:43 am, josebrwn wrote: > Hi, Here's my save method: >         def save(self): >                 super(Entry, self).save() >                 print "hello world from models" >                 signals.send_pingback.send(sender=self.__class__, > instance=self) >    

Re: django-trackback usage?

2009-09-24 Thread josebrwn
any errors, which you think are a fault of django- > trackback, then please open an issue > athttp://code.google.com/p/django-trackback/issues/list > > - arne > > On Sep 24, 12:47 am, josebrwn wrote: > > > I'm wondering if anybody who's using trackback can answ

django-trackback usage?

2009-09-23 Thread josebrwn
I'm wondering if anybody who's using trackback can answer a simple question that has me stumped. I added the signals code to my class' save method, and it runs, it just doesn't seem to do anything. I have the code running on two sites and when I save entries that point at one another, nothing ev

can you have a flatpage with url of "/" when Debug=True?

2009-06-13 Thread josebrwn
If Debug = True, you can have a flatpage with URL = "/" that is handled by FlatpageFallbackMiddleware: MIDDLEWARE_CLASSES = ( ... 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', ) If Debug = False, the flatpage will 404. Is there a way to have a flatpage as your site's

how to override ordering in date-based generic views

2009-06-07 Thread josebrwn
Hi, I'm looking for a straightforward way to override the default ordering of the date-based generic view, in order to allow 'featured' entries to percolate to the top in a coltrane blog. So: info_dict = { 'queryset': Entry.objects.all(), 'date_field': 'pub_date', } urlpatterns = patte

Re: simple of flatpages with custom ordering

2009-06-04 Thread josebrwn
thank you! --~--~-~--~~~---~--~~ 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 django-users+unsubscr

simple of flatpages with custom ordering

2009-06-04 Thread josebrwn
Hi, I would like to have a list of recent flatpages. I'm doing something like: class LatestCmsNode(template.Node): def render(self, context): context['latest_cms'] = FlatPage.objects.all()[:2] return '' but this orders the results by url (title), and wh

passing current datetime to generic view archive_year in a decoupled url

2009-05-02 Thread josebrwn
Hi, I'm trying to pass the current year the date based view archive_year using the "url" template tag, and I'm stuck trying to get the current time to resolve. this works just fine: {% now "Y" %} but this (as well as many variations) {% now "Y" %} gets: NoReverseMatch: Reverse for 'cms.coltr