The changes are done through script which you are doing at this time... the 
changes would only be visual for user and would not impact the source code.

following may be irrelevant for you but i would added this here...
Lets take an example of an online-course where instructor of the course can 
make changes to the order number of the course-contents.. suppose dnd 
functionality has been provided to him. When he shuffles the 
course-contents, a new order number is assigned to each content accordingly 
and persisted in database through a field setup for it in the model. In 
this case also, there will be no changes in the source-code rather changes 
will be saved in database and loaded when page is refreshed.

On Monday, September 14, 2020 at 12:36:01 PM UTC-4 Elliot wrote:

> I am familiar with the various events in building a dnd.  I am trying to 
> find out what is supposed to happen to the HTML source when a drag and drop 
> works. Can anyone explain this to me.? After an apparently successful drag 
> and drop I see no changes to the underlying HTML. I have been using Django 
> 3.0.10 and Python 3.8.1 and javascript. 
>
> If I do a "view source" after a dnd should the source code now reflect the 
> changes made by the dnd?  Exactly what is supposed to happen?  I am not 
> submitting any code because I just want to find out how it is supposed to 
> work.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ee507e6d-5a0b-4e01-8142-ca6a9baae830n%40googlegroups.com.

Reply via email to