2008-3-5
| 23:55 | EyePulp_ | is there a proper way to limit the number of times through a for loop on the template side? or is the best/only method to text the .counter on each loop? |
| 23:55 | Magus- | limit your data |
| 23:55 | EyePulp_ | yeah, I just noticed ... no way to break |
| 23:56 | luris | The Content instance referencing an item must be updated if the item is updated or commented on, which is also quite messy. |
| 23:57 | Magus- | is Content just a log then? |
| 23:57 | Zalamander | EyePulp_ (untested) {% for thing in container|slice:"maxtimes" %} |
| 23:57 | luris | Magus-: Well, it's a log .. but it's the essence of my service |
| 23:57 | salkot | I want to use object_list but all my custom context processors to be available. Do I have to somehow get the dict out of a manually-created RequestContext object, and pass that as the extra_context arg to object_list, or is there an easier way that I'm not seeing? |
| 23:57 | Magus- | salkot: generics already use RequestContext of course |
| 23:57 | ubercore | i'm going to ask again, on the off chance that somebody new is here -- anyone tried to run some .php pages alongside of a django app (in the same vhost)? |
| 23:58 | salkot | thanks Magus- |
| 23:58 | luris | Magus-: It's the way in which I've chosen to present content to the users. Instead of listing photos, then entries, then videos, then comments etc .. I mix them together |
| 23:58 | salkot | ubercore, yes we were doing that for a bit |
| 23:58 | Zalamander | luris updating the associated Content objects sounds like a good job for a signal |
| 23:58 | luris | Magus-: Think tumblr meets facebook feeds or something like that :) |
| 23:59 | ubercore | salkot: how did you manage the apache config? I'm trying to set up <Location /php> to give me a php directory, but am having no luck so far |
| 23:59 | mxmasster | is there a way to include a file from settings.py that will override the settings.py settings? |
| 23:59 | Magus- | just import from it, of course |
| 23:59 | Emilian | oh man nothing like some good, crisp, cold water when you are thirsty to let you know that you are ALIVE! /grin |
Page 28 of 28
← Previous
(2,719 total)