DO NOT OPEN

2007-11-10 Thread donnnnnnnnnnnnnt
DO NOT OPEN www.chromee.blogspot.com DO NOT OPEN www.chromee.blogspot.com DO NOT OPEN www.chromee.blogspot.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: newforms-admin fieldsets classes question

2007-11-10 Thread Joseph Kocherhans
On 11/10/07, Karen Tracey <[EMAIL PROTECTED]> wrote: > Was it intended to change the type of the 'classes' value in an Admin field > (now fieldset in newforms-admin) specification from string to tuple? The > old doc here: > > http://www.djangoproject.com/documentation/model-api/#classes > >

newforms-admin fieldsets classes question

2007-11-10 Thread Karen Tracey
Was it intended to change the type of the 'classes' value in an Admin field (now fieldset in newforms-admin) specification from string to tuple? The old doc here: http://www.djangoproject.com/documentation/model-api/#classes states the value should be a string and if you want to specify more

Re: Will there be a django 0.97 release ?

2007-11-10 Thread James Bennett
On Nov 10, 2007 10:01 PM, ToddG <[EMAIL PROTECTED]> wrote: > I don't think (at least hope) that people in general are slighting the > amount of effort that goes into a release -- a big recurring theme > seems to be though that what you keep graciously going to great > lengths to repeat here isn't

Re: Will there be a django 0.97 release ?

2007-11-10 Thread ToddG
On Nov 9, 6:41 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > then. It's very time consuming to go around again on this topic (in > fact, it will slow down the next release, and I gather people in this > thread want that as soon as possible). I don't think (at least hope) that people in

Re: AUTH_PROFILE_MODULE usable with v0.96?

2007-11-10 Thread Evgeny
ok problem found AUTH_PROFILE_MODULE was set incorrectly Thanks. On Nov 10, 5:22 pm, "evgeny.fadeev" <[EMAIL PROTECTED]> wrote: > For me the following view function gives the same error: > def dummy_login(request): > u = User.objects.create_user('dummy','','dummy') > p =

Re: Will there be a django 0.97 release ?

2007-11-10 Thread Kenneth Gonsalves
On 11-Nov-07, at 5:15 AM, James Bennett wrote: >> Is this going to coincide with the release of the django book, by any >> chance? ;) > > The book is not, never has been and never will be tied in any way to > the timing of a 1.0 release. The book's schedule has always been > independent of

Re: Unsubscribing from this group... impossible?

2007-11-10 Thread Malcolm Tredinnick
On Sun, 2007-11-11 at 01:36 +, Tom Badran wrote: > Best fire an email off to the guys at google. I've used the link > (buried somewhere in their help section if i can remember) for the > google apps for your domain stuff, and always got a reply within a day > or so. My best guess would be

Re: Unsubscribing from this group... impossible?

2007-11-10 Thread Tom Badran
Best fire an email off to the guys at google. I've used the link (buried somewhere in their help section if i can remember) for the google apps for your domain stuff, and always got a reply within a day or so. My best guess would be your subscribed under a different email alias though, probably

Re: AUTH_PROFILE_MODULE usable with v0.96?

2007-11-10 Thread evgeny.fadeev
For me the following view function gives the same error: def dummy_login(request): u = User.objects.create_user('dummy','','dummy') p = UserProfile() p.user = u p.save() u.save() print 'before auth',u.id u = authenticate(username='dummy',password='dummy')

Re: django and s3

2007-11-10 Thread Adam Fast
Sebastian, S3 is simply a storage service. There is no way to run scripts (such as django) against it. If you just want to host the static content of your site (such as images and CSS) you'll find info on that all throughout the list's history. But from how I read your question, you want to

Re: Unsubscribing from this group... impossible?

2007-11-10 Thread Darryl Ross
Melech Ric wrote: > Actually, I've tried that and the web i/f doesn't think I'm subscribed. > It's rather odd. I subscribed through the form on the django site and > didn't realize it was a google group until the mail started showing up. > I'd have rather done it through google's web i/f had I

Re: media directory for testing

2007-11-10 Thread Malcolm Tredinnick
On Sat, 2007-11-10 at 16:52 -0500, Faheem Mitha wrote: > > Hi. > > I'm having the following problem while testing. I'm writing a unit test > for a file upload (using newforms). This works. However, the file gets > written to the same media directory as is used in normal work. I'd prefer >

Re: __str__(self) for ManyToManyField

2007-11-10 Thread Malcolm Tredinnick
On Sat, 2007-11-10 at 11:26 -0800, Xan wrote: > > > On Nov 10, 6:01 am, Malcolm Tredinnick <[EMAIL PROTECTED]> > wrote: > > On Fri, 2007-11-09 at 08:19 -0800, Xan wrote: > > > > > On Nov 9, 2:36 am, Malcolm Tredinnick <[EMAIL PROTECTED]> > > > wrote: > > > > On Thu, 2007-11-08 at 09:11 -0800,

Re: URL Regex Grouping

2007-11-10 Thread Malcolm Tredinnick
On Sat, 2007-11-10 at 10:19 -0800, P wrote: [...] > My problem is not with mapping the url to the correct view, it is with > using {% url %} tag to look up the named url pattern. It seems that I > can only get {% url %} to work if I do not include the regex grouping > in the above pattern

Re: Will there be a django 0.97 release ?

2007-11-10 Thread James Bennett
On Nov 10, 2007 8:36 AM, David Reynolds <[EMAIL PROTECTED]> wrote: > Is this going to coincide with the release of the django book, by any > chance? ;) The book is not, never has been and never will be tied in any way to the timing of a 1.0 release. The book's schedule has always been

django and s3

2007-11-10 Thread sebastian stephenson
I am considering using amazon s3 as a web-hosting service and I would like to know do django or python itself prevent this from happening? see ya sebey --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Taconite + jquery + Django

2007-11-10 Thread wenster
Yep, sounds really nice :) I'm going to have a good look at it when I get the time, thanks for contributing the ideas! Incidentally, Packt Publishing have a book about Django in development at the moment, and it has a strong "Web 2.0" focus, with chapters on using jquery with Django. I'm a

media directory for testing

2007-11-10 Thread Faheem Mitha
Hi. I'm having the following problem while testing. I'm writing a unit test for a file upload (using newforms). This works. However, the file gets written to the same media directory as is used in normal work. I'd prefer this happened somewhere where it would have no impact on normal

Admin Dies With White Screen

2007-11-10 Thread Mike Cantelon
Hi all, I'm trying to run the latest Subversion version of Django on Centos 4.4 with MySQLdb 1.2.2, MySQL 4.1, Python 2.3.4, and mod_python 3.x. I've tested mod_python and it works, I've tested MySQLdb by doing a query from the Python command line and it works. I can get a Django URL to

Re: __str__(self) for ManyToManyField

2007-11-10 Thread Xan
On Nov 10, 6:01 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2007-11-09 at 08:19 -0800, Xan wrote: > > > On Nov 9, 2:36 am, Malcolm Tredinnick <[EMAIL PROTECTED]> > > wrote: > > > On Thu, 2007-11-08 at 09:11 -0800, Xan wrote: > > > > Hi, > > > > > I have these models: > > > > >

URL Regex Grouping

2007-11-10 Thread P
Hi, I am fairly new to Django and have got really stuck on something that should be relatively easy to implement. I have tried many variations to solve this problem but maybe I am just going about it the wrong way. I require a url rule that will cater for a number of url combinations for an

Re: Unsubscribing from this group... impossible?

2007-11-10 Thread Melech Ric
Actually, I've tried that and the web i/f doesn't think I'm subscribed. It's rather odd. I subscribed through the form on the django site and didn't realize it was a google group until the mail started showing up. I'd have rather done it through google's web i/f had I known this. I'm beginning

Re: Using auth in model

2007-11-10 Thread Matthias Urlichs
Hi, On Nov 10, 3:18 am, Arnold Chen <[EMAIL PROTECTED]> wrote: > Sorry, there is a typo mistake, my question is "how to get logged-in" > user WITHOUT request parameter. > Because i want to use it in a function in models.py There is a clean separation of "what data do you have" and "what data

Re: Unsubscribing from this group... impossible?

2007-11-10 Thread Tom Badran
You could probably use the google groups web interface directly, rather than the mail gateway .. dont know exactly what to do there but im sure you could find it. Tom On Nov 10, 2007 4:29 PM, Melech Ric <[EMAIL PROTECTED]> wrote: > > Guys, > > I really love this group. I really do. However, I

Unsubscribing from this group... impossible?

2007-11-10 Thread Melech Ric
Guys, I really love this group. I really do. However, I need to move it off the account I initially subscribed with and onto another account. I've tried sending an e-mail to: [EMAIL PROTECTED] but it *has never* worked. Google just sends me a reply saying I'm not subscribed to django-users.

Re: Will there be a django 0.97 release ?

2007-11-10 Thread David Reynolds
On 9 Nov 2007, at 1:58 am, Malcolm Tredinnick wrote: > > On Thu, 2007-11-08 at 21:17 +, kahless wrote: > [...] >> So are there any plans on releasing a 0.97 ? > > The next release will almost certainly be written as "1.0". Is this going to coincide with the release of the django book, by

Re: Using {% ifequal %} in my template is not working

2007-11-10 Thread Greg
Thanks Ivan, I've got it working however I did something different. I just put str() around my query and it works. So instead of request.session['info'].update(shape=ProductShape.objects.get(id=request['shape'])) I used:

Re: pull a random record from the database

2007-11-10 Thread Hani Musallam
One last thought. By writing a wrapper, does this not limit the random book object to teh wrapped view? So, If I wanted to use it elsewhere, (say in the sidebar, or the forums page), I would have to re-write teh code/wrapper? Would it not be easier to make this a method of the model class. I

Re: Taconite + jquery + Django

2007-11-10 Thread Anton Daneika
thanks, this is indeed some useful new info for me, any following examples would be much appreciated. On Nov 8, 2007 6:52 PM, Brian Costlow <[EMAIL PROTECTED]> wrote: > > Just thought I'd pass this along. I've been lurking about learning as > I work on a couple of Django-based projects, and

Re: url tag difficulties

2007-11-10 Thread Malcolm Tredinnick
On Sat, 2007-11-10 at 11:02 +, [EMAIL PROTECTED] wrote: > > No. This one's a case or pilot error. If you want to use this form, you > > must write it as: > > > > url(r'^$', 'index', name="blog-index") > > > > url() is a function call, so you can pass it named arguments. The (...) > >

Re: url tag difficulties

2007-11-10 Thread girzel
> No. This one's a case or pilot error. If you want to use this form, you > must write it as: > > url(r'^$', 'index', name="blog-index") > > url() is a function call, so you can pass it named arguments. The (...) > form (without a leading "url") is a Python tuple and you can't use >

Please give me feedback

2007-11-10 Thread LamChops
Check out my first site! Website: http://www.wtfnubs.com Blog: http://wtfnubs.com/NewsBlog/ Forum: http://www.wtfnubs.com/Forum/index.php Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

Re: Using {% ifequal %} in my template is not working

2007-11-10 Thread Ivan Sagalaev
Greg wrote: > request.session['info'].update(shape=ProductShape.objects.get(id=request['shape'])) > return render_to_response('search.htm', {'pinfo': > request.session['info']} This might be because of your first line here doesn't work as expected. Session is not exactly a dict and one of the

Re: url tag difficulties

2007-11-10 Thread Malcolm Tredinnick
On Sat, 2007-11-10 at 10:25 +, [EMAIL PROTECTED] wrote: > > hello, > > > > I am learning a lot from the B-List blog > > Here is an entry, which could be interesting for > > you:http://www.b-list.org/weblog/2007/nov/06/urlconf/ > > (specially the named URL patterns) > > Thanks Bernd, > >

Re: url tag difficulties

2007-11-10 Thread Jonathan Buchanan
[EMAIL PROTECTED] wrote: >> hello, >> >> I am learning a lot from the B-List blog >> Here is an entry, which could be interesting for >> you:http://www.b-list.org/weblog/2007/nov/06/urlconf/ >> (specially the named URL patterns) > > Thanks Bernd, > > I'd seen that before, and decided I

Re: url tag difficulties

2007-11-10 Thread girzel
> hello, > > I am learning a lot from the B-List blog > Here is an entry, which could be interesting for > you:http://www.b-list.org/weblog/2007/nov/06/urlconf/ > (specially the named URL patterns) Thanks Bernd, I'd seen that before, and decided I wouldn't mess with it if I couldn't get the

Re: url tag difficulties

2007-11-10 Thread Brot
hello, I am learning a lot from the B-List blog Here is an entry, which could be interesting for you: http://www.b-list.org/weblog/2007/nov/06/urlconf/ (specially the named URL patterns) Bernd On Nov 10, 5:53 am, "Todd O'Bryan" <[EMAIL PROTECTED]> wrote: > I've also been a little frustrated