Re: Why i can't get the debug informations (in case of error) when i run LiveServerTestCase tests?

2013-01-29 Thread Ramiro Morales
Ramiro Morales On Jan 29, 2013 12:33 PM, "Alessandro Pelliciari" wrote: > > thanks for the link! > > So Isn't there a way to set DEBUG=True in tests? No. There isn't (at least with the built-in testing toolbox). Now, I'm trying to understand why do you rely in the

Re: Bulk db insert with a file through admin form

2013-01-29 Thread MNG1138
What I ended up doing is customizing the ModelAdmin for the Product class. I went this route instead of adding a new form because I wanted to be able to use the admin form to search for a particular product or products, and once located, upload the serialized product file. The admin

Re: Help, getting keyerrors

2013-01-29 Thread frocco
I think I have it. Changed to cleaned_data.get('password') Thank you On Tuesday, January 29, 2013 2:58:45 PM UTC-5, frocco wrote: > > Thanks, > getting error now that I changed it. > > def clean(self): > cleaned_data = super(RegistrationForm, self).clean() > password =

Re: Help, getting keyerrors

2013-01-29 Thread frocco
Thanks, getting error now that I changed it. def clean(self): cleaned_data = super(RegistrationForm, self).clean() password = cleaned_data['password'] password1 = cleaned_data['password1'] if password and password1 and password == password1: pass

Re: Help, getting keyerrors

2013-01-29 Thread Nikolas Stevenson-Molnar
Your clean() method shouldn't use self.cleaned_data, it should call super(RegistrationForm, self).clean(). E.g: def clean(self): cleaned_data = super(RegistrationForm, self).clean() password = cleaned_data['password'] ... return cleaned_data

Help, getting keyerrors

2013-01-29 Thread frocco
Hello, On my registration form, if I enter no data and just press enter, i get a key error. Can someone tell me what I am doing wrong? Thanks forms.py from django import forms from django.contrib.auth.models import User from django.forms import ModelForm from customer.models import Customer

Re: FYI: Scheduled downtime on djangoproject.com Thursday night

2013-01-29 Thread Gabriel Abdalla
Thanks for sharing this link. Regards, Gabriel On 29 January 2013 16:34, kl4us wrote: > nice one, i'm new on django and i'm reading documentation all day > > Il giorno martedì 29 gennaio 2013 18:11:48 UTC+1, Jacob Kaplan-Moss ha > scritto: > >> Hey folks -- >> >>

Re: FYI: Scheduled downtime on djangoproject.com Thursday night

2013-01-29 Thread Mário Neto
Thank's Jacob! 2013/1/29 kl4us > nice one, i'm new on django and i'm reading documentation all day > > Il giorno martedì 29 gennaio 2013 18:11:48 UTC+1, Jacob Kaplan-Moss ha > scritto: > >> Hey folks -- >> >> MediaTemple, our hosting provider for djangoproject.com, is

Re: FYI: Scheduled downtime on djangoproject.com Thursday night

2013-01-29 Thread kl4us
nice one, i'm new on django and i'm reading documentation all day Il giorno martedì 29 gennaio 2013 18:11:48 UTC+1, Jacob Kaplan-Moss ha scritto: > > Hey folks -- > > MediaTemple, our hosting provider for djangoproject.com, is going to > be taking our server offline Thursday night while they

FYI: Scheduled downtime on djangoproject.com Thursday night

2013-01-29 Thread Jacob Kaplan-Moss
Hey folks -- MediaTemple, our hosting provider for djangoproject.com, is going to be taking our server offline Thursday night while they give us more RAM. The window for downtime is some time between 9PM and 4AM, though the actual downtime itself should be less than an hour. Since most people

extended Admin User

2013-01-29 Thread Dominik Wuttke
Hi, i created an extended admin User and modified the fieldsets for the admin interface. Everything works fine, BUT how can i get the groupselection and permission fields in my admin interface? I hope you have a short hint. Additional Question: When i have an inline element with meta option

Re: Django hosting companies

2013-01-29 Thread Mengu
some of my friends are using webfaction. i use linode and in the past i have used webbynode. On Jan 29, 3:17 pm, francislutalo wrote: > Anyone with an idea of which are the best companies to host my django > applications? > > Thank you, > Regards > francislutalo -- You

Re: Why i can't get the debug informations (in case of error) when i run LiveServerTestCase tests?

2013-01-29 Thread Alessandro Pelliciari
thanks for the link! So Isn't there a way to set DEBUG=True in tests? I have tried with @override_settings, but it didn't worked. Il giorno martedì 29 gennaio 2013 15:12:50 UTC+1, Ramiro Morales ha scritto: > > > On Jan 29, 2013 9:57 AM, "Alessandro Pelliciari" > >

Re: Django hosting companies

2013-01-29 Thread Bill Freeman
Plus one on webfaction, if a shared host will do. If you want a virtual private server to yourself, I like linode. Bill On Tue, Jan 29, 2013 at 10:11 AM, Luiz A. Menezes Filho < luiz.menez...@gmail.com> wrote: > These sites may help you: > http://djangofriendly.com/hosts/ >

Re: Django hosting companies

2013-01-29 Thread Luiz A. Menezes Filho
These sites may help you: http://djangofriendly.com/hosts/ http://djangohosting.com/ Att, On Tue, Jan 29, 2013 at 1:03 PM, Leonardo S wrote: > heroku, dotCloud, Gondor.io, webfaction ... > > > 2013/1/29 Frankline > >> Have you tried webfaction?

Re: Django hosting companies

2013-01-29 Thread Leonardo S
heroku, dotCloud, Gondor.io, webfaction ... 2013/1/29 Frankline > Have you tried webfaction? Very easy to setup. > > On Tue, Jan 29, 2013 at 4:30 PM, Gustavo Andres Angulo > wrote: > >> There is a similar solution to Heroku, called nuagehq.com >> >> >>

Re: Why i can't get the debug informations (in case of error) when i run LiveServerTestCase tests?

2013-01-29 Thread Ramiro Morales
On Jan 29, 2013 9:57 AM, "Alessandro Pelliciari" wrote: > > Hi, I'm writing some tests with Selenium. > > When i run my selenium tests (LiveServerTestCase type) and i have some error in my code (not in the test, i mean in the code executed, like the homepage view i reach

trouble with admin page - not /css

2013-01-29 Thread gmail
Hello all i have developed a simple app with Django.1.3.4. To deploy my applications i used mod_python. All work fine except the admin interface when try a login. the home page appears without the correct css and image files .. can you help me?? this is my httpd.conf

Re: Coffin import error while starting django

2013-01-29 Thread nickfarm
We have narrowed this issue down to supervisor. See the updated info: http://pastebin.ca/2308575 supervisor is installed from the repositories and uses python 2.6 The django app is using a manually compiled version of python 2.7 It seems supervisor interferes with environment variables in some

Re: Django hosting companies

2013-01-29 Thread Frankline
Have you tried webfaction? Very easy to setup. On Tue, Jan 29, 2013 at 4:30 PM, Gustavo Andres Angulo wrote: > There is a similar solution to Heroku, called nuagehq.com > > > > regards > > On Tue, Jan 29, 2013 at 8:17 AM, francislutalo > wrote: > >

Re: Django hosting companies

2013-01-29 Thread Gustavo Andres Angulo
There is a similar solution to Heroku, called nuagehq.com regards On Tue, Jan 29, 2013 at 8:17 AM, francislutalo wrote: > Anyone with an idea of which are the best companies to host my django > applications? > > > > Thank you, > Regards > francislutalo > > -- > You

Django hosting companies

2013-01-29 Thread francislutalo
Anyone with an idea of which are the best companies to host my django applications? Thank you, Regards francislutalo -- 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

Coffin import error while starting django

2013-01-29 Thread nickfarm
We have python / django on the server, using supervisor and gunicorn. Using gunicorn we have an import error while starting django: from django.test import signals (a line in coffin). If we import from ipython or use import django.test.signals we have no problem. See http://pastebin.ca/2308541

Why i can't get the debug informations (in case of error) when i run LiveServerTestCase tests?

2013-01-29 Thread Alessandro Pelliciari
Hi, I'm writing some tests with Selenium. When i run my selenium tests (LiveServerTestCase type) and i have some error in my code (not in the test, i mean in the code executed, like the homepage view i reach with selenium) i get the 500 public template (that usually i get when i have DEBUG

handling FileField and FileSystemStorage in WizardView - Django 1.4

2013-01-29 Thread devver
I created a form wizard of 6 steps, in step sixth, have filefield for uploading docfile1 django docs is poor on this topic, google does not help. my code working ok, but how handle filefield. need example, thanks forms.py class Step6(forms.Form): docfile1 =

Re: Unicode/Non-ASCII characters in the admin throws exception

2013-01-29 Thread Thomas Weholt
Sort of solved this issue myself; my solution was using Django 1.5c and Python 3.3. Allthough this means some of the reusable apps I was planning on using isn't ready for Python 3 I'll look into forking them and try to see if I can get them running myself. And if so send a patch to the

Re: Missing files on a new project

2013-01-29 Thread Ramiro Morales
Ramiro Morales On Jan 28, 2013 11:03 PM, "Ricardo Diaz" wrote: > > Well, i'm following a video tutorial -> this guy is using Django 1.4 and when he uses startmanager on shell Django creates all of those files on the main folder. > > Check it about 3:11

Re: Bookmarker Site

2013-01-29 Thread Pankaj Singh
Hey Ranjith, For example bookmark apps in django please have a look at follwing urls: https://github.com/brosner/django-bookmarks https://github.com/raynesax/django-bookmarks http://django-generic-bookmarks.readthedocs.org/en/latest/ If you want to extract text and title etc. for an url then