tinymce popups in the admin interface

2007-09-13 Thread Thomas Badran
Any one have some nice css/theme for making tiny mce look like the rest of the admin interface. It integrates so nicely anyway, and would be awesome to have it look the same. Thanks Tom --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: Decoupling templates

2007-09-12 Thread Thomas Badran
Better suggestion than mine, you learn something new every day .. I'm converting to using this now. Thanks Rajesh Tom On Wed, 2007-09-12 at 18:54 +, RajeshD wrote: > > > How can I decouple my templates to an app specific directoy? The way that my > > apps are self contained also regarding

Re: Decoupling templates

2007-09-12 Thread Thomas Badran
Personally, i have a templates directory in my app directory: project/templates project/blog/templates project/otherapp/templates etc. In my settings, i build the template dirs by definng all my dirs as relative paths, and doing some magic (hosted is worked out elsewhere, and is just the differen

Re: subclassing flatpages model

2007-09-12 Thread Thomas Badran
I do exactly this by adding a template admin/flatpages/flatpage/change_form.html That simply looks like (your tiny_mce location may vary): {% extends "admin/change_form.html" %} {% block extrahead %}{{ block.super }} {% endblock %} Hope that helps Tom On Wed, 2007-09-12 at 17:02 +, M

Re: Django Flatpages With Memcache as storage location

2007-09-09 Thread Thomas Badran
My best guess would be that you are missing the / at the start and end of the url Tom On Sat, 2007-09-08 at 21:00 -0700, Sasha Weberov wrote: > All of my flatpage pages throw a 404. If I turn debug on which > disabled cacheing they re-appear. I've tried restarting memcached and > my SCGI server

Re: Django freelance work finder

2007-09-04 Thread Thomas Badran
Doh, cant believe i missed that! Thanks Tom On Tue, 2007-09-04 at 17:31 -0500, Jeremy Dunck wrote: > On 9/4/07, Thomas Badran <[EMAIL PROTECTED]> wrote: > > > > I assume there are some other people on this list that do the occasional > > bit of freelance work.

Django freelance work finder

2007-09-04 Thread Thomas Badran
I assume there are some other people on this list that do the occasional bit of freelance work. Is there anywhere you would recommend to look for this sort of work, or software development freelance work in general? Sorry for being a bit off topic. Tom --~--~-~--~~~

Re: Anyone built a django site in Welsh?

2007-08-29 Thread Thomas Badran
mas, I'm having one hell of a problem getting certain characters to > work in Unicode django > > Basically the wW and yY with circumflexes above them. > > You don't know if they're in some wierd character set that I need to > grab somehow? > > > >

Re: Anyone built a django site in Welsh?

2007-08-29 Thread Thomas Badran
I haven't yet, but I'm currently working on a clients site that's likely to be translated at some point. Not the admin site though, just the main content. Tom On Wed, 2007-08-29 at 07:28 +, vanderkerkoff wrote: > Hello everyone > > I was wondering if anyone in this group had built a django

Re: Thumbnails for ImageField in admin pages

2007-08-28 Thread Thomas Badran
Brilliant, thankyou. Tom On Tue, 2007-08-28 at 13:51 +, daev wrote: > Try this: > > image = models.ImageField() > > def image_thumbnail(self): > return "" % > self.get_image_url() > image_thumbnail.allow_tags = True > > class Admin: > list_display = ( "image_thumbnail", ) > > >

Re: Thumbnails for ImageField in admin pages

2007-08-28 Thread Thomas Badran
> One way is using the FileBrowser: > http://trac.dedhost-sil-076.sil.at/trac/filebrowser/wiki > > But I guess there are other possibilities (just search this forum ...) > > Patrick > > On 28 Aug., 15:35, Thomas Badran <[EMAIL PROTECTED]> wrote: > > Is it possi

Thumbnails for ImageField in admin pages

2007-08-28 Thread Thomas Badran
Is it possible to have thumbnails for images in the admin pages in 0.96 (ive read something that suggests this might be possible in svn)? I keep finding wonderful new tricks like the side by side javascript stuff for many to many fields etc. but cant seem to find a sensible way of doing this.