On 1/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I`ve got couple of questions about auth system. Just a directions..1. How do I extend base User class? I`ve read about subclassing, but it
was two month ago and it was not very clear.. Is there any new method?I think you are talking about htt
On Thursday 26 Jan 2006 1:12 pm, [EMAIL PROTECTED] wrote:
> img= meta.ImageField('Attach Image', upload_to='postimgs',
upload_to='postings/'
--
regards
kg
http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!
On 1/26/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> If your request.POST is displayed as , that means
> request.POST is empty. If request.POST had something in it, it'd look
> like this:
>
>
And it might me you've run into a newbie hole
http://code.djangoproject.com/wiki/NewbieMistake
* thud! * - the sound of a rather large penny dropping.
Many many thanks Adrian, it's making a *lot* more sense now (how on
earth did I miss that page in the docs!)
I *think* that the reason why my request.POST was coming though as
empty (even when I clicked submit) is that I had no name for my
On 1/26/06, tonemcd <[EMAIL PROTECTED]> wrote:
> Essentially, I used to have statements like this some_variable_from_my_form> sprinkled around my pages to check that
> form-based variables where being passed through correctly. Zope put
> into a namespace called 'form', but also made them availabl
Louis wrote:
Ben, Eugene: I think one of the difference between "helper" approach
and "widget" (especially dojo.widget) approach is whether you want to
specify "parameters or behaviors" of elements in the page using
(proprietary) DOM attributes or using parameters to helper tags. So
Widgets
Hello again Amit,
I'm trying to get the Zen of Django, by using methods I used to use in
Zope ;)
Essentially, I used to have statements like this sprinkled around my pages to check that
form-based variables where being passed through correctly. Zope put
into a namespace called 'form', but also
I`ve got couple of questions about auth system. Just a directions..
1. How do I extend base User class? I`ve read about subclassing, but it
was two month ago and it was not very clear.. Is there any new method?
2. I want to have login form on each page. How should I process form,
if I want to st
On 1/27/06, tonemcd <[EMAIL PROTECTED]> wrote:
Cheers Eric, but 'debug' doesn't seem to work in an intuitive way - atleast to me ;)e.g.{% debug %}Hi tonemcd, What exactly are you trying to do? If you just want to inspect the variables passed to view code, why dont you use a "assert False" somewher
Cheers Eric, but 'debug' doesn't seem to work in an intuitive way - at
least to me ;)
e.g.
{% debug %}
dumps this into the page
{'block': It is '>, ,
If I'm understanding correctly, this is how prepopulate_from works for
SlugField :
http://www.djangoproject.com/documentation/model_api/#field-types
On Thursday 26 January 2006 09:43, tonemcd wrote:
> I guess what I was after was functionality like in
> Zope, where the entire HTTP Request object is dumped, along with
> environment and other variables. GET and POST are all expanded out too.
> With the Zope PageTemplate code that Stefan contrib
While on the subject, my Nokia 770's RSS reader always believes there
are new versions available of the main Django and the Django community
blogs.
Hi,
I just noticed there's a lot of postings on this thread.
Ian: I only spent half an hour or so to make a bridge between Django
and Ben's RailHelpers. Thanks for the concern, but don't worry about
it. My code is public domain and anybody can use and modify if they
like.
I did a bit more of Aj
Thanks for the info 'the.ech0' - it seems that's what I have to do.
I guess what I was after was functionality like in
Zope, where the entire HTTP Request object is dumped, along with
environment and other variables. GET and POST are all expanded out too.
With the Zope PageTemplate code that Ste
you have to loop over the variable to display elements from the dict or
just pass in the value you want to from the post.
return render_to_response('resources/index', {
'request': request,
'foo': request.POST["foo"],
'mes
you have to loop over the variable to display elements from the dict or
just pass in the value you want to from the post.
return render_to_response('resources/index', {
'request': request,
'foo': request.POST["foo"],
'mes
Another thing... I lost hours to find the slugify function in the
code...
It would be nice if something like this would be possible :
class Poll(meta.Model):
title = meta.CharField(maxlength=30)
slug_title = meta.SlugField(auto_from=self.title,maxlength=30)
The slug_title field will be
Hello,
Take a look in the URLify javascript and python function
javascirpt /media/js/urlify.js
http://code.djangoproject.com/browser/django/trunk/django/core/template/defaultfilters.py#l66
These function are nice to make nice URI that will bring good google
rank page.
But there is possible to
On 1/26/06, Tim Terlegård <[EMAIL PROTECTED]> wrote:
> Why is a field with prepopulate_from populated using javascript?
> It's ok that javascript is used for some tasks, but why is it used for
> populating a field before it's saved? Can't it be done in the save()
> method instead?
That's because
I knew it was that easy. Must have missed that line in the install
guide.
Thanks,
Chase
Hi all,
This is probably going to sound really silly, but when I'm debugging, I
just can't easily output the contents of request.POST and request.GET
into my templates.
I have tried this;
return render_to_response('resources/index', {
'request': request,
Why is a field with prepopulate_from populated using javascript?
It's ok that javascript is used for some tasks, but why is it used for
populating a field before it's saved? Can't it be done in the save()
method instead?
Tim
It is my first Django tutorial, and many things I have not mentioned.
I hope I can continue it.
All codes can be downloaded or checkout from svn. There are two
version source code in svn, one aims 0.91 version, and the other aims
magic-removal branch. The sub directory newtest is for magic-remova
在 2006-1-26 16:23:[EMAIL PROTECTED] 写道:
> Their is a strange bug in the admin interface of django
> 1- i want to add new user from the admin interface
> 2- i went to users and add new user
> 3-i write my password
> but i can't log in with this password
> what i noticed is that this password is n
Their is a strange bug in the admin interface of django
1- i want to add new user from the admin interface
2- i went to users and add new user
3-i write my password
but i can't log in with this password
what i noticed is that this password is not saved as md5 in the
database so it is not working
I am suffering from the same problem acctually and i need hepl too
Mary AdelSoftware DevelopperITrize-Egypt 13 Naguib
Hashad medan elhegaz heliopolisemail: [EMAIL PROTECTED]Office:
+202 - 6236612 EXT. 102Mobile: +2012 5241719
Original Message Subject:
image field update impossibl
27 matches
Mail list logo