Re: verbose_name/i18n sometimes doesn't work in one app

2009-09-23 Thread Florian Schweikert
2009/9/23 

> Hi,
>
> I've a project with 2 apps, I'm using the meta class for defining
> verbose_name(_plural), register in admin.py.
> For The first app it works good, in the second django shows often the
> (buggy) generic name, for example:
>
> "Lv a_types"(the space is on the wrong place I think) and "possibilitys"
>
> it also forgot to translate it, after reloading the page it sometimes shows
> the right names.
>
> admin.py:
> from django.contrib import admin
> from webapps.ugm.models import *
>
> admin.site.register(FAQ, FAQAdmin)
> admin.site.register(Site, SiteAdmin)
> admin.site.register(QuickTip, QuickTipAdmin)
> [...]
>
> admin.py of working app:
> from django.contrib import admin
> from webapps.books.models import *
>
> admin.site.register( Book, BookAdmin )
> admin.site.register( Publisher, PublisherAdmin )
> admin.site.register( Author, AuthorAdmin )
> [...]
>
> anybody knows this problem (using 1.0 on lenny)?
> is there a django-logfile anywhere?
>
> greetings,
> Florian
>

Seems to work now, don't know why but it works.

greets,
Florian

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



verbose_name/i18n sometimes doesn't work in one app

2009-09-23 Thread kelvan . mailinglist

Hi,

I've a project with 2 apps, I'm using the meta class for defining 
verbose_name(_plural), register in admin.py.
For The first app it works good, in the second django shows often the (buggy) 
generic name, for example:

"Lv a_types"(the space is on the wrong place I think) and "possibilitys"

it also forgot to translate it, after reloading the page it sometimes shows the 
right names.

admin.py:
from django.contrib import admin
from webapps.ugm.models import *

admin.site.register(FAQ, FAQAdmin)
admin.site.register(Site, SiteAdmin)
admin.site.register(QuickTip, QuickTipAdmin)
[...]

admin.py of working app:
from django.contrib import admin
from webapps.books.models import *

admin.site.register( Book, BookAdmin )
admin.site.register( Publisher, PublisherAdmin )
admin.site.register( Author, AuthorAdmin )
[...]

anybody knows this problem (using 1.0 on lenny)?
is there a django-logfile anywhere?

greetings,
Florian


signature.asc
Description: OpenPGP digital signature