Re: ValueError at /admin/

2019-06-16 Thread anchal agarwal
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

Re: ValueError at /admin/

2019-06-16 Thread Sai Praneeth
Remove files in migration folder and then try to migrate On Sun 16 Jun, 2019, 1:38 PM anchal agarwal, 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 migr

Re: ValueError at /admin/

2019-06-16 Thread anchal agarwal
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.url

Re: ValueError at /admin/

2019-06-16 Thread Dave Edwards
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, wrote: > I recently deleted one of my app from my website directory. For deleting > app I removed that app name from settings.py also

Re: ValueError at /admin/

2019-06-16 Thread anchal agarwal
It's still showing the same error , is there any other way to resolve this issue ? On 16-Jun-2019 1:57 pm, "Karan Mittal" wrote: > 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, > wr

Re: ValueError at /admin/

2019-06-16 Thread Karan Mittal
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, 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'

ValueError at /admin/

2019-06-16 Thread anchal agarwal
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:

ValueError at /admin/flatpages/flatpage/1/

2013-02-08 Thread frocco
If I add a record and do not select the sites dropdown, I get ValueError at /admin/flatpages/flatpage/1/ Cannot use None as a query value Request Method:POSTRequest URL: http://127.0.0.1:8000/admin/flatpages/flatpage/1/Django Version:1.4.3Exception Type:ValueErrorException Value: Cannot use