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
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
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 =
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
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
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
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 --
>>
>>
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
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
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
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
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
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"
>
>
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/
>
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?
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
>>
>>
>>
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
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
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
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:
> >
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
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
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
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
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 =
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
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
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
28 matches
Mail list logo