Re: utf8 works on my dev server but not on my production server

2008-09-01 Thread Henhiskan
On 1 sep, 16:23, Max <[EMAIL PROTECTED]> wrote: > Hi, > I ve been trying to figure out why I can t handle utf-8 properly on my > production server, while it works perfectly on my local django dev > server > > When I try to run this line > unicode_data.decode("utf-8") > > With data coming from DB >

Re: ANNOUNCE: Django 1.0 released

2008-09-03 Thread Henhiskan
Thanks very much to all people involved on this great project, congratulations to everyone -- Richard Rossel Valparaiso - Chile --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

using django.contrib.auth interface

2007-06-27 Thread Henhiskan
Hi fellows, I have doing a custom user authentication, I have my own views to control login and logout, and works great, but now I wish use the authentication views that Django provides. When forms call to login view, Django authenticate user but then redirect to '/account/profile'. Reading the so

Get the current username on models.py

2008-02-07 Thread Henhiskan
Hi fellows, I have running django 0.96 and I try to get the name of the current user (logged in admin interface) to use in the models.py. The model is like: class Region(models.Model): name = models.CharField(maxlength=60) def save(self): changelog = ModelChangelog(username=User().use

Re: Get the current username on models.py

2008-02-07 Thread Henhiskan
On 7 feb, 12:22, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > See:http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser Thanks a lot, is exactly that I was looking for --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Paginator confuse

2008-02-13 Thread Henhiskan
Hi fellows, Am very confused about the paginator implementation. I am using 0.95 version and I implemented a generic view using list_detail.object_list and works very good. Basically that I have is : url.py: requests_list = { 'queryset' : Request.objects.all(), 'template_name': 'admin/req

Set attributes to input using newforms

2007-11-01 Thread Henhiskan
Hi fellows, Am using django-0.96 and I need to set an input html attribute from a newforms I need to use a time picker from dojo, for that I need to have something like this: The only solution I can think of is to process the form.as_table() string and put the snip of code that I need, just befo

Re: Set attributes to input using newforms

2007-11-01 Thread Henhiskan
There is no widget docs for v0.96 documentation, but I just read the doc of current dojo version, and find the solution to my problem, just: discovered_time = forms.TimeField(widget=forms.TextInput(attrs={'dojoType':'dropdowntimepicker'})) Cheers.- --~--~-~--~~~---~

for loop break

2006-10-31 Thread Henhiskan
Hi guys, I try it to do a break on a for loop (django template). For example, iterates until find a element. How can I make it? thanks.- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

Incorporating new function in web Administration Django

2006-08-28 Thread Henhiskan
Hi fellows, I have been using Django administration via Web to manage my application, but now need one more functionality, i.e., when I save a new register the application should be creates, for example,a new directory tree (/var/newregister/). Where can I add this feature?. I have used postgr

Re: Incorporating new function in web Administration Django

2006-08-28 Thread Henhiskan
thanks, that help me a lot :) --~--~-~--~~~---~--~~ 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 [E

syncdb without prompt

2006-09-13 Thread Henhiskan
Hi fellows, How can I run manage.py syncdb without ask me for a user admin. I try with manage.py syncdb --noinput but didn't work. regards.- -- Richard Rossel Valparaiso - Chile --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: syncdb without prompt

2006-09-14 Thread Henhiskan
Hi Magee, That was what I thought at the begining, but I read the option --noinput in 0.95 documentation. Actually I'm using django 0.95. Do you know what is the impact of upgrading from 0.95 to the nightly builds? My concern is that it could affect my current development. regards.- -- Richard R

Re: syncdb without prompt

2006-09-14 Thread Henhiskan
Ok Russ, I'll try with SVN version. Thanks for all -- Richard Rossel Valparaiso, Chile --~--~-~--~~~---~--~~ 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@googleg