Re: propagation of modification in children to parents

2008-07-20 Thread Andre Meyer
hi Julien that makes perfect sense and looks much better than auto_now. always good to avoid deprecated stuff. thanks a lot André On Mon, Jul 21, 2008 at 6:26 AM, Julien Phalip <[EMAIL PROTECTED]> wrote: > > Hi, > > The declarative attribute 'auto_now' (as well as 'auto_now_add') is > depreca

Re: i18n project custom locale won't stick

2008-07-20 Thread robin
Thank you for clarifying, I hope this will be crawled and help other googlers. However, I'll like to point out that users like me can (WILL) get confused as we read on in the documentation, because we will reach the section called 'Using translations in your own projects' which is the most releva

Template Hiding Strings with Non-Ascii Characters

2008-07-20 Thread Chris
I'm running the current trunk, and I'm seeing a strange problem. I noticed Django's templates were occasionally displaying variables as empty strings, when there should have been something. Then I realized, all the strings that weren't being shown had a \x... character in them. I can understand wh

Re: Template Hiding Strings with Non-Ascii Characters

2008-07-20 Thread Malcolm Tredinnick
On Sun, 2008-07-20 at 22:03 -0700, Chris wrote: > I'm running the current trunk, and I'm seeing a strange problem. I > noticed Django's templates were occasionally displaying variables as > empty strings, when there should have been something. Then I realized, > all the strings that weren't bein

Re: Using multiple databases

2008-07-20 Thread CPF_
Ben Ford wrote: > Hi There, > > It has been possible in the past to use multiple databases with > django. There was a branch for it and about a year ago it was bought > up to date with trunk. However that branch hasn't seen any activity > for some time and is effectively dead. There's now a (lo

Template Hiding Strings with Non-Ascii Characters

2008-07-20 Thread Chris
Forgive the repost, but after initially seeing my original post, Google appears to have deleted it, so here goes again. I'm running the current trunk, and I'm seeing a strange problem. I noticed Django's templates were occasionally displaying variables as empty strings, when there should have bee

Re: Pickle a django form

2008-07-20 Thread Evert
> Same problem here . > > Im trying to put a form into de session but I can't. The error it gave > me was the same you have There are limitations to what can be pickled; see http://docs.python.org/lib/node317.html I don't know the intrinsic details of how a form is pickled, but probably

Re: propagation of modification in children to parents

2008-07-20 Thread Julien Phalip
Hi, The declarative attribute 'auto_now' (as well as 'auto_now_add') is deprecated and its support will eventually be dropped. To achieve that you need to override the 'save' method. In that same method you can also call the parent's 'save' method to propagate the change to the ancestors: ModelA

Re: Pickle a django form

2008-07-20 Thread JPC
Same problem here . Im trying to put a form into de session but I can't. The error it gave me was the same you have On Jun 25, 5:24 am, Rufman <[EMAIL PROTECTED]> wrote: > I'm trying to create a little hack, so that i have dynamic django > forms. > So that i have the state of the form

Re: Sets

2008-07-20 Thread Cole Tuininga
>> On Sat, Jul 19, 2008 at 11:50 PM, Julien Phalip <[EMAIL PROTECTED]> wrote: >> > >> Oops - sorry, I wasn't very clear in my original request. I'm looking >> for a set type in the Django model hierarchy. Does this make more >> sense? > > A set is just an unordered collection of objects. In othe

Re: JSON Fixture with Foreign Key - How do I import it successfully?

2008-07-20 Thread jawspeak
>   {"pk": "0", "model": "polls.Choice", "fields": { "choice": "I like > vegetables", "votes": "0"}} also, fyi, it looks like primary keys have to start at 1 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django us

Re: JSON Fixture with Foreign Key - How do I import it successfully?

2008-07-20 Thread jawspeak
Here's a trick: use the manage.py dumpdata command to see what the existing format is! [ { "pk": "1", "model": "polls.poll", "fields": { "pub_date": "2008-07-20 17:44:31", "question": "TEST 1" } }, { "pk": "1", "model": "polls.choice", "fields": {

JSON Fixture with Foreign Key - How do I import it successfully?

2008-07-20 Thread jawspeak
I don't know how to import a json fixture that uses a foreign key. Searching the forums and web wasn't helpful for me to find specifics, so I hoep someone can point out my silly mistake. Hers's my example json: [ {"pk": "0", "model": "polls.Choice", "fields": { "choice": "I like vegetables", "

Re: Django Deploy

2008-07-20 Thread Graham Dumpleton
Are you targeting mod_python or mod_wsgi? On Jul 21, 8:33 am, DoctorMO <[EMAIL PROTECTED]> wrote: > Hey all, > > In order to deploy multiple django based websites I've created a set > of scripts which build the setup.py and debian directory for deb based > deployment of django websites. At the mo

Re: superuser has no rights with newforms admin

2008-07-20 Thread Justin Wong
Well, I tracked down the admin/index.html page and I see that it checks the variable app_list. Going to django/contrib/admin/sites.py, I put a print statement to print out my app_list. Can anyone spot anything wrong? [ { 'has_module_perms': True, 'models': [ { 'admin_url': 'auth

Re: Sets

2008-07-20 Thread Cole Tuininga
On Sat, Jul 19, 2008 at 11:50 PM, Julien Phalip <[EMAIL PROTECTED]> wrote: > > 'set' is a Python standard object [1], since version 2.4. In version > 2.3 you need to import the 'Set' package first. > So, if you care about backward compatibility in Python, the most > secure way to import it is: Oo

Tests that autodelete models to ensure no shared state

2008-07-20 Thread jawspeak
Shared global state (in the database) between test runs is dangerous. If I use the django.test.testcases.TestCase superclass for my test cases, it will clear the global state -- but only before each run, so the last one that runs will not clear out the objects I created (or the fixture). My Pyth

When flatpages default.html is missing, Django server error page not showing.

2008-07-20 Thread eka
HI all, Just testing the Flatpages functionality out of django and found out that when the default.html template is missing, the error is not showing on the default django error way, but a simple stack error. Don't know if this is a bug. I'm using 0.97-pre-SVN-8012. My flat page work well when p

Re: superuser has no rights with newforms admin

2008-07-20 Thread Justin Wong
Hello! I'm still getting the "You don't have permission to edit anything." message and I'm kinda stumped. I am using Django changelist 8012, which should be post merge. I put print right before the __import__ statement and it seems like the admin.py files for auth, sites, and my apps are being i

CommentPress

2008-07-20 Thread sv
Hello, this is my first post, and first I must say thanks to the django community for that piece! I'm looking for implementing a similar system as commentPress : http://www.futureofthebook.org/commentpress/ in django, but I can't really find out how. CommentPress is a plugin for wordpress which s

Re: Standard documentation method.

2008-07-20 Thread Julien Phalip
Hi, Django is just Python, and documentation works the same way as in any Python code. Not sure what you're actually after but you might want to check this excellent article by J. Bennett about documentation: http://www.b-list.org/weblog/2008/jun/21/documentation/ On Jul 19, 1:52 am, Chris <[EMA

Re: superuser has no rights with newforms admin

2008-07-20 Thread Karen Tracey
On Sun, Jul 20, 2008 at 12:01 PM, Jon Atkinson <[EMAIL PROTECTED]> wrote: > I've uploaded my complete project tree (it's fairly small, and I've > included the sqlite database). The admin username and password is > 'test'. It's available at: > > http://jonatkinson.co.uk/static/junk/myproj.zip > > F

Re: How to display UserProfiles in newforms-admin

2008-07-20 Thread Adi J. Sieker
On Sun, 20 Jul 2008 21:35:44 +0200, Bernd Donner <[EMAIL PROTECTED]> wrote: > In the old version of the admin site the fields of the UserProfile could > be > displayed "inline" on the corresponding User page of the admin site. > This was > done by somthing like: > > class UserProfile(models

/contrib/admin/urls.py doesn't exist

2008-07-20 Thread Filipe Sabella
Hello, I'm following the tutorial from the official Django website and, on the second part, when I try to access localhost:8000/admin, I get this exception: ImproperlyConfigured: Error while importing URLconf 'django.contrib.admin.urls': No module named urls I'm using the latest version from the

Re: Creating Dybamic "models"

2008-07-20 Thread code-zoop
On Jul 20, 6:36 pm, Bradley Wright <[EMAIL PROTECTED]> wrote: > On Jul 20, 8:45 am, festersen <[EMAIL PROTECTED]> wrote: > > > > In a more upscaled version I > > > could have 10 different article types, where all of them are slightly > > > different. > > > maybe you want to read some notes about

Re: /contrib/admin/urls.py doesn't exist

2008-07-20 Thread Horst Gutmann
The newforms-admin branch was merged into trunk 2 days ago and I think there is still some cleanup going on in the tutorials :-) For details on what you have to change to get trunk working for you again, take a look at the BackwardsIncompatibleChanges-wikipage :-) http://code.djangoproject.com/wi

Re: filter on a method

2008-07-20 Thread Malcolm Tredinnick
On Sun, 2008-07-20 at 10:28 +0200, Andre Meyer wrote: > hi all > > it does not seem to be possible to filter on the return value of a > model's method, or is it? No, it isn't. Filtering and sorting are converted to SQL statements and there's no way to write an SQL statement in this fashion. >

Re: Using multiple databases

2008-07-20 Thread Ben Ford
Hi There, It has been possible in the past to use multiple databases with django. There was a branch for it and about a year ago it was bought up to date with trunk. However that branch hasn't seen any activity for some time and is effectively dead. There's now a (low key) effort under way to come

Re: How to display UserProfiles in newforms-admin

2008-07-20 Thread [EMAIL PROTECTED]
As long as it works(which I have every reason to believe it does), yes that looks like the best solution. On Jul 20, 4:25 pm, Bernd Donner <[EMAIL PROTECTED]> wrote: > Thanks for the link. Since UserAdmin is not directly under my control I came > up with the following solution: > > from django.co

Re: filter on a method

2008-07-20 Thread Andre Meyer
hi Malcolm thanks a lot for your explanations. i am much more fluent with Python than SQL, anyway ;-) do you happen to have a good link for a merge-sort-style technique at hand? btw: wrt. merging query sets, i tried this ModelA.objects.filter(parent=None) | ModelB.objects.filter(item=None) bu

Re: i18n project custom locale won't stick

2008-07-20 Thread Malcolm Tredinnick
On Sun, 2008-07-20 at 13:02 -0700, robin wrote: > I've spend 3 days on this. Please help. > > I've created the following locale to my project below: > /home/robin/myproject/locale/id/LC_MESSAGES/django.po > /home/robin/myproject/locale/id/LC_MESSAGES/django.mo > > so I have a custom language wh

Re: How to display UserProfiles in newforms-admin

2008-07-20 Thread Bernd Donner
Thanks for the link. Since UserAdmin is not directly under my control I came up with the following solution: from django.contrib.auth.admin import UserAdmin class UserProfile(models.Model): ... user = models.ForeignKey(User, unique=True, core=True) class UserProfileInline(admin.StackedInl

i18n project custom locale won't stick

2008-07-20 Thread robin
I've spend 3 days on this. Please help. I've created the following locale to my project below: /home/robin/myproject/locale/id/LC_MESSAGES/django.po /home/robin/myproject/locale/id/LC_MESSAGES/django.mo so I have a custom language which is suppose to be Indonesian indentified as 'id' Done djang

Re: How to display UserProfiles in newforms-admin

2008-07-20 Thread slav0nic
#admin.py from django.contrib import admin from profile.models import UserProfile from django.contrib.auth.models import User class ProfileInline(admin.StackedInline): model = UserProfile extra = 1 max_num = 1 class ProfileAdmin(admin.ModelAdmin): inlines = (ProfileInline,) admi

Re: django Tutorial for NFA has bugs

2008-07-20 Thread Chris H.
On Jul 20, 3:21 pm, John M <[EMAIL PROTECTED]> wrote: > Given that the group has figured out that you need to run > autodiscover() and register any models you want to show in NFA Admin > page, I wanted to point out that the tutorial has the same bug, > somewhere in Tutorial 2, it tells you to un-c

django Tutorial for NFA has bugs

2008-07-20 Thread John M
Given that the group has figured out that you need to run autodiscover() and register any models you want to show in NFA Admin page, I wanted to point out that the tutorial has the same bug, somewhere in Tutorial 2, it tells you to un-comment the # for admin access, which DOES NOT show anything in

Re: 0.96 EOL

2008-07-20 Thread [EMAIL PROTECTED]
Django provides security updates for the past 3 revisions, so this would include .96 I believe. Otherwise django does not have a policy of backporting non-security issues. On Jul 20, 1:35 pm, leonel <[EMAIL PROTECTED]> wrote: > Hello : > > After  version 1.0  are there any plans to support  0.96

Question admin area and logging of changes of models

2008-07-20 Thread Oliver Andrich
Hi, I have currently the desire to use the logging support from the admin app in my own app. This step is solved. But how does the app accomplish the task to determine which fields have changed on the given instance. Is there an easy way to achieve that in my own app? Best regards, Oliver

0.96 EOL

2008-07-20 Thread leonel
Hello : After version 1.0 are there any plans to support 0.96 for some time even a 2 month period ?? Thanks Leonel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

Re: Sets

2008-07-20 Thread Malcolm Tredinnick
On Sun, 2008-07-20 at 10:05 -0400, Cole Tuininga wrote: > On Sat, Jul 19, 2008 at 11:50 PM, Julien Phalip <[EMAIL PROTECTED]> wrote: > > > > 'set' is a Python standard object [1], since version 2.4. In version > > 2.3 you need to import the 'Set' package first. > > So, if you care about backward

Re: Is Django development active?

2008-07-20 Thread Tim Chase
>> I got that illusion due the slow official releases cycle... > > Be careful with this logic, because it is misleading. For example: > Britain has not had a new Prime Minister since June 2007; does this > mean the British Government has not done anything in the past year? Heh, the USA has been

Re: Is Django development active?

2008-07-20 Thread Andrew Ingram
James Bennett wrote: > On Sun, Jul 20, 2008 at 6:57 AM, Hussein B <[EMAIL PROTECTED]> wrote: > >> I got that illusion due the slow official releases cycle... >> > > Be careful with this logic, because it is misleading. For example: > Britain has not had a new Prime Minister since June 2007

Re: superuser has no rights with newforms admin

2008-07-20 Thread eka
Hi I'm installing it from SVN and got "You don't have permission to edit anything", I made it work before, but now when I try to follow the book can't. Could you tell me what should I add to have full permissions? Regards On Jul 20, 7:43 am, "Jon Atkinson" <[EMAIL PROTECTED]> wrote: > On Sun, Ju

Re: superuser has no rights with newforms admin

2008-07-20 Thread Jon Atkinson
> You can't really be using trunk 7951 -- that's from before newforms-admin > merge which was 7967?? Try updating to latest trunk? So I feel slightly ... foolish :-) --Jon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: superuser has no rights with newforms admin

2008-07-20 Thread Jon Atkinson
> Does that mean it works for you as well if you update to latest? I only > knew nfa was not part of trunk at that point because I looked it up after > trying reverting to 7951 to test your environment. I found the > autodiscover() caused an exception because it didn't exist...so if you were > r

Re: superuser has no rights with newforms admin

2008-07-20 Thread Karen Tracey
On Sun, Jul 20, 2008 at 12:32 PM, Jon Atkinson <[EMAIL PROTECTED]> wrote: > > > You can't really be using trunk 7951 -- that's from before newforms-admin > > merge which was 7967?? Try updating to latest trunk? > > So I feel slightly ... foolish :-) > Does that mean it works for you as well if y

Re: Creating Dybamic "models"

2008-07-20 Thread Bradley Wright
On Jul 20, 8:45 am, festersen <[EMAIL PROTECTED]> wrote: > > In a more upscaled version I > > could have 10 different article types, where all of them are slightly > > different. > > maybe you want to read some notes about "inheritance" The "inheritance" being referring to: http://www.djangoproj

Re: superuser has no rights with newforms admin

2008-07-20 Thread Jon Atkinson
> It sounds like your admin.py file has already been imported by something > else before the autodiscover() is called. Did you add an import of your > app's admin into your models.py? That shouldn't be necessary. Also make sure > you don't have an import for it in your __init__.py file; that was

Re: superuser has no rights with newforms admin

2008-07-20 Thread Karen Tracey
On Sun, Jul 20, 2008 at 9:11 AM, eka <[EMAIL PROTECTED]> wrote: > > Hi > > I'm installing it from SVN and got "You don't have permission to edit > anything", I made it work before, but now when I try to follow the > book can't. Could you tell me what should I add to have full > permissions? > I h

Re: superuser has no rights with newforms admin

2008-07-20 Thread Karen Tracey
On Sun, Jul 20, 2008 at 11:05 AM, Jon Atkinson <[EMAIL PROTECTED]> wrote: > >> > I have no idea what is going on in cases where people have > >> > admin.autodiscover() in their urls.py yet still get this "You don't > have > >> > permission to edit anything" message. I'd suggest you put a print >

Re: superuser has no rights with newforms admin

2008-07-20 Thread Jon Atkinson
>> > > I'm installing it from SVN and got "You don't have permission to edit >> > > anything", I made it work before, but now when I try to follow the >> > > book can't. Could you tell me what should I add to have full >> > > permissions? >> >> > I have no idea what is going on in cases where peop

Re: Sets

2008-07-20 Thread Karen Tracey
On Sun, Jul 20, 2008 at 10:05 AM, Cole Tuininga <[EMAIL PROTECTED]> wrote: > > On Sat, Jul 19, 2008 at 11:50 PM, Julien Phalip <[EMAIL PROTECTED]> wrote: > > > > 'set' is a Python standard object [1], since version 2.4. In version > > 2.3 you need to import the 'Set' package first. > > So, if you

Re: superuser has no rights with newforms admin

2008-07-20 Thread eka
admin.autodiscover() in the urls.py did the trick. Thanks for the answers. On Jul 20, 10:21 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Sun, Jul 20, 2008 at 9:11 AM, eka <[EMAIL PROTECTED]> wrote: > > > Hi > > > I'm installing it from SVN and got "You don't have permission to edit > > any

Re: superuser has no rights with newforms admin

2008-07-20 Thread eka
'The' book -> Django book On Jul 20, 11:07 am, eka <[EMAIL PROTECTED]> wrote: > admin.autodiscover() in the urls.py did the trick. > > Thanks for the answers. > > On Jul 20, 10:21 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > > > On Sun, Jul 20, 2008 at 9:11 AM, eka <[EMAIL PROTECTED]> wrote: >

Re: Great work with newforms-admin

2008-07-20 Thread Kenneth Gonsalves
On 19-Jul-08, at 10:34 PM, Ramdas S wrote: > Can you just share the wiki page link please. I need some place to > start start with an svn co. keep running the prog till there are no errors. -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/code/ --~--~-~--~-

Re: Is Django development active?

2008-07-20 Thread James Bennett
On Sun, Jul 20, 2008 at 6:57 AM, Hussein B <[EMAIL PROTECTED]> wrote: > I got that illusion due the slow official releases cycle... Be careful with this logic, because it is misleading. For example: Britain has not had a new Prime Minister since June 2007; does this mean the British Government ha

Re: filter on a method

2008-07-20 Thread [EMAIL PROTECTED]
It sounds like you want to give each of the models it's own manager. On Jul 20, 3:28 am, "Andre Meyer" <[EMAIL PROTECTED]> wrote: > hi all > > it does not seem to be possible to filter on the return value of a model's > method, or is it? are there alternative ways to achieve this? > > my situatio

Re: custom AdminSite access for non-staff user (newforms-admin)

2008-07-20 Thread Karen Tracey
On Sun, Jul 20, 2008 at 3:37 AM, SanPy <[EMAIL PROTECTED]> wrote: > Is it possible to allow a non-staff member access to a custom > AdminSite? When I try to login as a non-staff user, I get the error > message: "Please enter a correct username and password. Note that both > fields are case-sensiti

Re: Is Django development active?

2008-07-20 Thread Tim Chase
> Why there is no active development effort in Django framework? > Last edition released at October 2007 (if I'm not wrong). I'm not sure where you get the idea that there's no active development...a quick check of the website (www.djangoproject.com) shows a flurry of activity. There hasn't b

Re: Adding and removing template dirs on the fly

2008-07-20 Thread Martin Diers
Couldn't you just create a dummy file in /channel_a for part2.html, and in /channel_b for part1.html, such that the dummy files do nothing but include the content of the corresponding parent? On Jul 17, 2008, at 8:04 AM, 3xM wrote: > > > > On Jul 17, 1:59 pm, Arien <[EMAIL PROTECTED]> wrote:

Re: Is Django development active?

2008-07-20 Thread Hussein B
I got that illusion due the slow official releases cycle... On Jul 20, 6:41 am, Tim Chase <[EMAIL PROTECTED]> wrote: > > Why there is no active development effort in Django framework? > > Last edition released at October 2007 (if I'm not wrong). > > I'm not sure where you get the idea that there'

Re: Creating Dybamic "models"

2008-07-20 Thread scooper
> I am trying to find a more flexible way, where I can add > custom fields (for example add a new text field or a check box). How > ca I do this without modifyig the model? If you want something that allows for unknown future additions of new fields, I personally would consider using adding "prop

Re: Is Django development active?

2008-07-20 Thread Horst Gutmann
Uhm did you actually take a look at the timeline [1] before writing this? Or considered searching the archive of this mailinglist? [1] http://code.djangoproject.com/timeline -- Horst On Sun, Jul 20, 2008 at 1:14 PM, Hussein B <[EMAIL PROTECTED]> wrote: > Hi. > Why there is no active develop

Re: Using multiple databases

2008-07-20 Thread CPF_
[EMAIL PROTECTED] wrote: > Dan wrote: >> >> Most ideally we would like to have it so that the application >> uses DB1 >> (defined in the settings.py file) as the main database, but when >> it's >> down to users, uses DB2.user as the users table. >> Currently we are thinking of us

Re: Is Django development active?

2008-07-20 Thread elithrar
On Jul 20, 7:14 pm, Hussein B <[EMAIL PROTECTED]> wrote: > Hi. > Why there is no active development effort in Django framework? > Last edition released at October 2007 (if I'm not wrong). There is actually a lot of active development going on - the version numbering on the site isn't an accurate

Is Django development active?

2008-07-20 Thread Hussein B
Hi. Why there is no active development effort in Django framework? Last edition released at October 2007 (if I'm not wrong). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

Re: superuser has no rights with newforms admin

2008-07-20 Thread Jon Atkinson
On Sun, Jul 20, 2008 at 2:01 AM, stryderjzw <[EMAIL PROTECTED]> wrote: > > Strange, I'm getting the message "You don't have permission to edit > anything." on the admin homepage. I've done admin.autodiscover() on > the project urls page, I've created admin.py files for my models and > registered t

Re: multiple managers in admin for same model

2008-07-20 Thread Alon Levy
On Jul 11, 3:30 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2008-07-10 at 04:32 -0700,AlonLevy wrote: > > [...] > > > So does anyone know of a simple way to get two different manager views > > in admin? > > [...] > > solution is to create a subclass of both managers. If you want

Re: Creating Dybamic "models"

2008-07-20 Thread festersen
> I am trying to find a more flexible way, where I can add > custom fields (for example add a new text field or a check box). How > ca I do this without modifyig the model? > I think, there's no more flexible way as modifying the model (and, clearly, alter the database...) > In a more upscaled v

custom AdminSite access for non-staff user (newforms-admin)

2008-07-20 Thread SanPy
Is it possible to allow a non-staff member access to a custom AdminSite? When I try to login as a non-staff user, I get the error message: "Please enter a correct username and password. Note that both fields are case-sensitive." Regards, Sander. --~--~-~--~~~---~--~---

Re: How to have both newforms-admin and previous version on the same machine?

2008-07-20 Thread Andre Meyer
hi all newforms-admin has been merged, so you can go back to trunk. anyway, maybe you can do the same as i do: put a django.pth file in site-packages which includes all the paths to the branches you want to use. just uncomment the one you want to use at a given moment. you can add more paths to t

propagation of modification in children to parents

2008-07-20 Thread Andre Meyer
hi all i have a model with a modifed field modified = models.DateTimeField(auto_now=True) and a parent field parent = models.ForeignKey('self', related_name='children', null=True, blank=True) in order to allow for creating a tree of items. what is the best way to propagate a modification in a

filter on a method

2008-07-20 Thread Andre Meyer
hi all it does not seem to be possible to filter on the return value of a model's method, or is it? are there alternative ways to achieve this? my situation is as follows: there is a model with several child models (via model inheritance). i want to retrieve in a single query set all instances (f

Re: Using Django Syndication for RSS Feed

2008-07-20 Thread Julien Phalip
Just found this via google: http://lexhair.wordpress.com/2007/08/29/rss-feeds-and-internet-explorer-6/ Apparently IE 6 and RSS are not friends... On Jul 20, 3:23 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm trying to generate RSS feed for my site using Django's syndication > framewo