Coder Social home page Coder Social logo

Comments (3)

oussa avatar oussa commented on September 7, 2024

I resolved the problem and got everything running successfully by first removing the generated database file $ rm example.sqlite
Then I tackled the source of the problem, which is clearly the migration phase. I removed the existing migrations in the api app.
$ rm -rf example/api/migrations
The last two commands assume that you are on the root of the cloned project.
After this the "Setup Database" step will run successfully and the project can be started.

from django-api-rest-and-angular.

kevinastone avatar kevinastone commented on September 7, 2024

I updated the migrations, let me know if this problem persists and I'll reopen.

from django-api-rest-and-angular.

Rabia23 avatar Rabia23 commented on September 7, 2024

I am getting the following errors when I run the make create_database; make make_fixtures command.
Please help..

(venv)rabiaiftikhar@rabiaiftikhar:~/Code/django-api-rest-and-angular$ make create_database; make make_fixtures
./manage.py syncdb --noinput
Traceback (most recent call last):
File "./manage.py", line 8, in
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management
make: *** [create_database] Error 1
./manage.py create_users
Traceback (most recent call last):
File "./manage.py", line 8, in
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management
make: *** [make_fixtures] Error 1

from django-api-rest-and-angular.

Related Issues (20)

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.