I have an app that has two models related to the foreign key. Class trans (models.model): pk = UUIDField (auto = true, primary_key = true, serialize = true, hyphenate = true) en = models.TextField ('English') class graph (Models.Model): pk = UUIDField (auto = true, primary_key = true, serialize = true, hyphenate = true) title = model.On two appropriate (trans) description = model.On two tofifes (trans)
Now if I want to add value to the paragraph model through the admin interface and there will be a '+' mark above the field to add a value for the title and description, Click on the model model popup it has been shown where I can add and then that example will be attached to the paragraph title field (normal process).
But I do not want to add such values, I want to show a simple text field to the administrator for both title and description and save those values saved in the trans model and in the paragraph model I want to save their example. In simple words I do not want to show the administrator '+' sign, but a simple text field
Is it possible in Django Administrator if yes, any suggestions?
No comments:
Post a Comment