Hi Sourav,
> I require some help in the issue given here
> <
https://github.com/NeuroVault/NeuroVault/issues/420>.We wish to implement
> a closing account feature in a Django Website.So far, I know that the
> corresponding database entry for the user must be deleted from the
> database.But I require some help in making it possible.
Can you tell us what exactly is giving you trouble?
Some general hints:
- To delete an object from the database, you can call something like
``MyModel.objects.get(username=theusername).delete()``
- There also is a generic class-based view (CBV) for deleting objects:
https://docs.djangoproject.com/en/1.9/ref/class-based-views/generic-editing/#deleteview
- Of course, you must protect the feature, such that users cannot delete
other users' accounts.
Have fun!
René
--
René Fleschenberg