Code Monkey home page Code Monkey logo

django-blog's Introduction

django-blog's People

Contributors

ambikapangyani avatar babit-pandey avatar binamralamsal avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ambikapangyani

django-blog's Issues

OperationalError at / no such table: Blog_blog

While running this django project, in the home page we get this error:

OperationalError at /
no such table: Blog_blog
Request Method:	GET
Request URL:	http://127.0.0.1:8000/
Django Version:	3.0.8
Exception Type:	OperationalError
Exception Value:	
no such table: Blog_blog
Exception Location:	C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\db\backends\sqlite3\base.py in execute, line 396
Python Executable:	C:\Users\user\AppData\Local\Programs\Python\Python38-32\python.exe
Python Version:	3.8.3
Python Path:	
['C:\\Users\\user\\PycharmProjects\\My-simple-blog',
 'C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python38-32\\python38.zip',
 'C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python38-32\\DLLs',
 'C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python38-32\\lib',
 'C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python38-32',
 'C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python38-32\\lib\\site-packages']
Server time:	Wed, 8 Jul 2020 15:38:12 +0000

If anyone can fix this problem then assign this issue and then work on your own

NoReverseMatch at / Reverse for 'index' with arguments '(1,)' not found. 1 pattern(s) tried: ['blog/$']

We are getting this error when trying to get url in the home.html file in the templates folder.

NoReverseMatch at /
Reverse for 'index' with arguments '(1,)' not found. 1 pattern(s) tried: ['blog/$']
Request Method:	GET
Request URL:	http://127.0.0.1:8000/
Django Version:	3.0.8
Exception Type:	NoReverseMatch
Exception Value:	
Reverse for 'index' with arguments '(1,)' not found. 1 pattern(s) tried: ['blog/$']
Exception Location:	C:\Users\user\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\urls\resolvers.py in _reverse_with_prefix, line 677
Python Executable:	C:\Users\user\AppData\Local\Programs\Python\Python38-32\python.exe
Python Version:	3.8.3
Python Path:	
['C:\\Users\\user\\PycharmProjects\\My-simple-blog',
 'C:\\Users\\user\\PycharmProjects\\My-simple-blog',
 'C:\\Program Files\\JetBrains\\PyCharm '
 '2020.1\\plugins\\python\\helpers\\pycharm_display',
 'C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python38-32\\python38.zip',
 'C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python38-32\\DLLs',
 'C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python38-32\\lib',
 'C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python38-32',
 'C:\\Users\\user\\AppData\\Local\\Programs\\Python\\Python38-32\\lib\\site-packages',
 'C:\\Program Files\\JetBrains\\PyCharm '
 '2020.1\\plugins\\python\\helpers\\pycharm_matplotlib_backend']
Server time:	Wed, 8 Jul 2020 16:01:34 +0000

Take this issue who can fix it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.