Re: 求解答 说是找不到'hello', 我看Python的搜索path 也对啊 附件是程序 我是第一次接触Django

2014-11-11 Thread Ricardo L. Dani
actually, or use 'mysite.viess.hello' on the second argument of your url definition 2014-11-11 13:07 GMT-02:00 Ricardo L. Dani : > missing > > from .views import hello > > on urls.py > > or use 'hello' as string > > 2014-11-11 11:54 GMT-02:00 tk

Re: 求解答 说是找不到'hello', 我看Python的搜索path 也对啊 附件是程序 我是第一次接触Django

2014-11-11 Thread Ricardo L. Dani
it > https://groups.google.com/d/msgid/django-users/8cf2f5d7-2906-4dad-88ab-0d6bd290008c%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/8cf2f5d7-2906-4dad-88ab-0d6bd290008c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options

Re: update() on queryset django 1.7.1 not functional

2014-11-10 Thread Ricardo L. Dani
send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/83c6c0e3-592e-4357-8556-797eff6e261d%40googlegroups.com > <https://groups.goo

Re: Is this a bug in django? template_context_processors processed in views without RequestContext context_instance.

2012-06-13 Thread Ricardo L. Dani
Guys, I solved. It's django-debug-toolbar fault. It's does double requests and loads all the context processor :( Thanx 2012/6/13 Ricardo L. Dani > Hello everyone, > > I'm having a issue with template_context_processors requests and views > that do not use the co

Is this a bug in django? template_context_processors processed in views without RequestContext context_instance.

2012-06-13 Thread Ricardo L. Dani
Hello everyone, I'm having a issue with template_context_processors requests and views that do not use the context processors, i.e. in a render_to_response without use of RequestContext. For example, in my TEMPLATE_CONTEXT_PROCESSORS, as default, I have a "django.contrib.auth.context_processors.a

[geo-django] Best way to capture geo-coordinate of an anonymous user?

2011-08-25 Thread Ricardo L. Dani
Hello everyone, Anyone knows how to capture a geo-coordinate of an anonymous user after his insert your address in an input? Using a google api? Thanks so much -- Ricardo Lapa Dani -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: manage.py dumpdata json storage problem

2011-08-01 Thread Ricardo L. Dani
I found the ticket to this issue (with patchs) https://code.djangoproject.com/ticket/5423 On Mon, Aug 1, 2011 at 9:32 AM, Ricardo L. Dani wrote: > Hello django-users, > > I'm having problems trying to serialize the data of a postgresql db of my > business application (lot

manage.py dumpdata json storage problem

2011-08-01 Thread Ricardo L. Dani
achs the limit causing a exeption: django.db.utils.DatabaseError: out of memory for query result The question is, somewone knows a way to this command write in the data.json directly or in demand? I believe this is the problem and solution, am I correct? graciously, -- Ricardo Lapa Dani -- You

Re: django-admin inspectdb does not detect NULL columns for PostgreSQL database

2011-07-22 Thread Ricardo L. Dani
FYI i fixed that and post a patch in the ticket. Regards On Thu, Jul 21, 2011 at 9:21 AM, Ricardo L. Dani wrote: > Hi everyone, > > I have the same problem of this ticket from django trac: > https://code.djangoproject.com/ticket/7783 > > The PostgreSQL database introspecti

django-admin inspectdb does not detect NULL columns for PostgreSQL database

2011-07-21 Thread Ricardo L. Dani
of django this patch is applied? Or a other way to solve this problem? Regards -- Ricardo Lapa Dani -- 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

Re: foreign key to self in sqllite3

2011-03-05 Thread Ricardo L. Dani
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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at &g

Re: RadioSelect widget in Django 1.1 using Model Form

2010-11-03 Thread Ricardo L. Dani
Thanks Daniel, Now it makes sense. Thank you again 2010/11/3 Daniel Roseman > On Nov 3, 3:03 pm, "Ricardo L. Dani" wrote: > > Hello, > > > > I'm working with an project using django-cms and django 1.1 and I have > this > > problem: > > &g

RadioSelect widget in Django 1.1 using Model Form

2010-11-03 Thread Ricardo L. Dani
hat with django 1.1 ? thanks Ps: sorry for the bad english :/ -- Ricardo Lapa Dani Graduando em Ciência da Computação Universidade Federal de Ouro Preto -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dja

Session problem

2008-01-03 Thread Dani
Hi, I think I have a problem with session in django, maybe it will sound to any of you like a known issue. In general, the problem is that sometimes sessions are not saved. It usually happens if the server was up for more than 24 hours. If I restart the server the problem resolves. Code example

Re: Django rearranges query strings?

2007-10-24 Thread Dani
t is strange, it could be a misuse of a regexp in your > urls.py > > Could you show it here ? > > And what happens if you add this to your settings.py ? > > APPEND_SLASH = False > > On Oct 24, 8:40 am, Dani <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'

Django rearranges query strings?

2007-10-23 Thread Dani
Hi, I'm a bit new to django, so I hope this isn't too stupid. Can anyone explain why when I'm accessing this address: http://localhost:8000/app?a=1&b=2&c=3 I'm getting a redirected to this address? http://localhost:8000/homeless/?a=1&c=3&b=2 This causes a problem, because I'm using a weird enco