Re: Seeking reviewers for a "Guide to Idiomatic Django Deployment"

2013-11-06 Thread James Turley
Hi George, As a fellow relative n00b to Django (and 'serious' web development), I think this is a very good idea. I'm working through Harry Percival's excellent book, and only got hopelessly lost during the deployment chapter(admittedl

'NoneType' object has no attribute '__getitem__' Please help me to debug this

2013-11-06 Thread Ham Kibz
Below is the traceback Django Version: 1.5.1 Python Version: 2.7.4 Installed Applications: ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'products') I

Re: 'NoneType' object has no attribute '__getitem__' Please help me to debug this

2013-11-06 Thread James Turley
Hi Ham, I was following your thread on the LinkedIn django group and it looked there like you had a couple of simple typos in your CatalogCategory model's __unicode__ method. Did you get round to fixing those? JT On Wed, Nov 6, 2013 at 11:46 AM, Ham Kibz wrote: > Below is the traceback > > Dja

Re: Seeking reviewers for a "Guide to Idiomatic Django Deployment"

2013-11-06 Thread Javier Guerra Giraldez
On Tue, Nov 5, 2013 at 7:34 PM, George London wrote: > > I think it would be really helpful for new-comers to have a clear, > opinionated guide to "commonly accepted (i.e. idiomatic)" deployment best > practices. Or at least I know it would have really helped me. wish you the best luck, hopefu

Re: Seeking reviewers for a "Guide to Idiomatic Django Deployment"

2013-11-06 Thread pnichols104
This sounds great! I'm still learning myself (coming up on 2 years experience) so I'm a little hesitant to volunteer to offer opinions on content, but I'm an excellent proofreader and would love to help out. I talk English much good and spel grate. Best, Paul On Tuesday, November 5, 2013 7:3

Re: Seeking reviewers for a "Guide to Idiomatic Django Deployment"

2013-11-06 Thread Derek
I agree there is a huge amount to learn in development... but deployment to a Real Live Server is not trivial; I have read two different (and each fairly detailed) guides so far, and still cannot get things working... for me, a really good guide would also include "trouble-shooting" - along th

[ANNOUNCE] Django 1.6 and Django 1.4.10 released

2013-11-06 Thread James Bennett
Django 1.6 and Django 1.4.10 are out today; the latter is a bugfix release to restore Python 2.5 compatibility in the 1.4 series. Full details are in the blog post: https://www.djangoproject.com/weblog/2013/nov/06/django-16-released/ -- You received this message because you are subscribed to th

Re: Seeking reviewers for a "Guide to Idiomatic Django Deployment"

2013-11-06 Thread Thomas Murphy
To all that are having trouble with live server deployment, have you tried Python Anywhere as a start? It's the method introduced in the Tango with Django tut, and it's the easiest "deploy with Django" live environment I've seen. -Excellent error logging -bash and sql shells -great support On Wed

Re: django debugger

2013-11-06 Thread Harjot Mann
On Wed, Nov 6, 2013 at 8:49 PM, Stefano Probst wrote: > If you use Eclipse, you can set Breakpoints and go forward step by step. What about django debug toolbar? -- Harjot Kaur Mann Blog: http://harjotmann.wordpress.com/ Daily Dairy: http://harjotmann.wordpress.com/daily-diary/ -- You receiv

Re: django debugger

2013-11-06 Thread Stefano Probst
If you use Eclipse, you can set Breakpoints and go forward step by step. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.co

Re: django debugger

2013-11-06 Thread Stefano Probst
Of course you can use the toolbaralso. The toolbar is a app witch run 'inside' your Project. With the eclipse debugger you can set breakpoints and run your program step by step. This are different types of debugging, The installation

clicking the list_display link open a new page with the result of my queryset

2013-11-06 Thread Ricardo Kamada
Hi, I'm trying to do in list_display a link to open in new tab list_display with results of my queryset. http://dpaste.com/1445232/ that way I get this error reverse Reverse for 'evento.views.lista' with arguments '(,)' and keyword arguments '{}' not found. Could someone help me? I do not underst

Re: clicking the list_display link open a new page with the result of my queryset

2013-11-06 Thread Tom Evans
You haven't shown the url in question, which makes it hard to answer. At a guess, the url specifies a %d parameter, you are passing it an object. Pass it self.evento.id Cheers Tom On Wed, Nov 6, 2013 at 5:15 PM, Ricardo Kamada wrote: > Hi, I'm trying to do in list_display > a link to open in n

Re: clicking the list_display link open a new page with the result of my queryset

2013-11-06 Thread Ricardo
Hi the file full url like this http://pastebin.com/ztF8VDET I just try to pass the id as said but still did not work. the error is this NoReverseMatch at / admin / event / incricaoevento / Reverse for 'evento.views.lista' with arguments '(1)' and keyword arguments '{}' not found. Now I do not kno

Re: Seeking reviewers for a "Guide to Idiomatic Django Deployment"

2013-11-06 Thread George London
@Vijay: I've actually got the guide up on Github much like that (you can find it via my Github, if you're motivated). You can check out the draft here: https://github.com/rogueleaderr/definitive_guide_to_django_deployment. I was a bit nervous about throwing it directly in front of this communit

Re: clicking the list_display link open a new page with the result of my queryset

2013-11-06 Thread Ricardo Kamada
I got :) was missing url url (r '^ list / (? P \ d +) / $', 'evento.views.lista', name = 'list') Thanks to all Ricardo 2013/11/6 Ricardo > Hi > the file full url like this > http://pastebin.com/ztF8VDET > I just try to pass the id as said but still did not work. > the error is this > NoRever

Re: Help please xml2-config from libxml2

2013-11-06 Thread diego mauricio herrera
If you are trying of install libxml2-dev in red hat 6, you must install libxml2-devel. regards. El martes, 2 de agosto de 2011 10:15:08 UTC-5, theseventhletter escribió: > > Good Day to all > i been trying to install geodjango but always gets stuck up with this > error after i downloaded postG

Re: [ANNOUNCE] Django 1.6 and Django 1.4.10 released

2013-11-06 Thread Lachlan Musicman
Thanks for all the hard work devs! L. On 7 November 2013 02:09, James Bennett wrote: > Django 1.6 and Django 1.4.10 are out today; the latter is a bugfix release > to restore Python 2.5 compatibility in the 1.4 series. > > Full details are in the blog post: > > https://www.djangoproject.com/webl

Re: [ANNOUNCE] Django 1.6 and Django 1.4.10 released

2013-11-06 Thread wudiweb
Thanks for all contributors 在 2013年11月6日星期三UTC+8下午11时09分45秒,James Bennett写道: > > Django 1.6 and Django 1.4.10 are out today; the latter is a bugfix release > to restore Python 2.5 compatibility in the 1.4 series. > > Full details are in the blog post: > > https://www.djangoproject.com/weblog/2013