Problem UserAdmin with GenericStackedInline in Django 1.5c2

2013-02-27 Thread Witold Greń
Hi, I have a problem UserAdmin with GenericStackedInline in Django 1.5c2. #model.py from django.contrib.auth.models import BaseUserManager, AbstractBaseUser, PermissionsMixin from django.conf import settings #etc... class Addresses(models.Model): """ Dane adresowe. """ na

how to create formset field but not used loop in template

2013-03-01 Thread Witold Greń
When i create formset in template i must used loop "for": {{ formset_create_company.management_form }} {% for form in formset_create_company.forms %} {{ form.postal_code.label }} {{ form.postal_code }} {{ form.city.label

Re: Problem UserAdmin with GenericStackedInline in Django 1.5c2

2013-03-01 Thread Witold Greń
Hm.. I am not extending User Model. I lost one class, this is real example: Create APPs: core SETTINGS: #Django 1.5 AUTH_USER_MODEL = 'core.Partners' MODELS: # -*- coding: utf-8 -*- from django.db import models from django.contrib.contenttypes.models import ContentType from django.contr

Re: how to create formset field but not used loop in template

2013-03-04 Thread Witold Greń
It works! Thank you ;) W dniu piątek, 1 marca 2013 12:43:22 UTC+1 użytkownik Witold Greń napisał: > > When i create formset in template i must used loop "for": > > {{ formset_create_company.management_form }} > > {% for form in

how to add prefix in generic_inlineformset_factory?

2013-03-05 Thread Witold Greń
How to add prefix in generic_inlineformset_factory()? This is posible? -- 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.com.

Re: how to add prefix in generic_inlineformset_factory?

2013-03-05 Thread Witold Greń
' {{ formset_create_private.name }} = created: '' I need: {{ form_create_company.name }} = created: '' {{ formset_create_private.name }} = created: '' W dniu wtorek, 5 marca 2013 10:20:36 UTC+1 użytkownik Witold Greń napisał: > > How to add prefix in generi

Re: how to add prefix in generic_inlineformset_factory?

2013-03-05 Thread Witold Greń
Thanks, django documentation that is what is missing ;) W dniu wtorek, 5 marca 2013 10:20:36 UTC+1 użytkownik Witold Greń napisał: > > How to add prefix in generic_inlineformset_factory()? This is posible? -- You received this message because you are subscribed to the Google Groups &

Re: Can't convert app to south due to django 1.5 custom User model.

2013-05-27 Thread Witold Greń
I have the same problem. How to solve it? W dniu piątek, 1 lutego 2013 12:28:01 UTC+1 użytkownik Tejinder Singh napisał: > > I have a custom app in my project named 'profiles' which contains a custom > User model. Here is the declaration of the same: > > class CustomUser(AbstractUser): > i

Re: Can't convert app to south due to django 1.5 custom User model.

2013-05-27 Thread Witold Greń
use you are subscribed to a topic in the > Google Groups "Django users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/django-users/cgR4R63m0DM/unsubscribe?hl=en > . > To unsubscribe from this group and all its topics, send an email to > django-user