You’ve defined your form for being for the CalendarEvent model but are populating it with an instance of AgendaEvento. A translation issue perhaps?
If this is intentional, which model is that end_date field in? And what’s the field definition for end_date in the other model?
This shouldn’t be necessary. If you’re not getting the initial value from the instance, that’s a sign that something else is going on here.
Also, examine the actual html that was rendered and sent to the browser. (You can check this in your browser’s developer tools.) I would expect you to see something like this:
No worries, no need to apologize - I appreciate the difficulties with trying to work in a non-primary language. I just wanted to clarify the situation.
The html is rendering correctly. This means that the issue is in the browser and not in Django.
That implies to me that you have some JavaScript that is supposed to be rendering that widget in the browser and isn’t working or possibly not configured correctly.
Do you have a specific JavaScript enhancement that you are using for this?