, stanleyxu2005 wrote:
> Hi All,
>
> I have some problems with the integrated user profile module.
>
> When a user profile is going to be created, there are three buttons
> below: "Save and add another", "Save and continue" and "Save".
>
> But no
t; Overrides the value of is_staff by saving this model """
obj.is_staff = obj.is_superuser
obj.save()
admin.site.unregister(User)
admin.site.register(User, OverridenUserAdmin)
On Jun 14, 1:59 pm, stanleyxu2005 wrote:
> Hi All,
>
> I have some problems with the integrated user
Take a look at
ModelAdmin.formfield_overrides
On Jun 14, 1:35 am, Jeliuc Alexandr wrote:
> Hello.
> I want to change default text input widget in admin for CharField to
> text area...
> How can I do it?
--
You received this message because you are subscribed to the Google Groups
"Django use
Hi All,
I have some problems with the integrated user profile module.
When a user profile is going to be created, there are three buttons
below: "Save and add another", "Save and continue" and "Save".
But no matter which button I click, it will always enter the user
profile page. (I am not sure,
Hi All,
I am writing a multi-language project. Most translatable strings are
in templates. I override some django templates as well. When I run the
translation preprocessor "python /usr/bin/django-admin.py makemessages
-a", all translatable strings from those modified django templates
appear in tr
Hi All again,
The django "change password" way in user profile is IMO very
programmer-oriented.
In the password field, it shows
"sha1$7b0a7$1132f5a57d65325337b25a162b04b40fa6d55f6f" something like
that.
And to goto the normal change password dialog, user must have to click
the not very well visib
Hello All,
I created a model and let it be shown in administration page. The
model is very simple, it contains a description and an ip address.
I created a demo model named "aaa". And then click the "History"
button right top at the detail view of this model. But the action
field is empty. I assu
Hi All,
I activated the admin module of django and I am now confused with the
user permission.
I logged in as administrator. I created an account "restricted_admin",
activated "Staff status" and assigned "add/edit/delete user"
permissions to him.
Unexpectedly, he can create/edit/delete a superus
Thanks, you made my day ^^)
On Jun 7, 10:18 am, Daniel Roseman wrote:
> On Jun 7, 9:01 am, stanleyxu2005 wrote:
>
> > Hi All,
>
> > I have two questions:
>
> > 1. The default title of adminstration page named "Django site admin".
> > I want to rem
Hi All,
I have two questions:
1. The default title of adminstration page named "Django site admin".
I want to remove the prefix "Django" for production use. Is there any
easy way to change the translatable string, besides editing the
template in "/usr/lib/python/django/.../admin/base_site.html" o
Hi All,
I ran into a problem: If I do not configure TIME_ZONE in settings.py,
it will use "America/Chicago" by default. However I just want to use
the same setting as it in my linux system (openSUSE11). Is it possible
Otherwise I have to configure the timezone setting for all my linux
machines.
I have solved this problem myself.
I have to declare the following variable:
LANGUAGES = (
('de', 'German (Deutsch)'),
('en', 'English'),
)
And then include the middleware
"django.middleware.locale.LocaleMiddleware"
On Aug 18, 11:20 am,
Hi All,
after reading the django documentation, I still have problem with
changing a language.
I have create two languages: en_US and de_DE
If I declare LANGUAGE_CODE='de_DE' in settings.py (without the
middleware django.middleware.locale.LocaleMiddleware), my project will
be translated into Ger
13 matches
Mail list logo