world LIVE sex sex free free

2008-02-16 Thread r
world LIVE sex sex free free world sex sex free free world sex sex free free http://vigaragirls.blogspot.com/ world LIVE sex sex free free world LIVE sex sex free free --~--~-~--~~~---~--~~ You received this message because you

Re: Django scope

2008-02-16 Thread James Bennett
On Feb 17, 2008 12:02 AM, Jean-Christophe Kermagoret <[EMAIL PROTECTED]> wrote: > Hello, I'm coming from Java world and I'm looking in Django for a high > level framework to write very quickly new applications. > Does Django provide the following features ? http://www.djangoproject.com/documentat

Django scope

2008-02-16 Thread Jean-Christophe Kermagoret
Hello, I'm coming from Java world and I'm looking in Django for a high level framework to write very quickly new applications. Does Django provide the following features ? * JSR 168 (or portal alike) component, with aggregation and personalization ? Is it possible to personalize it through the

Re: "Presales" questions

2008-02-16 Thread Jean-Christophe Kermagoret
To achieve this goal, you could use another approach. For example, you could use a MDA tool to build you business model (through a kind of UML) and generate it directly in Django. I'm working on a project of this type. It works well and permits you to switch from a language to another through

Re: May be useful tags (flatindex, table with shape)?

2008-02-16 Thread [EMAIL PROTECTED]
Thanks for writing this code, but djangosnippets[1] is probably a better place for it to go. On this mailing list it'll get lost or forgotten with all of the other posts. [1] http://www.djangosnippets.org/ On Feb 16, 10:17 pm, Yosifov Pavel <[EMAIL PROTECTED]> wrote: > May be this 2 tags (table

May be useful tags (flatindex, table with shape)?

2008-02-16 Thread Yosifov Pavel
May be this 2 tags (table generating with any "shape", flat index in nested loops) are helpful for somebody? Example of usage in django template: ===cut=== {# List filials must exists in context! #} {% load table %} {% table filials "3x?" %} {% for row in table_obj %}

Re: Head swimming - JavaScript libraries

2008-02-16 Thread Phoenix Kiula
On 17/02/2008, Dj Gilcrease <[EMAIL PROTECTED]> wrote: > > On Feb 16, 2008 2:36 PM, Michael Hipp <[EMAIL PROTECTED]> wrote: > > But actually I was hoping someone would come back with an answer like > > "Just use XYZ, it's great and here's why..." > > > I use jQuery and here's why... > > Because it

Re: backtrace trying to get django deployed with apache and mod_python

2008-02-16 Thread Graham Dumpleton
Are you trying to use mod_python 2.7.X on Apache 1.3 by chance? From memory ap_auth_type attribute may only be in Apache 2.X and thus you need to be using mod_python 3.X, preferably 3.3.1, on Apache 2.X. Graham On Feb 17, 8:47 am, msoulier <[EMAIL PROTECTED]> wrote: > I'm trying to move an exis

Re: Head swimming - JavaScript libraries

2008-02-16 Thread Julien
I may just add a criticism. JQuery makes playing with the DOM a piece of cake, but to me, ideally, you'd never have to touch and get your hands dirty with the DOM at all. I wish there was some library that lets you do things in a very abstract way. A sort of Django-like framework for Javascript!

Re: Head swimming - JavaScript libraries

2008-02-16 Thread Julien
> But actually I was hoping someone would come back with an answer like > "Just use XYZ, it's great and here's why..." Ok, I'll give you my very personal opinion then ;) I too use JQuery, and pretty much for the same reasons as Dj Gilcrease's. I find JQuery simple and elegant. And most of all,

Re: Head swimming - JavaScript libraries

2008-02-16 Thread Dj Gilcrease
On Feb 16, 2008 2:36 PM, Michael Hipp <[EMAIL PROTECTED]> wrote: > But actually I was hoping someone would come back with an answer like > "Just use XYZ, it's great and here's why..." I use jQuery and here's why... Because it is simple for me to understand and work with while allowing me to exp

Re: More file upload problems -- 'NoneType' unsubscriptable

2008-02-16 Thread Jonathan Lukens
Typo found, too many indents. Apologies. On Feb 16, 8:04 am, Jonathan Lukens <[EMAIL PROTECTED]> wrote: > Unless I am missing something, I have to work around using > newforms.FileField because I need to do some specific validation on > the file on upload, and FileField returns UploadedFile, whi

Re: Head swimming - JavaScript libraries

2008-02-16 Thread Michael Hipp
Julien wrote: > Hi Michael, > > This subject has been discussed many times here, and the answer is > that there is no answer. Django is flexible enough to work with > whatever JS library you like. So, have a look around all those > libraries, pick the one that would work best for a given project

Re: Head swimming - JavaScript libraries

2008-02-16 Thread Julien
Hi Michael, This subject has been discussed many times here, and the answer is that there is no answer. Django is flexible enough to work with whatever JS library you like. So, have a look around all those libraries, pick the one that would work best for a given project or the one you feel most c

Head swimming - JavaScript libraries

2008-02-16 Thread Michael Hipp
My head is swimming... I've spent the last 2 days reading up on jQuery, MochiKit, Yahoo and 3 dozen others that I don't remember right now. Does anyone have any thoughts on picking a JavaScript library for use with Django that is compact, simple, and has a good collection of widgets and conve

Re: backtrace trying to get django deployed with apache and mod_python

2008-02-16 Thread Malcolm Tredinnick
On Sat, 2008-02-16 at 13:47 -0800, msoulier wrote: > I'm trying to move an existing site to another server, and I'm getting > this error when I access the new site. Standard "it used to work and now it doesn't" debugging technique: what changed? I'm pretty sure this is related to version differ

Re: Deploying Django - can't get past the welcome screen

2008-02-16 Thread Bret W
Could you post your urls.py and settings files? --~--~-~--~~~---~--~~ 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,

Re: DATABASE_PORT ignored?

2008-02-16 Thread msoulier
On Feb 16, 3:41 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Instead, you need to use 127.0.0.1 to force the connection to go via > TCP/IP. I'm pretty sure, without having tested it, that Django will be > fine with that (setting the HOST string to an IP address). We just pass > that informa

backtrace trying to get django deployed with apache and mod_python

2008-02-16 Thread msoulier
I'm trying to move an existing site to another server, and I'm getting this error when I access the new site. Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File "/usr/local/python-2.5/lib/python2.5/site-packages/mod_python/ apache.py", lin

Re: Deploying Django - can't get past the welcome screen

2008-02-16 Thread Darthmahon
Yea I've restarted it and "touched" the fcgi file so it's rather odd - do you know of any good tutorials that are not written by the Django team (read them, not too helpful and assume too much)? On Feb 16, 9:05 pm, Bret W <[EMAIL PROTECTED]> wrote: > Have you restarted the Web server?  Perhaps ca

Re: "Presales" questions

2008-02-16 Thread Jeff Anderson
Phoenix Kiula wrote: May I ask why this disdain for PHP? OOP type puritanism aside, it's a language in which one *can* code elegantly and then it's highly maintainable. And it's pretty well supported and documented around the web. I also have disdain for php. PHP has many flaws. You are right

Re: manage.py help message seems inaccurate

2008-02-16 Thread msoulier
On Feb 11, 8:02 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > This is correct - SQL for data fixtures won't be dumped. The error > message is a little misleading in this respect, as it refers to > initial data, not custom SQL. I've clarified the text in [7106]. > > As for the --interactiv

Re: "Presales" questions

2008-02-16 Thread Doug B
It doesn't sound like Django is what you want. Django a code framework that supplies some of the nuts and bolts to make web development in python easy, but definately not an app. It may look a bit like an app at first glance due to the much referenced admin interface, but that's because the admi

Re: Deploying Django - can't get past the welcome screen

2008-02-16 Thread Bret W
Have you restarted the Web server? Perhaps caching is playing a role here. The admin section should be working no problem, as long as the settings and urls files are as described. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: Deploying Django - can't get past the welcome screen

2008-02-16 Thread Darthmahon
Hi Bret, Yea I've done both of those things, ran syncdb as well. It's very odd. For example I have a /static/ folder that just has all of my css files, but even when I try to access that folder it shows the Django Welcome screen. I wouldn't expect that to happen... On Feb 16, 7:57 pm, Bret W <[

Re: django runserver freeze after 10-15 min

2008-02-16 Thread Joseph Heck
Mark was also the one who got me working it. :-) At OSCON 2007 as well... On Feb 16, 2008 12:47 PM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > > On Sat, 2008-02-16 at 12:43 -0800, Joseph Heck wrote: > > The link to Gordon's page is much nicer than the hackery I did some > > time back, but

Re: "Presales" questions

2008-02-16 Thread Joseph Heck
There isn't a visual interface for creating new fields, but don't let that stop you. It is really very straight forward and well documented. If you don't own the printed version of the django book, I'd recommend hitting their web site and reading or at least glancing through Chapter 5 (http://djan

Re: django runserver freeze after 10-15 min

2008-02-16 Thread Malcolm Tredinnick
On Sat, 2008-02-16 at 12:43 -0800, Joseph Heck wrote: > The link to Gordon's page is much nicer than the hackery I did some > time back, but I thought I'd pipe in with a comment that the > WSGIServer from CherryPy works very nicely. Seconded. Mark Ramm pointed out to me at OSCON this year how s

Re: django-admin.py just doesn't go

2008-02-16 Thread Joseph Heck
Johan is right on - it sounds like all you need to do it get django-admin.py on your path. -joe On Feb 16, 2008 7:35 AM, Johan Liseborn <[EMAIL PROTECTED]> wrote: > > On Feb 16, 2008 1:46 PM, doNascimento <[EMAIL PROTECTED]> wrote: > > I'm on mac OS X (10.4) > > Installed the official release (0

Re: django runserver freeze after 10-15 min

2008-02-16 Thread Joseph Heck
The link to Gordon's page is much nicer than the hackery I did some time back, but I thought I'd pipe in with a comment that the WSGIServer from CherryPy works very nicely. We've embedded it into our Django Queue Service project (I yanked the WSGIServer directly - didn't need the rest: http://code

Re: DATABASE_PORT ignored?

2008-02-16 Thread Malcolm Tredinnick
On Sat, 2008-02-16 at 12:34 -0800, msoulier wrote: > I have a site where I need to use the mysql tcp port of 3306 instead > of the unix domain socket, to talk to mysql. So, I did this in my > settings.py > > DATABASE_HOST = 'localhost' > DATABASE_PORT = 3306 > > Unfortunately, it seems to be ig

Re: "Presales" questions

2008-02-16 Thread Phoenix Kiula
Actually, it seems we skipped past my most important question: Is it easy to create "custom fields" in Django? For example, is there an admin interface where I can create a section of my website, called Reviews. Then assign new fields to it -- Name of book, author, ISBN, my review title, my revie

Re: "Presales" questions

2008-02-16 Thread Phoenix Kiula
Bottom-posted: On 17/02/2008, Tim Chase <[EMAIL PROTECTED]> wrote: > > Yep. > http://www.djangoproject.com/documentation/templates/ Thanks! ..snip... > yep. But as above, it requires working in Python. That said, > I've coded in PHP, and I've coded in Python. I'd choose Python > over PHP

DATABASE_PORT ignored?

2008-02-16 Thread msoulier
I have a site where I need to use the mysql tcp port of 3306 instead of the unix domain socket, to talk to mysql. So, I did this in my settings.py DATABASE_HOST = 'localhost' DATABASE_PORT = 3306 Unfortunately, it seems to be ignored. _mysql_exceptions.OperationalError: (2002, "Can't connect to

Re: "Presales" questions

2008-02-16 Thread Tim Chase
> Reading the website, it seems Django is not a readymade CMS but a > "framework". More like CodeIgniter from the EE guys. I know nothing about CI from EE, but Django is as you describe: "not a ready-made CMS, but a framework" > My requirements are as follows. I would appreciate if someone can >

Re: Deploying Django - can't get past the welcome screen

2008-02-16 Thread Bret W
Have you edited your urls.py file? You'll need to make sure the admin site is enabled by uncommenting this line: (r'^admin/', include('django.contrib.admin.urls')), And you'll also need to make sure you have: 'django.contrib.admin', in the INSTALLED_APPS section of your settings.py file. Make s

"Presales" questions

2008-02-16 Thread [EMAIL PROTECTED]
Hi, I am moving from MT and EE to Django. Having heard a lot of positive stuff from users of Django. Reading the website, it seems Django is not a readymade CMS but a "framework". More like CodeIgniter from the EE guys. Which is a bit confusing because I don't know the out of box capabilities o

Re: request.POST.getlist() Results In Single Element List

2008-02-16 Thread Arturo
On Feb 16, 11:52 am, Doug B <[EMAIL PROTECTED]> wrote: > > Javascript is something new for me too.  It looks like things are > getting encoded twice.  From a minute in google it looks like you are > using prototype? Yessir prototype/scriptaculous. :) > Try: > postBody:Sortable.serialize('

Manually ordering content

2008-02-16 Thread Bret W
Hello all- I'm trying to figure out the best way to manually order objects within a template. I have a couple of pages on which I would like to be able to hand-pick content to fill certain areas. I searched through the treads of this list, and couldn't find a "best practice," so I thought I'd t

Re: request.POST.getlist() Results In Single Element List

2008-02-16 Thread Doug B
> Oh man, that's what I'm afraid of. I know even less about > javascript. :) Javascript is something new for me too. It looks like things are getting encoded twice. From a minute in google it looks like you are using prototype? Try: postBody:Sortable.serialize('sortedriders') instead of: para

Re: request.POST.getlist() Results In Single Element List

2008-02-16 Thread Arturo
On Feb 16, 10:11 am, Doug B <[EMAIL PROTECTED]> wrote: > I'd suggest doing a repr on request.POST and seeing exactly what is > being posted.   Ok, I added logging.debug(repr(request.POST)) and got this: DEBUG:root: Using firebug, I can see the post data is: data=sortedriders%5B%5D%3D22%26so

Re: request.POST.getlist() Results In Single Element List

2008-02-16 Thread Doug B
I'd suggest doing a repr on request.POST and seeing exactly what is being posted. Your use of getlist usage looks ok, so I'd guess something is happening on the javascript side. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

Re: django-admin.py just doesn't go

2008-02-16 Thread Johan Liseborn
On Feb 16, 2008 1:46 PM, doNascimento <[EMAIL PROTECTED]> wrote: > I'm on mac OS X (10.4) > Installed the official release (0.96.1) > I've put django-admin.py on my path folder but it's not working when I > use Python before it. (I get Python couldn't open ...) I believe you need to do one of two

Deploying Django - can't get past the welcome screen

2008-02-16 Thread Darthmahon
Hi Guys, In the final steps of my app and looking to deploy (yay!). I'm using a dedicated server which has Apache 2 and is using FastCGI with Lighttpd. Django installed, the models are in, the mysql database is working but I can't get past this welcome screen: --

request.POST.getlist() Results In Single Element List

2008-02-16 Thread Arturo
I was expecting my POST data to end up with a 17 element list after using getlist(), but I end up with all the data in a single element. I've tried to reformat the data before it's sent by removing the '[] and different things', but I still end up with a single element. This is my first Django an

vhosts an ghots in my settup

2008-02-16 Thread [EMAIL PROTECTED]
thx for help! Now it seems to be over :) First: there were dups entries in apach2.con :( AND i use different names for the xyz_settings.py ! macdet -- with tux and django against bullying -- --~--~-~--~~~---~--~~ You received this message because you are subscr

More file upload problems -- 'NoneType' unsubscriptable

2008-02-16 Thread Jonathan Lukens
Unless I am missing something, I have to work around using newforms.FileField because I need to do some specific validation on the file on upload, and FileField returns UploadedFile, which is not really a file anymore but the guts of the file and its name. So, I have the following form/field vali

Re: Problems selecting correct object in view

2008-02-16 Thread Tim Sawyer
On Saturday 16 Feb 2008, Nils L wrote: > Hi Tim, > Contest.objects.filter(pk=pSerial) yields a list (in this case of > length 1), not a Contest object. If you want to fetch a single object > based on it's primary key you can use: Contest.objects.get(pk=pSerial) > See http://www.djangoproject.com/d

Re: django-admin.py just doesn't go

2008-02-16 Thread doNascimento
Thks. I'm on mac OS X (10.4) Installed the official release (0.96.1) I've put django-admin.py on my path folder but it's not working when I use Python before it. (I get Python couldn't open ...) Thks Heck. Joseph Heck wrote: > Need just a little more information... > > First - what platform are

Re: django runserver freeze after 10-15 min

2008-02-16 Thread diadya_vova
> Have a look at thishttp://www.gordontillman.info/Development/DjangoCherryPy Oh! Thank you. It's looks like the best choice for me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to th

Re: Problems selecting correct object in view

2008-02-16 Thread Nils L
Hi Tim, Contest.objects.filter(pk=pSerial) yields a list (in this case of length 1), not a Contest object. If you want to fetch a single object based on it's primary key you can use: Contest.objects.get(pk=pSerial) See http://www.djangoproject.com/documentation/tutorial01/ - Nils --~--~-~

Problems selecting correct object in view

2008-02-16 Thread Tim Sawyer
Hi Folks, I'm sure I'm missing something here, can anyone enlighten me? In my urls.py I have: (r'^(\d+)/$', 'rtb2.contests.views.single_contest'), and in my views.py I have def single_contest(request, pSerial): lContest = Contest.objects.filter(pk=pSerial) return render_to_respons

newforms-admin migration utility script

2008-02-16 Thread Nils L
Hi everyone, I have written a utility script that scans a models.py file and automatically outputs the corresponding newforms-admin source code (the code that goes into the admin.py file). The purpose is to simplify the migration to newforms-admin. Here is what it outputs: * an import line that i

Re: 'unicode' object has no attribute 'strftime'

2008-02-16 Thread Darthmahon
All, Got it working in the end - this is what I did: _dob_year = int(form.clean_data['dob_year']) _dob_month = int(form.clean_data['dob_month']) _dob_day = int(form.clean_data['dob_day']) _dob = date( year = _dob_year, month = _dob_month, day = _dob_day ) There probably is a cleaner way of doi

Sites module best practices

2008-02-16 Thread Martin
Hi everyone, i have a few quick questions regarding Sites module and CurrentSiteManager. I'm using CurrentSiteManager in my models to filter out SITE_ID. Then i want to add an extra manager to do some more filtering - is it better to subclass CurrentSiteManager (is it subclassable?) or add just a

Re: 'unicode' object has no attribute 'strftime'

2008-02-16 Thread Darthmahon
Hi Alex, Tried this and it gave me the following error: TypeError at /register/ an integer is required Any ideas? On Feb 13, 11:03 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote: > You create string object with bits from form. But you have to make > date object. Example: > > from datetime import