Re: [help] passing a md5 digest string into URL

2007-03-01 Thread Jens Diemer
Giuseppe Franchi schrieb: > As i said, i need to pass in my URL a variable, wich is the > result of a md5 digest. > (no private information... only a validation key). Look at this: http://code.google.com/p/django-registration/ and this: http://django-registration.googlecode.com/svn/trunk/urls.py

Re: Generate a tree List...

2007-03-01 Thread Jens Diemer
Jeremy Dunck schrieb: >> I found this: >> https://svn.greenpeace.org/projects/custard/browser/production/trunk/melt/apps/custard/templatetags/customtags.py >> >> But i don't know how i can use this. > > Yeah, I'd be careful about the license. I don't see one. > You might contact one of these fol

Re: Help needed in understanding newforms.

2007-03-01 Thread Michael Lake
Malcolm Tredinnick wrote: > I fear you might still be confusing the uses of model.save() and > form.save() here. Mike Keller needed a save() method in his model for > the reasons you noted: he wanted to automatically populate some > particular fields on every save. Regardless of whether the saving

Re: Help needed in understanding newforms.

2007-03-01 Thread Malcolm Tredinnick
On Fri, 2007-03-02 at 17:15 +1100, Michael Lake wrote: > Malcolm Tredinnick wrote: [...] > >>Also I'm confused on the save methods. Some exemples use form.save() and > >>others > >>define a save method under the model Class. > > > > They serve slightly different purposes. A model class may have

Re: Help needed in understanding newforms.

2007-03-01 Thread Michael Lake
Malcolm Tredinnick wrote: > Hi Michael, > > On Fri, 2007-03-02 at 16:08 +1100, Michael Lake wrote: >> Im trying to understand newforms and comparing the newforms docs at >> http://www.djangoproject.com/documentation/newforms/ with "Using djangos >> newforms" at >> http://code.pui.ch/2007/01/0

Re: How to modify form error messages.

2007-03-01 Thread Michael Lake
Malcolm Tredinnick wrote: > On Fri, 2007-03-02 at 15:27 +1100, Michael Lake wrote: > >>Hi all >> >>I see in the documentation for forms that the HTML output will include the >>validation >>errors as a near the field. How does one change that? I would like the >>errors to >>be after the form

Re: Help needed in understanding newforms.

2007-03-01 Thread Malcolm Tredinnick
Hi Michael, On Fri, 2007-03-02 at 16:08 +1100, Michael Lake wrote: > Hi all > > Im trying to understand newforms and comparing the newforms docs at > http://www.djangoproject.com/documentation/newforms/ with "Using djangos > newforms" at > http://code.pui.ch/2007/01/07/using-djangos-newform

Re: How to modify form error messages.

2007-03-01 Thread Malcolm Tredinnick
On Fri, 2007-03-02 at 15:27 +1100, Michael Lake wrote: > Hi all > > I see in the documentation for forms that the HTML output will include the > validation > errors as a near the field. How does one change that? I would like the > errors to > be after the form field similar to this below irr

Help needed in understanding newforms.

2007-03-01 Thread Michael Lake
Hi all Im trying to understand newforms and comparing the newforms docs at http://www.djangoproject.com/documentation/newforms/ with "Using djangos newforms" at http://code.pui.ch/2007/01/07/using-djangos-newforms/ and Mike Cantelon's code at http://www.mikecantelon.com/?q=node/22 Django'

Re: newforms: no attribute 'form_for_instance'

2007-03-01 Thread Honza Král
On 3/2/07, stevelewis <[EMAIL PROTECTED]> wrote: > > So I've developed on my laptop, and am trying to deploy to a unix box, > and most things work fine, but I'm using the newforms form for > instance method, and it can't find it: > > 'module' object has no attribute 'form_for_instance' > > It appea

Re: Weird session

2007-03-01 Thread Malcolm Tredinnick
On Thu, 2007-03-01 at 20:17 -0800, Graham Dumpleton wrote: [...] I wrote: > > > I'm wondering if this may lead to race conditions along the lines of: > > > > > thread A creates a session > > > > > thread B creates a session > > > > > thread A stores "foo = 6

Re: select_related?

2007-03-01 Thread Honza Král
On 2/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Could somebody explain the difference between lets assume you have models Article Author Category where every article has one author and one category > > Foo.objects.all() and this will do something like select * from articles; > Foo.o

Re: Weird session

2007-03-01 Thread Seth Buntin
What type of debug code could I use? Seth On Mar 1, 10:17 pm, "Graham Dumpleton" <[EMAIL PROTECTED]> wrote: > On Mar 2, 2:57 pm, "Seth Buntin" <[EMAIL PROTECTED]> wrote: > > > That probably isn't too far off. One time it did work and it was > > weird so I might have actually got one of the thre

How to modify form error messages.

2007-03-01 Thread Michael Lake
Hi all I see in the documentation for forms that the HTML output will include the validation errors as a near the field. How does one change that? I would like the errors to be after the form field similar to this below irrespective of whether im rendering it as_p or asdefault table layout

HOW TO MAKE EASY MONEY FAST AND LEGALLY!!!!!!!!

2007-03-01 Thread stew
HOW TO MAKE EASY MONEY FAST AND LEGALLY This seems to really have potential. This is the way the original post appeared when I first found it. Read it all then decide for yourself. It works for me! I found this on a bulletin board and decided to try it. A little while back, I was browsing

Re: Weird session

2007-03-01 Thread Graham Dumpleton
On Mar 2, 2:57 pm, "Seth Buntin" <[EMAIL PROTECTED]> wrote: > That probably isn't too far off. One time it did work and it was > weird so I might have actually got one of the threads to fire > correctly. Is there a way to limit the amount of threadsmod_python > uses? The threads are not created

Re: Weird session

2007-03-01 Thread Seth Buntin
That probably isn't too far off. One time it did work and it was weird so I might have actually got one of the threads to fire correctly. Is there a way to limit the amount of threads mod_python uses? Seth On Mar 1, 9:48 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Hi Seth, > > > > On F

Re: Weird session

2007-03-01 Thread Malcolm Tredinnick
Hi Seth, On Fri, 2007-03-02 at 03:35 +, Seth Buntin wrote: > I have this: > > request.session["order_items"] = [] > > and on certain views I have: > > request.session["order_items"].append(order_item.id) > > In development mode this works fine. Even when I use Firebug I see > everything

Re: Preventing tracebacks from pulling back gobs of data

2007-03-01 Thread Karen Tracey
I had the same kind of problems when I started with django. My problem was the tracebacks wanted to include the full contents of any QuerySet variables I had in my functions, and that just wasn't going to work given they sometimes had more than >500,000 rows. I "fixed" it by putting my QuerySet v

Re: Weird session

2007-03-01 Thread Seth Buntin
I have this: request.session["order_items"] = [] and on certain views I have: request.session["order_items"].append(order_item.id) In development mode this works fine. Even when I use Firebug I see everything being sent to the specific views and other areas of the site are being updated corre

Re: How update and recover on-line a Django site

2007-03-01 Thread Kenneth Gonsalves
On 02-Mar-07, at 8:04 AM, mamcxyz wrote: > Sometimes I need to update the site and other times the memory goes up > (and how know why?) and need manually enter the site and restart. > > The site not have big number of visit but I need fix this situation ;) play with your apache settings like Ma

Re: newforms: no attribute 'form_for_instance'

2007-03-01 Thread Malcolm Tredinnick
On Thu, 2007-03-01 at 15:30 -0800, stevelewis wrote: > So I've developed on my laptop, and am trying to deploy to a unix box, > and most things work fine, but I'm using the newforms form for > instance method, and it can't find it: > > 'module' object has no attribute 'form_for_instance' > > It

Re: Weird session

2007-03-01 Thread Malcolm Tredinnick
On Thu, 2007-03-01 at 17:02 -0800, Seth Buntin wrote: > aren't working...sorry > > On Mar 1, 6:55 pm, "Seth Buntin" <[EMAIL PROTECTED]> wrote: > > I am running Apache 2.0.59 and mod_python on Windows. When I run the > > application it looks like the session variables are being set. If I > > go

Re: Error on Running Django on Apache2.2 ......Could Not Import Setting....

2007-03-01 Thread Malcolm Tredinnick
On Thu, 2007-03-01 at 19:50 +, mralokkp wrote: > Still the Problem remains the same. (Gone through your suggestion). > Well I had Implemented This on Apache ( Win Based ) > and Their running successfully. So your home directory has the execute bit set for the "other" section as well (when you

Re: Where do error msgs go on dev server?

2007-03-01 Thread Malcolm Tredinnick
On Thu, 2007-03-01 at 09:06 -0800, [EMAIL PROTECTED] wrote: > Hi, > I am surprised/confused as to where error messages go on the dev server, I > messed up my urls.py one time and the other time had set the upload_to option > of a FileField wrong, both errors that prevented my app from working an

Re: About to defect, need MS SQL Server patch for 0.96pre or 0.95

2007-03-01 Thread mamcxyz
I don't think is a soo big issue. If the backend is Sql 2005, you got it. If not, demand that the developer create a store procedure (document the name and params) and you got it. Take in account that the mayority of the times the django model drive the DB. And if not, anyway stored procedur

How update and recover on-line a Django site

2007-03-01 Thread mamcxyz
I have a site inside a VPS. Sometimes I need to update the site and other times the memory goes up (and how know why?) and need manually enter the site and restart. The site not have big number of visit but I need fix this situation ;) --~--~-~--~~~---~--~~ You

Re: published permission

2007-03-01 Thread Nathan R. Yergler
> > All what i want is to make the published field to appear for certain > user only in the admin interface > is there in way to do that with django pleasee > So you want to allow a group of users to edit the DonorProfile, but only select users within that group may edit the published field?

Re: Unique Id's across several classes/tables

2007-03-01 Thread Honza Král
On 2/28/07, jzellman <[EMAIL PROTECTED]> wrote: > > Thanks for the reply. > > What I am trying to do is have subclasses. So this is what i would > like to do: > > class Parent(models.Model): > #stuff common to all child types > > class ChildA(Parent): > #... > > class ChildB(Parent): >

Re: how to get object after form.save() ?

2007-03-01 Thread Honza Král
On 3/2/07, grahamu <[EMAIL PROTECTED]> wrote: > > > On Mar 1, 12:53 pm, "Honza Kr�l" <[EMAIL PROTECTED]> wrote: > > > > 1. Is there an easy way to get the new object created by form.save()? > > > > obj = form.save() > > Thanks, I finally saw that after perusing the django source code. > > > > 2. Is

Re: Weird session

2007-03-01 Thread Seth Buntin
aren't working...sorry On Mar 1, 6:55 pm, "Seth Buntin" <[EMAIL PROTECTED]> wrote: > I am running Apache 2.0.59 and mod_python on Windows. When I run the > application it looks like the session variables are being set. If I > go straight in to the development server everything is great! What a

Weird session

2007-03-01 Thread Seth Buntin
I am running Apache 2.0.59 and mod_python on Windows. When I run the application it looks like the session variables are being set. If I go straight in to the development server everything is great! What am I missing? Thanks. Seth --~--~-~--~~~---~--~~ You re

Re: un-broken order_by (was "Upcoming Django release, and the future")

2007-03-01 Thread Ramiro Morales
On 2/28/07, Chris Brand <[EMAIL PROTECTED]> wrote: > > I will do so, but it's going to be a week or so before I have the time to > get to it. > > I assume the documentation you mention is in the file docs/db-api.txt ? After you apply the patch, yes. See the .diff file to find the proposed modific

newform: Post_add Submission not working

2007-03-01 Thread johnny
When I submit the information with the form, for some reason, I keep coming back to the form, with data I entered. I am not sure why this is the case. It should take the data, and save to the file. def add_post(request): if request.method == 'POST': form = forms.postForm(request.POS

newform: Post_add Submission not working

2007-03-01 Thread johnny
When I submit the information with the form, for some reason, I keep coming back to the form, with data I entered. I am not sure why this is the case. It should take the data, and save to the file. def add_post(request): if request.method == 'POST': form = forms.postForm(request.POS

Re: user.get_profile()

2007-03-01 Thread James Bennett
On 2/28/07, MattW <[EMAIL PROTECTED]> wrote: > ValueError at /accounts/profile/ > too many values to unpack You've probably put a full Python path into the value of AUTH_PROFILE_MODULE, when it expects 'appname.modelname' instead. -- "Bureaucrat Conrad, you are technically correct -- the best k

Re: hosting single static files at root? (modpy + apache)

2007-03-01 Thread Michael Cuddy
> how can I host a few single files at root level, like for example a > crossdomain.xml file. Using Apache2 + mod_python. > > ( http://www.moock.org/asdg/technotes/crossDomainPolicyFiles/ ) > > thx for any hints, Here's what I'm doing. My (django pertinent part of) apache configuration looks

newforms: no attribute 'form_for_instance'

2007-03-01 Thread stevelewis
So I've developed on my laptop, and am trying to deploy to a unix box, and most things work fine, but I'm using the newforms form for instance method, and it can't find it: 'module' object has no attribute 'form_for_instance' It appears to be there, but I'm not sure why I can't see it. Is there

Re: how to get object after form.save() ?

2007-03-01 Thread grahamu
On Mar 1, 12:53 pm, "Honza Král" <[EMAIL PROTECTED]> wrote: > > 1. Is there an easy way to get the new object created by form.save()? > > obj = form.save() Thanks, I finally saw that after perusing the django source code. > > 2. Is is true that one should not call form.save() if the form was >

Re: psycopg2 ?

2007-03-01 Thread Jeremy Dunck
On 2/28/07, akonsu <[EMAIL PROTECTED]> wrote: > > hello, > > my host has psycopg2 and does not have psycopg. is there a way to use > that? i have django installed as local module in my user directory so > i can tweak it if needed. Change your DATABASE_ENGINE to "postgresql_psycopg2". (Perhaps th

Re: newb: Prevent user Repeating SAME Tags over and over

2007-03-01 Thread Rubic
There's no set data field for models, but if you wanted to store the value as a string you could serialize it: >>> from django.utils import simplejson >>> simplejson.dumps(list(set(('tag1', 'tag2', 'tag1' '["tag1", "tag2"]' Then when you retrieve it, reverse the process: >>> set(sim

Re: Error on Running Django on Apache2.2 ......Could Not Import Setting....

2007-03-01 Thread Joe Murphy
I've seen that error too, and fixed it by fiddling with the PythonPath... --~--~-~--~~~---~--~~ 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 u

Re: Can django apps be compiled for shrinkwrapped applications?

2007-03-01 Thread James Bennett
On 3/1/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > If you're just concerned about not having source available, you can > run this over all your files: > http://docs.python.org/lib/module-compileall.html (but keep in mind that Python bytecode isn't terribly hard to reverse-engineer, and introduc

Re: django on mediatemple (dv) box?

2007-03-01 Thread joe
Something to try - ensure apache is reading your vhosts.conf file - there is a line in httpd.conf that points to a vhosts.conf file - or put the directives right in httpd.conf to test. On Mar 1, 12:45 pm, "leland" <[EMAIL PROTECTED]> wrote: > what's up gang - i've got everything installed on my m

hosting single static files at root? (modpy + apache)

2007-03-01 Thread Bram - Smartelectronix
hey everyone, how can I host a few single files at root level, like for example a crossdomain.xml file. Using Apache2 + mod_python. ( http://www.moock.org/asdg/technotes/crossDomainPolicyFiles/ ) thx for any hints, - bram --~--~-~--~~~---~--~~ You received

Re: Can django apps be compiled for shrinkwrapped applications?

2007-03-01 Thread Jeremy Dunck
On 3/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I've looked around the FAQ on the website and didn't see anything > obvious. Is anyone creating redistributable applications on top of > Django that can be compiled for shrinkwrap style software? I want to > redistribute a web applicati

Can django apps be compiled for shrinkwrapped applications?

2007-03-01 Thread [EMAIL PROTECTED]
I've looked around the FAQ on the website and didn't see anything obvious. Is anyone creating redistributable applications on top of Django that can be compiled for shrinkwrap style software? I want to redistribute a web application without having the source laying around. I've seen application

Re: how to get object after form.save() ?

2007-03-01 Thread Honza Král
On 3/1/07, grahamu <[EMAIL PROTECTED]> wrote: > > Hi all, > Two newforms questions... > > 1. Is there an easy way to get the new object created by form.save()? obj = form.save() > 2. Is is true that one should not call form.save() if the form was > instantiated from a class resulting from form_fo

Re: Error on Running Django on Apache2.2 ......Could Not Import Setting....

2007-03-01 Thread mralokkp
Still the Problem remains the same. (Gone through your suggestion). Well I had Implemented This on Apache ( Win Based ) and Their running successfully. On Mar 2, 12:01 am, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote: > On 3/1/07, mralokkp <[EMAIL PROTECTED]> wrote: > > > > > Locate on /home/user/m

Re: Error on Running Django on Apache2.2 ......Could Not Import Setting....

2007-03-01 Thread mralokkp
Still the Problem remains the same. (Gone through your suggestion). Well I had Implemented This on Apache ( Win Based ) and Their running successfully. On Mar 2, 12:01 am, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote: > On 3/1/07, mralokkp <[EMAIL PROTECTED]> wrote: > > > > > Locate on /home/user/m

Re: Error on Running Django on Apache2.2 ......Could Not Import Setting....

2007-03-01 Thread Jeremy Dunck
On 3/1/07, mralokkp <[EMAIL PROTECTED]> wrote: > > Locate on /home/user/myproject OK. Then just make sure that the apache process has read and execute permissions on the directory (and subdirs), and read permission on all the files. --~--~-~--~~~---~--~~ You rece

Re: Serving Media through mod_proxy.

2007-03-01 Thread David Abrahams
"Jorge Gajon" <[EMAIL PROTECTED]> writes: > Take a look at this page under the section titled "Serving media files" > > http://www.djangoproject.com/documentation/modpython/ > > That way you can also serve your media files from your same Apache instance. Yes, I know. However, that suffers many

Re: Error on Running Django on Apache2.2 ......Could Not Import Setting....

2007-03-01 Thread mralokkp
Locate on /home/user/myproject On Mar 1, 11:37 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote: > On 3/1/07, mralokkp <[EMAIL PROTECTED]> wrote: > > > > . > > > > SetHandler python-program > > PythonPath "['/home/user'] + sys.path" > > PythonHandler django.core.handlers.modpython

Re: Error on Running Django on Apache2.2 ......Could Not Import Setting....

2007-03-01 Thread Jeremy Dunck
On 3/1/07, mralokkp <[EMAIL PROTECTED]> wrote: > . > > SetHandler python-program > PythonPath "['/home/user'] + sys.path" > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE myproject.settings > SetHandler python-program > PythonDebug On >

Error on Running Django on Apache2.2 ......Could Not Import Setting....

2007-03-01 Thread mralokkp
Hello help me out this problem I am Getting this error while accessing my project URL Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in HandlerDispatch resul

Re: About to defect, need MS SQL Server patch for 0.96pre or 0.95

2007-03-01 Thread Sean De La Torre
Yeah, it's quite a pain. Most solutions for 2k involve a custom stored procedure to provide the functionality. SQL Server 2005 introduces the ROW_NUMBER keyword to deal with the issue. On 3/1/07, Mike H <[EMAIL PROTECTED]> wrote: > > > > Wow, slightly stunned that SQL Server 2000 doesn't have th

Re: [help] passing a md5 digest string into URL

2007-03-01 Thread James Bennett
On 2/27/07, Giuseppe Franchi <[EMAIL PROTECTED]> wrote: > Hello everyone... again. :) > As i said, i need to pass in my URL a variable, wich is the > result of a md5 digest. > (no private information... only a validation key). An md5 hex digest is always 32 characters long, containing digits and

Re: passing a md5 digest string into URL

2007-03-01 Thread Bob
You can also do this as: (r^users/activate_user/(?P[^/])/, views.activate_user') which gets you away from relying on the final equal signs, though it would allow any characters into the code other than a slash. That should be okay since the code would not be correct in that case. - Bob On Ma

django on mediatemple (dv) box?

2007-03-01 Thread leland
what's up gang - i've got everything installed on my mediatemple (dv) box. python, mod_python, mysqldb, django, etc. the only part i cannot get to work is setting up the vhost.conf file. i've got the following in there, but when i go to /mysite/ it's still served up by apache... any ideas? S

Re: About to defect, need MS SQL Server patch for 0.96pre or 0.95

2007-03-01 Thread Mike H
Wow, slightly stunned that SQL Server 2000 doesn't have that, at least Oracle has ROWNUM...! Thanks for the clarification though :) Mike On 3/1/2007, "Sean De La Torre" <[EMAIL PROTECTED]> wrote: >Mike, > >Sorry for the confusion. The generic paginated views will not work >correctly because S

How to save a ManyToMany from a (new) form?

2007-03-01 Thread Vertigo
Hello, With this model and form, what is the correct syntax to save a new Room object? from django.contrib.auth.models import User class Room(models.Model): name = models.CharField() users = models.ManyToManyField(User) class Roo

Where do error msgs go on dev server?

2007-03-01 Thread emeraldjunk-django
Hi, I am surprised/confused as to where error messages go on the dev server, I messed up my urls.py one time and the other time had set the upload_to option of a FileField wrong, both errors that prevented my app from working and raised exceptions when reproducing these errors by hand. The dev

Bug in admin's Change Password form?

2007-03-01 Thread Todd O'Bryan
Using the latest from trunk, I get an error when I try to change a user's password in the admin: -- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/django/core/servers/basehttp.py", line 272, in run self.result = application(self.environ, self.start_response)

Re: About to defect, need MS SQL Server patch for 0.96pre or 0.95

2007-03-01 Thread Sean De La Torre
Mike, Sorry for the confusion. The generic paginated views will not work correctly because SQL Server 2000 doesn't naively support the limit offset functionality that other DBs do. I think that SQL Server 2005 does have that functionality, but so many people still use SQL Server 2000 that a solu

newb: Prevent user Repeating SAME Tags over and over

2007-03-01 Thread johnny
Is there a way to get the user entered tags and store them in set (set contains unique items, no duplicates), so duplicates are eliminated and then you can save to the database? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: datetime format and client preferred language?!?!

2007-03-01 Thread James Bennett
On 3/1/07, Jens Diemer <[EMAIL PROTECTED]> wrote: > How can i send a datetime in the client preferred format? Note: i don't > wand to use a template filter to handle this ;) And yet this is *exactly* what the 'date' template filter is for; it's a presentation issue, so a filter in the presentatio

Re: Using Authentication Framework

2007-03-01 Thread ScottB
Hi Matt. > The problem is that it then trys to serve the css from the wrong url - > in the server window I get > > "GET /accounts/site_media/default.css HTTP/1.1" 404 2644 > > whereas the correct path is /site_media/default.css I think you want the url for your media directory to be full, rathe

Re: HttpResponsePermanentRedirect by POST

2007-03-01 Thread ScottB
> How do I do a HttpResponsePermanentRedirect by POST method with > params? > Any ideas? Not sure I understand the question. Your view can return an HttpResponsePermanentRedirect, telling the client to go to another url. However, you can't cause the client to post values to that url. You could

Re: datetime format and client preferred language?!?!

2007-03-01 Thread Jens Diemer
Jens Diemer schrieb: > How can i send a datetime in the client preferred format? Note: i don't > wand to use a template filter to handle this ;) Hm! I can make this: t.strftime(_("%Y-%m-%d - %H:%M")) :) -- Mfg. Jens Diemer CMS in pure Python CGI: http://www.pylucid.org --~--~

datetime format and client preferred language?!?!

2007-03-01 Thread Jens Diemer
How can i send a datetime in the client preferred format? Note: i don't wand to use a template filter to handle this ;) Generally: - There is no "User preferred language" column in the default User table - django doesn't setup a client preferred language based on the HTTP_ACCEPT_LANGUAG

Re: About to defect, need MS SQL Server patch for 0.96pre or 0.95

2007-03-01 Thread Mike H
On 3/1/2007, "Sean De La Torre" <[EMAIL PROTECTED]> wrote: >With the exception of dataset paging, it is feature complete and stable. Excuse the dumb question, but does that mean that generic paginated views will not work, or will just be quite inefficient? Thanks, Mike >On 3/1/07, Jeremy

Re: About to defect, need MS SQL Server patch for 0.96pre or 0.95

2007-03-01 Thread Sean De La Torre
Take a look here for a MS SQL patch: http://code.djangoproject.com/ticket/2358 With the exception of dataset paging, it is feature complete and stable. It is working with the latest SVN release, and it will also work with version .95. Sean On 3/1/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > >

Re: Evaluating Web Development Frameworks: Rails and Django

2007-03-01 Thread linoj
fyi Current posting discusses Ruby vs Python Rails and Django - Programming Language (part 3/15) http://www.vaporbase.com/postings/93 The article series starts here: Evaluating Web Development Frameworks: Rails and Django http://www.vaporbase.com/postings/91 On Feb 27, 12:06 pm,

Re: Preventing tracebacks from pulling back gobs of data

2007-03-01 Thread Jeremy Dunck
On 3/1/07, Tim Chase <[EMAIL PROTECTED]> wrote: ... > the > tracebacks seem to want to try and pull back some humongous > portion of data (600k+ records in one table, and this is the > "small" testing DB). Those variables are somewhere in your call stack. The traceback doesn't "want to" do it.

Re: passing a md5 digest string into URL

2007-03-01 Thread Giuseppe Franchi
Cheers, thanks a lot Scott, you were right and i resolved ^^ I post, maybe someone could find it useful. In my view i used the base64 library. import md5, base64 ... key = md5.new(string).digest() key = base64.urlsafe_b64encode(key) validation.md5_

Re: Generate a tree List...

2007-03-01 Thread Jeremy Dunck
On 3/1/07, Jens Diemer <[EMAIL PROTECTED]> wrote: > > Joseph Heck schrieb: > > Check out the docs at > > http://www.djangoproject.com/documentation/templates_python/ for a good > > overview. Making one is really pretty straightfoward. > > I don't think this is so easy :( > > I found this: > https:

Preventing tracebacks from pulling back gobs of data

2007-03-01 Thread Tim Chase
I've encountered an odd problem that I'm hoping someone out there has encountered and can offer tips. I've got a fairly gargantuan database of phone information (my company manages cell-phone accounts for other companies). However, when I try to troubleshoot my views/templates, the tracebacks

Re: About to defect, need MS SQL Server patch for 0.96pre or 0.95

2007-03-01 Thread Jeremy Dunck
On 3/1/07, Fuzzkat <[EMAIL PROTECTED]> wrote: > > Our Django app - currently running against version 0.96pre - has a > business requirement to support Microsoft SQL Server or Oracle. There is a branch for Oracle support. After some discussion at PyCon, it seems there is a plan for getting it mer

Re: Django newbie question: saving composite objects.

2007-03-01 Thread Manoj Govindan
Hi Malcolm, > I would like to see if subProject.parent the first time you test it > (your first assert()) is exactly the same as after the subProject.save() > line. > I did a bit of debugging and uncovered the following facts. I think they explain the goings on pretty clearly. Let us take the s

Re: selecting site from hostname in URL

2007-03-01 Thread Aidas Bendoraitis
Doug Van Horn was right. Each website has just one settings file. So the SITE_ID should just point to a some id of the Site object (http://example.com). Set ServerAlias *.example.com in the Apache settings for all subdomains to point to the same django project. And then in the views you can parse

Re: Django apps

2007-03-01 Thread Aidas Bendoraitis
Have a look here: http://code.djangoproject.com/wiki/DjangoResources#ExampleDjangoapplicationswithsourcecodetemplates Regards, Aidas Bendoraitis [aka Archatas] On 2/28/07, Alessandro Ronchi <[EMAIL PROTECTED]> wrote: > > Is there any place where I can find django based apps? > > I'm looking for

Earn $1 per hour. Just surf online.

2007-03-01 Thread georgeleow01
I found a great Internet company - Cashfiesta.com - that has created a product everyone can benefit from. They pay you while you work or play on your computer. All you need to do is keep their software - the FiestaBar™ - active while you are online. They even pay you when your friends are using th

Re: admin filter change_list rows

2007-03-01 Thread zenx
Thank you Picio, that was very useful. I will try it :) On 1 mar, 09:40, Picio <[EMAIL PROTECTED]> wrote: > You can do It with custom Managers. This was my way to have list > filtered by user, but maybe It's not your case. Depending on the > deisgn of your project, may be It's better > to build

About to defect, need MS SQL Server patch for 0.96pre or 0.95

2007-03-01 Thread Fuzzkat
Our Django app - currently running against version 0.96pre - has a business requirement to support Microsoft SQL Server or Oracle. We're on the verge of defecting to Ruby-on-Rails, with it's out of the box MS-SQL support, as the only SQL Server patch that we have found only works against 0.91. H

Re: json serialization without certain fields and with extra information?

2007-03-01 Thread Bram - Smartelectronix
Manoj Govindan wrote: > > >> The serializer in trunk has a fields option, which only serializes the >> fields supplied. >> >> Ex: >> serializers.serialize('json', my_user_set, fields=('username', 'id')) > > This doesn't work at the moment > http://code.djangoproject.com/ticket/3466 > > But luc

HOT PICS OF INDIAN BABES

2007-03-01 Thread hotbabe
HOT PICS OF BOLLYWOOD ACTRESS http://bollywoodactress.blogspot.com --~--~-~--~~~---~--~~ 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 unsubscr

Re: Generate a tree List...

2007-03-01 Thread Jens Diemer
Joseph Heck schrieb: > Check out the docs at > http://www.djangoproject.com/documentation/templates_python/ for a good > overview. Making one is really pretty straightfoward. I don't think this is so easy :( I found this: https://svn.greenpeace.org/projects/custard/browser/production/trunk/mel

Re: admin filter change_list rows

2007-03-01 Thread Picio
You can do It with custom Managers. This was my way to have list filtered by user, but maybe It's not your case. Depending on the deisgn of your project, may be It's better to build a custom view inside the admin (as the djangobook chapter 18 speaks). Anyway I do It this way: 1 - store the user

Re: ABSOLUTE_URL_OVERRIDES issue

2007-03-01 Thread Nicolas Steinmetz
Nicolas Steinmetz wrote: > > Hello, > > To use "Cab", I got a path issue and need to override get_absolute_url > defined by James (I would like to avoid to change the models by itself to > keep synchronized with its version). > > James set : > > def get_absolute_url(self): > retur

Re: how can i find a full source code for complete django

2007-03-01 Thread Mary
I am really soo happy and impressed for all your quick reply :) i can view the source now Thank you very much Mary adel On Feb 28, 11:18 pm, "Joseph Heck" <[EMAIL PROTECTED]> wrote: > You can also look intohttp://code.djangoproject.com/wiki/DjangoResources > > -joe > > On 2/28/07, Nathan R. Yer