Re: Why are my parameters gettings mangled?

2008-05-08 Thread Peter Rowell
Well, I'm not quite sure exactly what is being done to it, but it appears to happen at: = django/http/__init__.py: ... class QueryDict(MultiValueDict): ... def appendlist(self, key, value): self._assert_mutable() key =

Re: gpl3 question

2008-05-08 Thread Kenneth Gonsalves
On 09-May-08, at 4:21 AM, Rho wrote: > Hi, hope somebody can clarify my doubt. > > How affects using a gpl3 app in a project? > > I meant a website project using an app under gpl3, like django- > profile. while you are free to choose any license whatsoever for your project, it is generally a

Re: Admin : Select category -> show subcategory

2008-05-08 Thread Diego Ucha
You're welcome, Martyn. You changed the argument of this nested function and didn't change the reference to it in the subsequent code: function(d){ What about replacing it for: function(j){ Your code would look like that: http://127.0.0.1/django-medias/chantier/js/ jquery-1.2.3.js"

Re: mod_python vs. mod_wsgi

2008-05-08 Thread Graham Dumpleton
On May 9, 5:16 am, Pigletto <[EMAIL PROTECTED]> wrote: > > The only thing thatmod_wsgiwould still give you through its daemon > > mode is the ability to isolate WSGI applications into their own > > processes so they do not interfere with each other. As I understand it > > though, WebFaction has

Re: GeoDjangoFriendly?

2008-05-08 Thread Tyler Erickson
Alex, I would be interested in hearing if your remaining issues with the GeoDjango install get resolved. Following the WebFaction forum post, it looks like there is another user with a successful GeoDjango install (overcoming a GEOS config problem).

Re: gpl3 question

2008-05-08 Thread Brian Jackson
I preface this by saying: ASK A LAWYER! The gist of the gpl is if you modify something and distribute it, you have to contribute the changes you've made back. If you merely use some app inside of your project, my interpretation is you only have to contribute back the changes to that app.

Re: Mailing List Filtering

2008-05-08 Thread Russell Keith-Magee
On Fri, May 9, 2008 at 12:52 AM, Dave Murphy <[EMAIL PROTECTED]> wrote: > > I'm signed up to a number of mailing lists, but django-users is the > only one that is giving a significant number of spam messages (i.e. >0). Is > the list filtered, or is it just a free-for-all? It's not a free for

Re: Logging framework (like log4j)?

2008-05-08 Thread msoulier
On May 8, 2:54 pm, ydjango <[EMAIL PROTECTED]> wrote: > Is there a application level logging framework/utility in django or > python that I can use in views to log to file and/or database. > Something similar to log4j in java. I'm using the Python standard library's logging module. Works fine.

Re: No request.FILES, but file is still uploaded?

2008-05-08 Thread Karen Tracey
On Thu, May 8, 2008 at 3:51 PM, Beals <[EMAIL PROTECTED]> wrote: > Correction: request.FILES does exist -- it just wasn't getting printed > out with "print request". An explicit "print request.FILES" did the > trick. > > However, my question still stands: is form.save(commit=False) supposed > to

gpl3 question

2008-05-08 Thread Rho
Hi, hope somebody can clarify my doubt. How affects using a gpl3 app in a project? I meant a website project using an app under gpl3, like django- profile. Thanks, ./Rho --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

a slightly complex .extra() question

2008-05-08 Thread Roboto
Hey all, I'm trying to do something really simple and I was wondering if it is possible within django. There is 1 main table lets call it 'Team' - it contains teams all unique there are 2 sub tables that FK to Team, called Bulletin and Wall posts. There is a 3rd subtable called TeamAccess which

Re: legacy database

2008-05-08 Thread marcoshernandez
Thanks, Thougt was included in the python distribution. what a shame! XD On 7 mayo, 22:05, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Wed, May 7, 2008 at 6:53 PM, marcoshernandez <[EMAIL PROTECTED]> wrote: > > I have a legacy database in mysql and i tried to create the models > > with the

Ma.gnolia API Django and time zone

2008-05-08 Thread brian mckinney
Does anyone happen to know the proper way to interact with an API that won't convert trailing UTC time zone specifications? I'm trying to sync up a Django app with the Ma.gnolia's api, and Ma.gnolia will not convert UTC adjusted times. The two hour differential will not allow me to sync up my

Re: Class Admin prob (tut)

2008-05-08 Thread jonknee
> class Poll(models.Model): >         """docstring for Poll""" >         question = models.CharField(maxlength=200) >         pubdate = models.DateTimeField("date published") >         def __str__(self): >                 """docstring for __unicode__""" >                 return self.question >    

Re: No request.FILES, but file is still uploaded?

2008-05-08 Thread Beals
Correction: request.FILES does exist -- it just wasn't getting printed out with "print request". An explicit "print request.FILES" did the trick. However, my question still stands: is form.save(commit=False) supposed to be writing the file out to disk? Is this the newforms way of handling

No request.FILES, but file is still uploaded?

2008-05-08 Thread Beals
A while back, I looked for code snippets for uploading files. Almost every site I found contained something like the following: if 'file' in request.FILES: file = request.FILES['file'] filename = file['filename'] fd = open('%s/%s' % (MEDIA_ROOT, filename), 'wb')

Re: mod_python vs. mod_wsgi

2008-05-08 Thread Pigletto
> The only thing that mod_wsgi would still give you through its daemon > mode is the ability to isolate WSGI applications into their own > processes so they do not interfere with each other. As I understand it > though, WebFaction has limits on the number of persistent processes > you have, thus

Re: Django tutorial .rst

2008-05-08 Thread Hernan Olivera
Thanks! I shoud have to guess it! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email

Re: Logging framework (like log4j)?

2008-05-08 Thread Jeff Anderson
ydjango wrote: Is there a application level logging framework/utility in django or python that I can use in views to log to file and/or database. Something similar to log4j in java. Is this what you are looking for? http://www.red-dove.com/python_logging.html Jeff Anderson signature.asc

Logging framework (like log4j)?

2008-05-08 Thread ydjango
Is there a application level logging framework/utility in django or python that I can use in views to log to file and/or database. Something similar to log4j in java. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Django tutorial .rst

2008-05-08 Thread Jeff Anderson
Hernan Olivera wrote: Hello Is it possible to get the .rst files for the Django tutorial, for translating it to spanish? Thanks ¡Buenos Dias! The .rst files are freely available. They exist in the source tree for django. AUTHORS INSTALL LICENSE MANIFEST.in README django/ <--- the django

get at *the* cursor

2008-05-08 Thread Jim
I am trying to debug an application which raises a dB exception (unable to adapt), and I'd like to get the cursor that Django was using when the exception happened. The reason is that psycopg2 has a couple of attributes attached to the cursor telling exactly what was the query and what was the

Django tutorial .rst

2008-05-08 Thread Hernan Olivera
Hello Is it possible to get the .rst files for the Django tutorial, for translating it to spanish? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: 0.96.1 lighttpd + FastCGI

2008-05-08 Thread Jeff Anderson
Panos Laganakos wrote: This post[1] seems to have the same issue. Ticket 6063, which was fixed at rev.6895. Problem is that the whole project is written for 0.96.1. Any way this can be fixed in 0.96.1? My guess is that you'd have to backport the patch yourself. This is one of the reasons

Re: Class Admin prob (tut)

2008-05-08 Thread sebey
also on the homepage it says this "" Page not found (404) Request Method: GET Request URL:http://localhost:8000/ Using the URLconf defined in ubertester.urls, Django tried these URL patterns, in this order: 1. ^admin/ The current URL, /, didn't match any of these. "" what

Mailing List Filtering

2008-05-08 Thread Dave Murphy
I'm signed up to a number of mailing lists, but django-users is the only one that is giving a significant number of spam messages (i.e. >0). Is the list filtered, or is it just a free-for-all? -- Dave Murphy - http://schwuk.com Get in touch - http://schwuk.com/contact

worlds new free webhosting directory(more than 500 free website hostings)

2008-05-08 Thread siva
Free web hosting directory www.webhostingsfree.com This is the nice and having morethan 500 free webhosting directory Go and view this website use it for your websites Enjoy guys!!! --~--~-~--~~~---~--~~ You received this message because you are

Re: Unique Users Per Site in 'users' & 'sites' Frameworks

2008-05-08 Thread Tim
You might consider using django profiles [1] for this. You could add a field to a user profile that would be their mini-site user name and put some random username in the Django User field. That way you could do all your own logic around the user name. All you'd need to do is override the login

pre_save signal called twice when adding model to db & change to instance object during pre_save don't get saved

2008-05-08 Thread Alen Ribic
The pre_save signal seems to be called twice when adding the model object to db and change to the instance object during pre_save don't get saved. {{ def do_negative_amount(sender, instance, signal, *args, **kwargs): print instance.transaction_type if instance.id is None and

Re: A twist on cross importing models

2008-05-08 Thread Matthias Kestenholz
On Thu, 2008-05-08 at 16:29 +0200, Christian Joergensen wrote: > Matthias Kestenholz wrote: > > I can think of two methods of loading Variable inside your calculate > > function: > > > > - Write the import statement in the function instead of writing it at > > the top of the module. > > You may

Re: django-admin.py not working on OS X 10.5

2008-05-08 Thread Brandon Taylor
Hello everyone, Sorry for the late reply. I have changed the shebang line to /usr/ local/bin, which is where the Python interpreter is installed. I have changed permissions on django-admin.py to be executable. Here is my .bash_profile: PATH=$PATH:/usr/local/bin

Re: A twist on cross importing models

2008-05-08 Thread Christian Joergensen
Matthias Kestenholz wrote: > I can think of two methods of loading Variable inside your calculate > function: > > - Write the import statement in the function instead of writing it at > the top of the module. You may only use module level imports* out off the main scope. And then you could

Re: Admin : Select category -> show subcategory

2008-05-08 Thread martyn
The Javascript Function does not seem to be executed. In admin_form.html : {% extends "admin/change_form.html" %} {% block extrahead %} http://127.0.0.1/django-medias/chantier/js/ jquery-1.2.3.js" type="text/javascript"> $(function(){ $("select#id_categorie").change(function(){

Re: Problem with Tutorial

2008-05-08 Thread Martin Diers
On May 8, 2008, at 7:39 AM, Boodlooder wrote: > > I'm logged in as root, trying to execute: > > python mange.py syncdb > > the command is returning: > ... >super(Connection, self).__init__(*args, **kwargs2) > _mysql_exceptions.OperationalError: (1049, "Unknown database > 'reinhardt'") > >

Class Admin prob (tut)

2008-05-08 Thread sebey
ok so I am on page two of the django tutorial in the .96 docs and its says to get the poll model into the admin interface and I type class Poll(models.Model): """docstring for Poll""" question = models.CharField(maxlength=200) pubdate = models.DateTimeField("date

Re: django-admin.py not working on OS X 10.5

2008-05-08 Thread Roboto
I will second Francis here 1. I copy my trunk into the default python site-package /Library/ Python/2.5/site-packages/django The key thing is that Leopard comes with it's own built in Python 2.5, where it give priority when it comes to utilizing python. You will need to put anything python

Rapid CSS Editor

2008-05-08 Thread Tatyana Sveatna
Rapid CSS Editor Haz 17, 2007 *Author: sdc | Filed under: **Program*

Firefox Ultimate Optimizer

2008-05-08 Thread Tatyana Sveatna
Firefox Ultimate OptimizerMar 15, 2008 *Author: sdc | Filed under: **Program* Firefox Ultimate Optimizer adındaki minik ve kurulum gerektirmeyen

windows xp live edition

2008-05-08 Thread Tatyana Sveatna
windows xp live editionMar 19, 2008 *Author: sdc | Filed under: **Program* [image: winpe]Öncelikle herkesin elinde kesinlikle

Vista Service Pack 1 Downlaod

2008-05-08 Thread Tatyana Sveatna
Vista Service Pack 1 Nis 28, 2008 *Author: sdc | Filed under: **Program* [image: windows-logo] Vista SP1 çıktı çıkacak

Messenger for Mac 7

2008-05-08 Thread Tatyana Sveatna
Messenger for Mac 7 May 2, 2008 *Author: sdc | Filed under: **Program* [image: mac] Microsoft'un Mac

Trojan Remover 6.6.9 Download Now

2008-05-08 Thread Tatyana Sveatna
Trojan Remover 6.6.9 May 6, 2008 *Author: sdc | Filed under: **Program* [image: Trojan Remover 6.6.9] Trojan

Ashampoo Music Studio 3.40 Download

2008-05-08 Thread Tatyana Sveatna
Ashampoo Music Studio 3.40May 6, 2008 *Author: sdc | Filed under: **Program* [image: Ashampoo Music Studio 3.40]Ashampoo Music

Spyware Doctor Download

2008-05-08 Thread Tatyana Sveatna
Spyware Doctor May 7, 2008 *Author: sdc | Filed under: **Program* [image: Spyware Doctor]Spyware Doctor 5.0.0.182 *Spyware* Doctor, dunyanın en popüler

Windows XP Service Pack 3 Download

2008-05-08 Thread Tatyana Sveatna
Windows XP Service Pack 3 Türkçe DownloadMay 7, 2008 *Author: sdc | Filed under: **Program* [image: Windows XP Service Pack 3

Aston Windows Xp Theme

2008-05-08 Thread Tatyana Sveatna
Aston Windows Xp ThemeMay 7, 2008 *Author: sdc | Filed under: **Program* Normal Windows görünümünden sıkılanlar için yapılmış çok harika bir kabuk programı. Masaüstünü, Windows Gezgini'ni,

Re: Admin : Select category -> show subcategory

2008-05-08 Thread martyn
That's it ! I'm discovering JQuery, not very "sexy" for the first time, but seems to be really powerfull. Thank you Diego. Django community really rocks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Problem with SQL Query

2008-05-08 Thread Tourneur Henry-Nicolas
Sorry, the python indentation was wrong: query = SiteEquipment.objects.extra(tables=['sites_site']) if asset != '': query |= SiteEquipment.objects.filter(asset__icontains=asset) if mark_sel != -1: query | =SiteEquipment.objects.filter(equipment__mark__id=mark_sel) if

Problem with SQL Query

2008-05-08 Thread Tourneur Henry-Nicolas
Hi, I'm trying to execute a "special" request. The request is based on multiple OR statement. I create the querysets via objects.filter and, at the end there is an extra statement. I do not know how to remove this extra() call because I have to do a concatenation (the || part, in SQL is a

Re: Gradually porting an established site to Django

2008-05-08 Thread Valts Mazurs
Hi, Nick, I would recommend to use webserver tools to route the traffic to different handlers. For example, to handle legacy URLs for bsdradius.org I use mod_redirect in lighttpd: - # legacy urls url.redirect = ( "index\.php$" => "/", "about\.php$" => "/about/",

Gradually porting an established site to Django

2008-05-08 Thread Nick Mellor
Hi all, I'm a CS-graduate, but out of the game for a while, and a beginner at web programming. I've written database apps to generate static HTML pages. I could do with some pointers. I have a working site, written by someone else, to maintain and develop: www.behandlerlisten.dk It's a site

Problem with Tutorial

2008-05-08 Thread Boodlooder
I'm logged in as root, trying to execute: python mange.py syncdb the command is returning: Traceback (most recent call last): File "manage.py", line 11, in execute_manager(settings) File "/usr/lib/python2.5/site-packages/django/core/management.py", line 1672, in execute_manager

情色影片

2008-05-08 Thread 歐小姐
台灣兼職~空姐.護士.專櫃.OL 模特兒.3C展美眉.大學生.熟女 讓您安心!我們一律現金交易!! 外送:台北縣(市)/台中市/旅館 營業時間:下午2點~凌晨3點 Skype連絡 : hihi168168 MSN連絡: kirara168 請聯絡~歐小姐 http://forum.europeanservers.us/cgi-bin/lst.eur?didi168 http://forum.europeanservers.us/cgi-bin/lst.eur?fifi168 http://forum.europeanservers.us/cgi-bin/lst.eur?gigi168

Foreignkey(self) ProgrammingError: (2014,, "Commands out of sync; you can't run this command now")

2008-05-08 Thread super
Concider this: parent = models.ForeignKey('self', null=True, blank=True, related_name='children') So my user makes a database that has root level1 level2 level3 If the user moves level1 under level3 than the database breaks and I get this error. ProgrammingError: (2014,, "Commands out of sync;

Re: django-admin.py not working on OS X 10.5

2008-05-08 Thread Shane Emmons
Did you, "chmod +x django-admin.py"? On Thu, May 8, 2008 at 6:52 AM, Francis <[EMAIL PROTECTED]> wrote: > > It works without problem here. > > 1. I copy my trunk into the default python site-package /Library/ > Python/2.5/site-packages/django > > Normally I use /usr/bin, since local/bin doens't

help with limit_choices_to

2008-05-08 Thread Matias Surdi
Hi. I've the following model: class ExamAttributeCalification(models.Model): exam_result = models.ForeignKey(ExamResult, edit_inline=models.TABULAR, num_in_admin=1) exam_attribute = models.ForeignKey(ExamAttribute,limit_choices_to={"exam__id":1}) calification =

Re: django-admin.py not working on OS X 10.5

2008-05-08 Thread Francis
It works without problem here. 1. I copy my trunk into the default python site-package /Library/ Python/2.5/site-packages/django Normally I use /usr/bin, since local/bin doens't exist on Leopard (exept if you are using something like fink or macport) But I tried it to see if it works. 2. I

Re: Newbie

2008-05-08 Thread Cesar Mojarro
hey us it cool if i tell you that im a newby too On 5/5/08, Rajath Stanley D'Souza <[EMAIL PROTECTED]> wrote: > > Hi all, > I'm new to this whole area of web development. New to Django, Python, et > al. I've only done some C,C++ coding for mobile phones before, but have a > need to get into it

Re: beware: make-messages is file extension sensitive

2008-05-08 Thread afro
Hi Omar, Your message saved my day, I didn't think it would be because of such a simple reason that make-messages.py omits my template files. I actually just opened make-messages.py and changed '.html' to '.htm' in two places, and that solved it. I just have to watch out the next time I do an

Re: A twist on cross importing models

2008-05-08 Thread Matthias Kestenholz
Hey, I might have some ideas now. I have not understood the problem earlier. On Wed, 2008-05-07 at 12:52 +0200, Christopher Mutel wrote: > Hello all- > > I have tried a couple of tips found on the list to solve my problem > with circular model imports, but with no lucks. Here is my basic >