Pro Django: Web Development Done Right

2007-02-21 Thread Jaroslaw Zabiello
I have just found "Pro Django: Web Development Done Right" book in Amazon. Is it related with DjangoBook or it is another, different book? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Pro Django: Web Development Done Right

2007-02-21 Thread Jaroslaw Zabiello
I have just found "Pro Django: Web Development Done Right" book in Amazon. Is it related with DjangoBook or it is another, different book? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Re: Issues with FastCGI

2006-11-07 Thread Jaroslaw Zabiello
nly Polish version at the moment) -- Jaroslaw Zabiello http://blog.zabiello.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

Re: Issues with FastCGI

2006-11-07 Thread Jaroslaw Zabiello
Page not found --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED

Issues with FastCGI

2006-11-05 Thread Jaroslaw Zabiello
I am using Django SVN rev.4021, Python 2.4.3, Nginx 0.4.12, I cannot launch Django under FastCGI. My django.fcgi file is: #!/usr/bin/env python import os, sys sys.path += ['/home/app'] from flup.server.fcgi import WSGIServer from django.core.handlers.wsgi import WSGIHandler os.environ['DJANGO_SE

Bugtracker sucks?

2006-11-05 Thread Jaroslaw Zabiello
There are issues with bugtracker (http://code.djangoproject.com/newticket). I and few other people are not able to add new ticket, because it returns Internal Error "Akismet rejected spam" -- Jaroslaw Zabiello http://blog.zabiello.com --~--~-~--~~~---~--~

Problem with DRY and feeding parent's template block

2006-06-22 Thread Jaroslaw Zabiello
red (partials) templates can be set in one, and only one, place: application.rb: class Application before_filter :defaults def defaults @name = 'Jarek' end end test1_controller.rb class Test1 < Application def index end end test2_controller.rb: cl

Ajax support, there is no need for reinventing the wheel

2006-06-02 Thread Jaroslaw Zabiello
I have heard that in Django 0.92 we will have added Ajax. We are having 0.95 now (svn) and still nothing was added. :( Why? The idea is simple. Ajax is pain in ass if we would like to use only pure JavaScript. So we need good helpers fo more comfortable work. For me Rails has very cool Ajax supp

How to build manipulator fields in dynamic way?

2006-05-26 Thread Jaroslaw Zabiello
How to create manipulator fields in more dynamic way? For example I have the form, where only one combobox field is displayed in the begining. After submit, another combobox will be displayed. But its content depends on previous choice... How to do it if I have to define all fields in the constr

How to validate CheckboxField?

2006-05-26 Thread Jaroslaw Zabiello
I am using Django SVN. How to validate tthe form which consists of two CheckboxField fields. The rule is: the form is validated if ANY of those fields is checked. My manipulator is: from django import forms class TestManipulator(forms.Manipulator): def __init__(self): self.fields = (

Limiting selected records and distinct as a keyword

2006-01-03 Thread Jaroslaw Zabiello
In http://www.djangoproject.com/documentation/db_api/ we can read about "distinct" keyword but it is not clear how to use it (any examples need!). It was added as a bug to http://code.djangoproject.com/ticket/1152. -- JZ