I'm just making my first Django app in a very long time, and I have forgotten 
most of what I learnt. I'm using the built-in admin panel for ease of use, and 
it seems to be working well, with one exception.
I have a BlogPost model with the usual things in it. One of the fields is a FK 
to the User object called Author. When I display that model in the admin panel, 
it shows a drop-down list where you can select which one of the currently 
registered users should be the author.
What I'd rather happen is that it only shows the currently logged in user, with 
no option to choose a different user.
On a slightly related noted I also have a CharField in the model and the admin 
centre this is displayed as a small HTML text field which isn't big enough (the 
CharField is max_length=512). I've done some Googling but can't find a 
reasonable way to easily change the admin panel widgets.
Sorry if these questions are stupid. It has been a very long time since I last 
used Django and if memory serves, I never used the built-in admin panel at all.
Thank you for any help.
Simon.

-- 
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.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/817606181.2004362.1521280012565%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to