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
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
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
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
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
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'
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:
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
8 matches
Mail list logo