Just to follow up on this, my problem appears to have been a munged
install of nginx. I restarted from scratch with the exact same config
files quoted above and it just worked™
So the settings files I quoted above appear to be OK, in case anyone
wants to crib off of them.
On Sep 27, 9:29 am, [E
Daniel bodom_lx Graziotin wrote:
> Hi everybody! I'm a new Django developer and for learning the
> framework I decided to create (another) pastebin clone that I
> published on http://incollo.com
> The application works very well and I'm very proud of it because I
> started learning Django six days
maverick wrote:
> Hi, I have a django web application, I want to invoke a request of one
> URL inside this application, e.g. "/getdata/", and capture the output
> of such URL and do some further processing.
>
> Of course I can do that by make a real request, however I feel this
> may not be the be
Ah, some details:
-> Admin interface runs OK with python manage.py runserver - as of it
is an Apache error, Django's web server isn't affected by this bug.
-> I'm using Debian etch as server: I've installed Apache, PHP and
mod_php with Debian packages, but Django installed manually.
-> Versions:
I was with this bug but now it's corrected. Please see:
http://groups.google.com/group/django-users/browse_thread/thread/676a90769fe2aec9?pli=1
--
Cheers,
Álvaro Justen
Debian GNU/Linux user
--~--~-~--~~~---~--~~
You received this message because you are subsc
On Tue, Sep 30, 2008 at 2:41 PM, lingrlongr <[EMAIL PROTECTED]> wrote:
>
> Before the new forms and admin came, I could've sworn that the
> prepopulate_from (now prepopulated_fields) stuff worked when creating
> a new object in the admin, __AND__ when you edit an existing object.
>
> Can someone c
Yea... I didn't know for sure, but I thought it used to. That's why I
asked. I wonder why that functionality wasn't there by default...
keith
On Tue, Sep 30, 2008 at 9:22 PM, Karen Tracey <[EMAIL PROTECTED]> wrote:
> On Tue, Sep 30, 2008 at 2:41 PM, lingrlongr <[EMAIL PROTECTED]>wrote:
>
>>
>
On Oct 1, 10:56 am, Álvaro Justen <[EMAIL PROTECTED]> wrote:
> Daniel bodom_lx Graziotin wrote:
> > Hi everybody! I'm a new Django developer and for learning the
> > framework I decided to create (another) pastebin clone that I
> > published onhttp://incollo.com
> > The application works very we
On Tue, 2008-09-30 at 08:22 -0700, bruno desthuilliers wrote:
> On 30 sep, 14:04, bruno desthuilliers <[EMAIL PROTECTED]>
> wrote:
> > On 29 sep, 23:16, bruno desthuilliers <[EMAIL PROTECTED]>
> > wrote:
> >
> > Partly answering to myself:
> >
> > (snip)
> >
> > > After a couple more tests and in
On Tue, 2008-09-30 at 13:08 -0700, krylatij wrote:
> I have model with 3 fields - id, name_ru, name_en
> I want rename 'name_ru' field to 'name' in query
> i try this:
> operations =
> OperationType.objects.values('id').extra(select={'name': 'name_ru'})
>
> but it returns only 'id'
> what's
On Tue, 2008-09-30 at 15:08 -0700, Merrick wrote:
> If I run the following query on psql:
>
> SELECT nextval('redirect_link_id_seq');
>
> it returns an integer, say 5
>
> when I do the following with the django shell I get a different
> result:
>
> >>> def get_next_id():
> ... cursor = co
On Tue, 2008-09-30 at 08:05 -0700, SnappyDjangoUser wrote:
> Hi Malcolm,
>
> You suggested:
>
> > set up the data structures
> > you pass to your view a bit differently so that you can loop over the
> > forms and the products simultaneously (that is, pull apart the formset
> > forms and zip the
Thank you, I was doing this:
def encode_id(id):
...
number = id
charset = string.letters + string.digits
base = len(charset)
count = 0
while number:
digit = number % base
...
and kept getting an error, when I did this:
id = row[0]
encode_id(id)
I didn't realize
My ModelForm has two input fields url and code, and I raise a
ValidationError if the code contains anything other than letters,
numbers and dashes. My logic looks something like this:
if form.is_valid():
...
return render_to_response('new.html', {'code': new.code})
if ValueError:
if form.cle
On Wednesday 01 October 2008 01:35:55 am Merrick wrote:
> All is not lost if a user enters an invalid code I still want to do
> something with just the url, but I cannot get
> form.cleaned_data.get('url'). Any ideas how to get the url inputted
> and to clean it inside the ValueError branch of code
I am looking for Solid open source web developers to work in Brisbane;
if you know of anyone or have a friend or colleague who would be
interested please let me know or pass on my contact details,
Cheers - Scott +61 (07) 3023 5222
Main skills we are looking for include:
*software version contro
Yeah thanks, I guess I wasn't clear. I realize I don't have access to
cleaned_data but I want to validate my url the same way as django does
by default on a form - any pointers on how to accomplish that?
Also how do I access the form submission if not through
cleaned_data.get?
On Sep 30, 10:49
101 - 117 of 117 matches
Mail list logo