Hello,
My Django site is RTL which means all forms in the Admin site are also set as RTL.
This is fine, but not for all widgets.
For example, the email address
field of Add User and Change User forms is also in RTL which is not appropriate.
I know I can edit the widgets with some code like this:
self.fields['email'].widget.attrs.update({'dir': 'ltr'})
But this works only if I use a custom form in the admin.py
file, and for that I need to have an app.
One extra app for nothing but changing the text direction of just one widget in the Admin site is overkill.
Is there any other solution?