tutorial 1 sql problem

2005-09-05 Thread julo
Hi all, I installed Django on Ubuntu Linux. I used Julian Hernandez Gomez's steps written on http://www.djangoproject.com/documentation/install/. "django-admin.py sql polls" produces for me the error described below. I am complete newbie to both python and django

Re: tutorial 1 sql problem

2005-09-06 Thread julo
Thanks. I did it completely again and now it works. No idea why. Julo

Re: tutorial 1 sql problem

2005-09-06 Thread julo
Thanks. I did it completely again and now it works. No idea why. Julo

Re: How to prevent save/delete in the Admin

2015-03-29 Thread Julo
Maybe you can add an interface for the models that are importants and hook to the save/delete signal a interfaced function called CanSave() And you check the premisson he has, if not allowed rais an exception, and don't save. Sorry for the bad english. Saludos, Julian -Original Message-

Re: Comments in real time

2014-08-22 Thread Julo
If you need to save the comments, take a look to django-angular. Its an integration of angularJS into django. Where you can save the model via javascript, i really recommend you Angular for this. -Original Message- From: Collin Anderson Sender: django-users@googlegroups.com Date: Fri, 22

Re: VIdeo Lectures ?

2014-10-06 Thread Julo
Godjango.com !! Really cool videos! -Original Message- From: rishabh yadav Sender: django-users@googlegroups.com Date: Mon, 6 Oct 2014 07:08:20 To: Reply-To: django-users@googlegroups.com Subject: VIdeo Lectures ? Can anyone of u suggest me any good video tutorials for django ? -- You

Facebook permisson - django-allauth

2014-08-16 Thread Julo Waks
I have this problem, i am working in an app that uses django-allauth for login with facebook. When i ask for login i need to ask for publish_stream scope. In local environment this work great. In production does not. Does anyone have a clue? here my settings/base.py SOCIALACCOUNT_PROVIDERS = { >

Constants values and best practices

2014-08-28 Thread Julo Waks
Good day! How are you? I have the following situation: In more than one django project I come across the situation where I need to define a model that has a State. So what I usually do is: # Pseudo code here def State (models.Model): name = models.CharField () def Purchase (models.Model):

Best way of render differnt types of a Model

2014-09-17 Thread Julo Waks
understand is the ducktyping [3] and how it affects all this. Thank you very much in advance, regards, Julo [0] http://linkode.org/p39S0VryugbTFPXXhkVb94 [1] https://docs.python.org/2/library/abc.html [2] https://docs.python.org/2/reference/datamodel.html#object.__new__ [3] https://docs.python.org/2