Re: Deprecating ADMIN_MEDIA_PREFIX

2010-11-25 Thread hejsan
In the future, how would we specify a different path for admin media? There is the case of the "same origin policy" that makes me jump through hoops to make sure that any javascript and/or iframe based goodies, such as tinymce are served from the same domain. On Nov 21, 9:23 pm, Andrew Godwin

Re: Proposal: Meta.required_together

2010-10-01 Thread hejsan
boolean. In this callable we could check whether some other fields are filled out or whatever we want. This would be a very handy feature for a very common problem. best, Hejsan On Sep 27, 7:34 am, Yo-Yo Ma <baxterstock...@gmail.com> wrote: > Thanks, David. I've read some about the "C

Re: Model translation

2010-08-17 Thread hejsan
r entry in articles %} with {% for entry in articles.localized %} in your templates. The localized function should probably do nothing if USE_MODEL_I18N is False. I haven't seen django-datatrans before. Does it play well with the Django ORM querying style? The other registration based apps don't. - hejsan -

Model translation

2010-08-04 Thread hejsan
Hi. As promised I hereby bump this old thread about model translation: http://groups.google.com/group/django-developers/browse_thread/thread/c6fdd3abea0c7f0e/8cd990e2e1f98e22?lnk=gst=hejsan#8cd990e2e1f98e22 I hope there is time to discuss this now even if it will not be targeted before the 2.0

Re: admin javacripts

2010-02-25 Thread hejsan
> This kind of sounds nice, but perhaps some sort of django namespace > could be introduced. Meaning $jQD -> dj.$: > > > > var dj = {}; > dj.$ = dj.jQuery = jQuery.noConflict(true); > This is a great idea, it also means that we could have a setting for specifying which libraries to add to

Re: Fully Polymorphic Django Models: a simple implementation

2010-01-22 Thread hejsan
This is the best news I've heard for a long time! This was also my biggest disappointment with Django. This bit me in my first django project, which incidentally was also my first experience with ORM. Basically I had the following class structure: Project Art Project Research Project

Re: Model translation

2009-12-21 Thread hejsan
Ok, thanks for letting me know. I will bump or repost after the release if this discussion doesn't catch on, and if my enthusiasm hasn't worn out by then ;) On Dec 21, 1:59 pm, Russell Keith-Magee <freakboy3...@gmail.com> wrote: > On Mon, Dec 21, 2009 at 9:37 PM, hejsan <hr.bja.

Model translation

2009-12-21 Thread hejsan
I know this has been discussed and in most threads I've found it has been disregarded with comments like: "Just use a 3rd party app" or "just use the sites-framework" but I think there are definetly advantages to having this an included feature. So here goes again: I was very surprised to find