You can try the sequence of commands,
Makemigrations
Migrate
It solved the problem for me.
Karan Mittal

On Sun 16 Jun, 2019, 1:38 PM anchal agarwal, <agarwalancha...@gmail.com>
wrote:

> I recently deleted one of my app from my website directory. For deleting
> app I removed that app name from settings.py also I removed it's folder
> I then applied python manage.py migrate
> But now i am unable to access my admin, it's giving an error
>
> ValueError: invalid literal for int() with base 10: 'admin'
>
> Internal Server Error: /favicon.ico/
> Any help would be greatly appreciated
>
>
> --
> 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 post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMT%3DisX4EEYjRDG0REECdjmKFiYvex8dHHdM9szqqSAyT%3Dd3pg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAMT%3DisX4EEYjRDG0REECdjmKFiYvex8dHHdM9szqqSAyT%3Dd3pg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAO24gqyJgewLDosU2kOSgfmngU0NiYD2h4yUB_tAOhrw%2Be%3DACQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to