Re: i need help with this...

2010-05-01 Thread akonsu
hello, i myself cannot parse this. what is the question? On Apr 30, 10:16 pm, kandee wrote: > I just got this new phone, and was trying to download some sound > affects, from a download Page, but an error page came on and said that > I needed to go on my django setting file and change it to false

Re: Django-tinyMCE and django-filebrowser js error

2010-05-01 Thread John Wesonga
Fixed this.. On Apr 30, 3:06 pm, John Wesonga wrote: > I've set up django-filebrowser in my app without any bugs, I already > had django-tinymce set up and it loads the editor in the admin forms. > I now want to use django-filebrowser with django-tinymce, but I keep > getting a weird javascript e

Problems with Admin CSS

2010-05-01 Thread maxweld
Hi I have set up a basic project and am trying to get it running under Apache in a shared virtual hosting environment. The aim is to get it working here first, and then work with my hosting company so that they can support Django for their customers. The problem is that I cannot configure it so th

Re: i need help with this...

2010-05-01 Thread Kev
kandee wrote: > I just got this new phone, and was trying to download some sound > affects, from a download Page, but an error page came on and said that > I needed to go on my django setting file and change it to false so it > can display 500 pages...but I didn't find it anywhere, so I Googled it

Re: Problems with Admin CSS

2010-05-01 Thread Daniel Roseman
On May 1, 10:15 am, maxweld wrote: > Hi > I have set up a basic project and am trying to get it running under > Apache in a shared virtual hosting environment. The aim is to get it > working here first, and then work with my hosting company so that they > can support Django for their customers. >

Generic web-dev question: Best way to do a processing page?

2010-05-01 Thread Joshua Russo
This is mainly just curiosity at the moment. How do you create a "processing" intermediate page, like you see on travel sites when they are looking for the rates? I would always avoid this if at all possible, but sometimes you have a process that takes longer than usual. I've been looking around t

Re: Generic web-dev question: Best way to do a processing page?

2010-05-01 Thread Dexter
You could try to juggle with comet, but I wouldn't if its the best solution, Otherwise you could let them fill in an email address, and send the result to that emailaddress On Sat, May 1, 2010 at 2:22 PM, Joshua Russo wrote: > This is mainly just curiosity at the moment. How do you create a > "

Re: Problems with Admin CSS

2010-05-01 Thread maxweld
On May 1, 12:17 pm, Daniel Roseman wrote: > On May 1, 10:15 am, maxweld wrote: > > You haven't got anything in here to actually serve the files from www. > Surely you should have an Alias directive to point to the media > folder, and a Directory directive for that path, as described in the > do

Re: Generic web-dev question: Best way to do a processing page?

2010-05-01 Thread Javier Guerra Giraldez
On Sat, May 1, 2010 at 7:22 AM, Joshua Russo wrote: > This is mainly just curiosity at the moment. How do you create a > "processing" intermediate page, like you see on travel sites when they are > looking for the rates? I would always avoid this if at all possible, but > sometimes you have a proc

Re: Problems with Admin CSS

2010-05-01 Thread Daniel Roseman
On May 1, 2:16 pm, maxweld wrote: > On May 1, 12:17 pm, Daniel Roseman wrote: > > > On May 1, 10:15 am, maxweld wrote: > > > You haven't got anything in here to actually serve the files from www. > > Surely you should have an Alias directive to point to the media > > folder, and a Directory dire

how to exclude objects with manytomany

2010-05-01 Thread Kenneth Gonsalves
hi, I have a model called 'Team' with a manytomany field to 'Player'. How do I select all the players who are not in any team? I remember doing this once, but cannot find what I did. -- regards Kenneth Gonsalves Senior Associate NRC-FOSS http://certificate.nrcfoss.au-kbc.org.in -- You receive

Re: how to exclude objects with manytomany

2010-05-01 Thread Kenneth Gonsalves
On Saturday 01 May 2010 10:54:52 pm Kenneth Gonsalves wrote: > I have a model called 'Team' with a manytomany field to 'Player'. How do I > select all the players who are not in any team? I remember doing this > once, but cannot find what I did. > I have tried this: self.fields['members'].choi

Re: Is it safe to alter Django generated tables in MySQL to have composite PK?

2010-05-01 Thread Continuation
On Apr 30, 9:42 pm, Nick Arnett wrote: > If you don't have data in the table, just drop it and use "unique_together" > in models.py to define your composite key.  You'll find that in the Django > docs.  Then do syncdb and Django will create the table with your composite > key. I don't have data

Any way to use the multi-database support in 1.2 for horizontal sharding?

2010-05-01 Thread Continuation
Hi, I read the doc on the multi-database feature in 1.2. It seems it's mostly geared towards vertical partitioning of databases. Any way to use it for horizontal sharding? For example, say I have a Message class. I want to use a hash on Message.id to point to a database server where the specific

Re: Problem with letters like ÄÖÕÜ in django adm in

2010-05-01 Thread zayatzz
Well i put this if and following import & trace to several places, but all i got was the 500 error and pdb prompt did not show up. If you could provide me with exact info of where to put this trace in djang 1.2. beta 1 admin_list.py... then it would be really nice :P Alan -- You received this m

Creating hierachical views and processing these in templates?

2010-05-01 Thread Derek
I am struggling to grasp the "full picture" when it comes to view queries and associated templates which deal with sets of "nested" parent/child relationships, and am hoping someone here can enlighten me. All the examples I have seen seem to deal with simple views showing one, or maybe two model

Re: Beyound django auth - custom login function - where?

2010-05-01 Thread derek
On Apr 30, 4:44 pm, Aitch wrote: > I'm fearful this is a really dumb question but I'll go ahead anyway. > > My app is starting to need to go beyond basic auth. e.g. when a user > logs in, I need to check various related statuses, provide distinct > messages, set session vars and such like. > > Wha

Globally allow fields to be blank.

2010-05-01 Thread Lee Hinde
Very few of the fields in my models are required (in real life). But the default attribute for a django field is that it is required. http://docs.djangoproject.com/en/1.1/ref/models/fields/#django.db.models.Field.blank Is there a way to toggle that, globally, so that I can just make the few truly

Re: django-admin tab completion not working

2010-05-01 Thread Martin Lundberg
I looked in the django_bash_completion script but didn't understand much. Anyone who has any idea of what could be wrong? Why DJANGO_AUTO_COMPLETE is not in the list of environment variables? -Martin On Fri, Apr 30, 2010 at 7:21 PM, Martin Lundberg wrote: > I'm taking a look in django/core/manag

Re: Any way to use the multi-database support in 1.2 for horizontal sharding?

2010-05-01 Thread Russell Keith-Magee
On Sun, May 2, 2010 at 2:52 AM, Continuation wrote: > Hi, > > I read the doc on the multi-database feature in 1.2. It seems it's > mostly geared towards vertical partitioning of databases. > > Any way to use it for horizontal sharding? > > For example, say I have a Message class. I want to use a h

add button to admin change list at row level.

2010-05-01 Thread Wayne
Hi, We are trying to customize Django admin change list displaying model objects. We want to add two buttons (Change, delete) to each row of the record, something very similar to "Add" and "Change" buttons on application list beside the model name. Could somebody give us some hint on this? The "li

Django-grappelli issue

2010-05-01 Thread Tran Cao Thai
I discovered the grappelli app today and just set up it. However, the admin site doesn't look as good as the screenshot from the site. Here is the screenshot of my admin page http://i979.photobucket.com/albums/ae280/jasonvoorheeszzz/Capture.png It looks like that on FF 3.5.9 and even worse on IE