Brett Hoerner wrote:
> Remember that the Admin screen is under your control. You could just
> not display the User bit in the Admin, allow it to be posted as blank
> (blank=True), and the use _pre_save to grab the current User (session?)
> and set it.
I am looking for such a solution.
How cou
I wanted to add the ID of the current user (request.user.id) into an
object automatically. So I was looking for a way to change the behavior
of the default admin-interface for that object.
My solution now is to extend the add-view of that object. I changed the
urlpatterns to include
(r'^admin/web
Right, I changed the slugfield into a charfield.
I cannot add a user with an username that contains an umlaut with the
default admin-interface, though. How could I change that?
best regards
Using an umlaut in a form-field of the admin-interface causes the
validator to complain about 'only letters, numbers and underscores'
being allowed.
Is there a way to enable umlauts in form-fields?
best regards
Hello,
I am looking for a way to assign the current user automatically to an
object. That object has a foreign key referencing auth.User.
My searches turned up some descriptions of that 'problem' but no
solution.
Would anyone give me a hint on how to achieve that behavior?
best regards
Steffen
5 matches
Mail list logo