here is my urls.py . I only need music app.
from django.contrib import admin
from django.urls import path,include
from . import settings
from django.contrib.staticfiles.urls import static
from django.contrib.staticfiles.urls import staticfiles_urlpatterns

urlpatterns = [
path('',include('music.urls')),
path('music/',include('music.urls')),
path('admin/', admin.site.urls),
]
urlpatterns += staticfiles_urlpatterns()
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)


No, I don't have copy of urls.py of deleted app.  How can I resolve this?

On Sun, Jun 16, 2019 at 3:57 PM Dave Edwards <d...@dwedigital.com> wrote:

> What's in your urls.py at the project level? Do you have a copy of the
> urls.py that sit within the deleted app folder?
>
> On Sun, 16 Jun 2019, 09:09 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/CAP_enV6LHhQqgge-2bfyZCyQRmoFKKta0EV8k4DUH-ZJioQvkA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAP_enV6LHhQqgge-2bfyZCyQRmoFKKta0EV8k4DUH-ZJioQvkA%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/CAMT%3DisXO8xsj-B3a3-gbdyEwy8m-17UWmfHkFJWv7sQdNrG%2Bxg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to