carartem04 Posted February 5, 2016 Report Share Posted February 5, 2016 class Article(models.Model): text = models.TextField() user = models.ForeginKey(User) I need some like this but when I add article, then I can select everyone user Here should be only login of user Quote Link to comment Share on other sites More sharing options...
Active Members MrGrj Posted February 5, 2016 Active Members Report Share Posted February 5, 2016 Have a look at this widget. If you want to use it on a model you have to use: ModelMultipleChoiceField You can find several sources. 1 Quote Link to comment Share on other sites More sharing options...
carartem04 Posted February 5, 2016 Author Report Share Posted February 5, 2016 20 minutes ago, MrGrj said: Have a look at this widget. If you want to use it on a model you have to use: ModelMultipleChoiceField You can find several sources. Thank you! Quote Link to comment Share on other sites More sharing options...