Re: ValidationError syntax different than in Django 1.9 docs

2016-02-14 Thread James Schneider
On Feb 14, 2016 7:31 AM, "Andrzej Olchawa" wrote: > > Hi guys, > > first of all, I'm new to Django and this group. > > I've just created my first Django login form by extending AuthenticationForm and overriding confirm_login_allowed method to do some extra checks and

Re: How to install on windows?

2016-02-14 Thread Mike Dewhirst
1. Uninstall all versions of Python on your machine 2. Start again and install Python 3.5 (pip was first part of the Python install with 3.4) 3. Continue with https://docs.djangoproject.com/en/1.9/howto/windows/ Good luck and welcome! On 15/02/2016 11:48 AM, bob gailer wrote: I tried

How to install on windows?

2016-02-14 Thread bob gailer
I tried following the instructions at https://docs.djangoproject.com/en/1.9/howto/windows/. I installed Python in C:\python35. After that most things didn't seems to work as promised. Python 3.5 does not appear in the PATH. (Python 3.3 is there.) Yes I checked |Add Python 3.5 to PATH.

Re: ValidationError syntax different than in Django 1.9 docs

2016-02-14 Thread yudong zheng
Did u check indentation , python indentation might be tricky. u should look for PEP8 for details . -- 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

Re: Bug or unaccepted behaviour

2016-02-14 Thread James Schneider
>>> def clone_creatives(self, src_theme_id): >>> themeA = Theme.objects.get(id=src_theme_id) >>> self.unit_set.all().delete() >>> for u in themeA.unit_set.all(): >>> u.id = None >>> u.theme_id = self.id This line is

Re: ValidationError syntax different than in Django 1.9 docs

2016-02-14 Thread Sergiy Khohlov
Check localization page https://docs.djangoproject.com/en/1.9/topics/i18n/ Many thanks, Serge +380 636150445 skype: skhohlov On Sun, Feb 14, 2016 at 5:23 PM, Andrzej Olchawa wrote: > Hi guys, > > first of all, I'm new to Django and this group. > > I've just

Re: Django development in India

2016-02-14 Thread nerdfiles
Do you need front end development as well (JavaScript, CSS, HTML)? Are your models completed? Do you have migrations/fixtures? What version of Django? How many lines of code is in the project? Do you have wireframes or an application flow? Do you have documentation? What is the payment processor

Django development in India

2016-02-14 Thread PRASOON SHRIVASTAVA
Guys, I am looking for professionals to work on my social commerce platform on django framework. Need experienced professionals who can commit timely delivery. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

ValidationError syntax different than in Django 1.9 docs

2016-02-14 Thread Andrzej Olchawa
Hi guys, first of all, I'm new to Django and this group. I've just created my first Django login form by extending AuthenticationForm and overriding confirm_login_allowed method to do some extra checks and raise proper exceptions. I've done that based on an example from the Django 1.9

Re: Bug or unaccepted behaviour

2016-02-14 Thread Andreas Kuhne
Hi, Would need to see more of you code to understand exactly what you want to do. Regarding your question. It doesn't make sense, but I think you are asking the difference between "u.theme_id = self.id" and "u.theme = self"? I don't know exactly the difference, but I do know that you shouldn't

Bug or unaccepted behaviour

2016-02-14 Thread Arink Verma
Hi Django Experts I came across something unaccepted while using signal. def clone_creatives(self, src_theme_id): > themeA = Theme.objects.get(id=src_theme_id) > self.unit_set.all().delete() > for u in themeA.unit_set.all(): > u.id = None >

Re: Migrations in Django 1.9: verbose_name and verbose_name_plural

2016-02-14 Thread Marco Badan
Hi Tim, my models (and all my project files) contain only english strings. Italian is only on *.po files. I used git bisect and this is the first commit that triggers the migrations: https://github.com/django/django/commit/fe3fc5210f0bb334a679ed420152af1c862c0239 And it's about urls, not