Re: Ordering a django change list page via jQuery?

2009-08-25 Thread Niall Mccormack
You have a good point there. I only needed this to work with a small number of items. Would you know how to do this any other way? On 20 Aug 2009, at 14:36, krylatij wrote: > > I think that is not the best solution. > As i understand you are ordering only displayed items because of >

Re: Ordering a django change list page via jQuery?

2009-08-20 Thread Niall Mccormack
If anyones interested, I managed to do this myself. write up of solution is here... http://stackoverflow.com/questions/1294489/ordering-a-django-change-list-page-via-jquery On 18 Aug 2009, at 16:09, Niall Mccormack wrote: > I would like to be able to reorder lists of Models via a jQu

Ordering a django change list page via jQuery?

2009-08-18 Thread Niall Mccormack
I would like to be able to reorder lists of Models via a jQuery script. I already have reordering within inLines on the Model update page, but I'd like to add it to the change_list page aswell? Is this possible? I'm using Django 1.1 so have access to action sheets, if that makes things

Re: edit_inline_stacked template

2009-01-04 Thread Niall Mccormack
After learning JQuery in a couple of hours I've done just that!! I presume it's best to add simple functionality like this rather than use templates? Cheers Niall On 4 Jan 2009, at 16:33, Daniel Roseman wrote: > > On Jan 4, 10:18 am, Niall Mccormack <mailingli...@itsallmememe.com

edit_inline_stacked template

2009-01-04 Thread Niall Mccormack
Hi there, I'm trying to override the edit_inline_stacked template so I can dynamically add in extra inline data via javascript - similar to http://www.arnebrodowski.de/blog/507-Add-and-remove-Django-Admin-Inlines-with-JavaScript.html I can override the change_form admin template, but can't

Re: ignore url

2008-10-27 Thread Niall Mccormack
Cool, thanks for the reply! On 24 Oct 2008, at 15:01, Karen Tracey wrote: > On Fri, Oct 24, 2008 at 6:56 AM, Niall Mccormack <[EMAIL PROTECTED] > > wrote: > > Is it possible to tell Django to ignore certain url's so that it > resorts to showing what is on the server at th

ignore url

2008-10-24 Thread Niall Mccormack
Is it possible to tell Django to ignore certain url's so that it resorts to showing what is on the server at that url. i.e. if I have a file at the url http://www.mywebsite.com/myfiles/image.jpg Can I instruct Django to ignore the /myfiles/ url so I can link directly to that file? Cheers

Re: model help.

2008-10-23 Thread Niall Mccormack
Thanks for that - and yes I am in a bit of a rush! I thought my initial question was maybe a little to convoluted as I just needed a lead to go on really... On 23 Oct 2008, at 16:13, Karen Tracey wrote: > On Thu, Oct 23, 2008 at 10:45 AM, Niall Mccormack <[EMAIL PROTECTED] >

Re: model help.

2008-10-23 Thread Niall Mccormack
ok, I'm going to simplify my question. is there any way that I can create a ForeignKey or a ManytToMany that can accept multiple types of data Models? On 23 Oct 2008, at 11:34, Niall Mccormack wrote: > > Hi there, > > I'm learning Django at the moment and need some advice

file upload

2008-07-16 Thread Niall Mccormack
Hi there, I've been reading about django file uploads on various blogs. Are there still issues with uploading large files? I may be creating a site for a production company and will need to ability to upload 5-20mb video files through the cms. Is this just a silly idea? If so, are there

Re: MediaTemple Containers

2008-07-07 Thread Niall McCormack
were mum on it. > > > > On Jun 30, 5:56 am, Niall McCormack <[EMAIL PROTECTED]> > wrote: >> Hi there, >> >> Does anyone know when the Media Temple Grid ServiceDjangoContainers >> are going to launch? >> >> I'm considering transfering my hosting form Dre

Re: MediaTemple Containers

2008-07-01 Thread Niall McCormack
They do look good, but I want some more bandwidth and hard disk space for that sorta price to be honest. I'm relaunching my site and have lots of video on it so I want to be covered if need be... On 1 Jul 2008, at 01:30, elithrar wrote: > > Have you considered WebFaction at all, if

MediaTemple Containers

2008-06-30 Thread Niall McCormack
Hi there, Does anyone know when the Media Temple Grid Service Django Containers are going to launch? I'm considering transfering my hosting form Dreamhost to Media Temple, but want to make use of Django from day 1... Any info would be grand! Cheers Niall