Re: RV: photos sexy

2010-02-26 Thread GaRaGeD Style
totally agree :) -- $ echo "scale=100; 4*a(1)" | bc -l -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to

ModelForm and dojo form validation

2009-07-09 Thread GaRaGeD Style
This question applies to any other JavaScript validation tool, but I'm doing an app that uses dojo, and i'm trying to put client-side validation smartly, but obviously not achieving it :) Is there any way to add extra fields to the form's HTML created by ModelForm ?? I'm specially concerned

Re: accessing to a field value in the template

2008-12-22 Thread GaRaGeD Style
> That particular value comes from one of three sources. In order of > highest priority to lowest, they are: > >(1) Data submitted to the form (for redisplaying submitted data >for errors). >(2) Initial data provided to the form class >(3) Initial data provided to

Re: I18N on loader.get_template not working for me

2007-02-28 Thread GaRaGeD Style
> Are you using a RequestContext() class when you render your template? If > you are just using a Context() class, you won't see any effect from > context processors. > > If what I just wrote seems like a foreign language (and a quick search > of the djangoproject.com doesn't clear it up for you),

I18N on loader.get_template not working for me

2007-02-28 Thread GaRaGeD Style
I have a testing view that uses loader.get_template/render(context) combo, and in settings.py I have put: TEMPLATE_CONTEXT_PROCESSORS = ( "django.core.context_processors.auth", "django.core.context_processors.debug",

cache views (decorator not working)

2007-02-27 Thread GaRaGeD Style
Hi all I'm really not good at python, and hence not good at django, but I really love both :) I have spent a few hours trying to understand why this works: -- @login_required def object_list(request, model, page): try: return list_detail.object_list(

Re: my private django repository goes public

2006-09-11 Thread garaged
On 9/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi Max, > > garaged schrieb: > > > > That was easy, but the main problem I have is that I really don't > > understand how to implement the new functionallity, I want to use > > libs.dojo, I insta

Re: my private django repository goes public

2006-09-07 Thread garaged
> I added some hints on the README.txt for > http://svn.sourceforge.net/svnroot/django-userlibs/trunk/libs.common > > Yes, you install it view setup.py build/install/bdist_rpm like django. > > Regards, > Dirk Hi Dirk That was easy, but the main problem I have is that I really don't understand

Re: my private django repository goes public

2006-09-05 Thread garaged
On 8/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > for svn checkout or export the correct trunk-url is > http://svn.sourceforge.net/svnroot/django-userlibs/trunk > > Regards, > Dirk I finally got a chance to look at your work, but I really don't understand how to make it work,

Re: my private django repository goes public

2006-08-24 Thread garaged
> My intention is that each library should as much as functional complete and > as much as independent from other requirements. > > Maybe I have to much copied from the source-packaged and maybe I haven't the > right technic used instead of using subversion svn:external feature (which I >

Re: my private django repository goes public

2006-08-23 Thread garaged
On 8/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi all, > > I put some packages for django onto sf.net > http://svn.sourceforge.net/viewvc/django-userlibs/trunk/ > > It contains some media packaged ajax toolkits mochikit, prototype, dojo and > the wysiwyg-editors tinymce and

Re: Trouble accessing photos in my template

2006-08-23 Thread garaged
On 8/23/06, keukaman <[EMAIL PROTECTED]> wrote: > > Thank you. I took your advice and changed "photoid" to "entry". I'm new > to this, so can you elaborate a bit on why it's better to name that > field 'entry'? I will assume I'm actually in the same channel that Chris here. On django models,

Re: Passing user.is_superuser through form

2006-08-22 Thread garaged
On 8/22/06, cyberco <[EMAIL PROTECTED]> wrote: > > Max, I'm not sure I fully understand your reply. Currently I got things > working by passing the user object to the template and returning its > attribute values: > > > value="{{user.is_superuser}}" /> > > > Is

Re: Passing user.is_superuser through form

2006-08-22 Thread garaged
On 8/22/06, cyberco <[EMAIL PROTECTED]> wrote: > > I want to pass the user.is_superuser attribute through a form without > enabling the user to edit it, so I use a hidden field. Like this: > > TEMPLATE= > value="{{userWrapperForm.is_superuser}}" /> > = > > Weird

Re: django cannot connect to mysql after upgrade

2006-08-22 Thread garaged
I thinks its a problem on mysql-client package, I haven't made any testing with other packages, but probably there are others broken too. Hopefully will be corrected soon :) Max -- -BEGIN GEEK CODE BLOCK- Version: 3.12 GS/S d- s: a-29 C++(+++) ULAHI+++ P+ L++>+++ E--- W++ N* o-- K-

Re: User registration.

2006-08-18 Thread garaged
On 8/18/06, themak <[EMAIL PROTECTED]> wrote: > > What is the best way to go about creating a user registration view in > django, should I use create my own custom manipulator and create_user, > or should I use an add manipulator, or is there already a user > manipulator? It should be plain

Re: Site-Wide views

2006-08-15 Thread garaged
On 8/15/06, Seth Buntin <[EMAIL PROTECTED]> wrote: > > Is possible to have a view (and correct me if I am using my teminology > wrong) that is accessible site-wide? > > For example: > I have a blog that on the sidebar lists links that I put into the > system when I find them. Is it possible to