Sunday, June 16, 2019

Re: ValueError at /admin/

I removed all files,and when i applied migrations it's showing me this 
C:\Users\User\Desktop\mysite>python manage.py makemigrations
System check identified some issues:

WARNINGS:
?: (urls.W005) URL namespace 'music' isn't unique. You may not be able to reverse all URLs in this namespace
Migrations for 'music':
  music\migrations\0001_initial.py
    - Create model Album
    - Create model Song

C:\Users\User\Desktop\mysite>python manage.py migrate
System check identified some issues:

WARNINGS:
?: (urls.W005) URL namespace 'music' isn't unique. You may not be able to reverse all URLs in this namespace
Operations to perform:
  Apply all migrations: admin, auth, contenttypes, music, sessions
Running migrations:
  No migrations to apply.



On Sun, Jun 16, 2019 at 7:16 PM Sai Praneeth <spraneeth2@gmail.com> wrote:
Remove files in migration folder and then try to migrate 

On Sun 16 Jun, 2019, 1:38 PM anchal agarwal, <agarwalanchal72@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+unsubscribe@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.
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+unsubscribe@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/CAGKB3nTe6tEFB7DHFA85JsTLvFU9Di1siKekDqx8hrxmUH2SVQ%40mail.gmail.com.
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+unsubscribe@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%3DisV2FzLQH6AuzQLA1yYSu4iec19pL5j%2BakKXAyrYXGkb5A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment