Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Stackorigin – The Community of Question and Answers

Stackorigin – The Community of Question and Answers Logo Stackorigin – The Community of Question and Answers Logo
Search
Ask A Question

Mobile menu

Close
Ask a Question
Home/ Questions/Q 519
Next
In Process
hari
  • 0
hari
Asked: December 31, 20202020-12-31T06:28:38+00:00 2020-12-31T06:28:38+00:00In: Programming

How to Create initial migrations for the existing schema in Django?

  • 0

How to Create initial migrations for the existing schema in Django?

djangomigrations
  • 1 1 Answer
  • 112 Views
  • 0 Followers
  • 0
Share
  • Facebook

    Related Questions

    • SQL query to find third highest salary in company
    • difference between AWS sam build and sam deploy
    • Airflow on AWS EC2 instance with Ubuntu
    • python - Delete an element from a dictionary
    • How to check your Ubuntu version
    • How To Find Out My Linux Distribution Name and Version
    • How can i Check Linux distribution name
    • How can i Check Linux distribution name
    • How to Check Python Version on Linux
    • What is DOCTYPE?

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    1 Answer

    • Voted
    • Oldest
    • Recent
    1. sam
      2020-12-31T06:34:17+00:00Added an answer on December 31, 2020 at 6:34 am
      This answer was edited.

      If your app already has models and database tables and doesn’t have migrations. First, create initial migrations for your app.

      • First, create initial migrations for your app. python manage.py makemigrations your_app_label.
      • Now fake initial migrations as applied python manage.py migrate –fake-initial.
      • Fake all migrations in all apps python manage.py migrate –fake
      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Sidebar

    Ask A Question

    Adv 120x600

    Looking for advertising?

    Consider These Things If You Appreciate What stackorigin Does: Stackorigin is a community where you can ask questions and find answers, for free to everyone. We would appreciate it if you bought us a coffee if you liked what we were doing.

    Buy me a Coffe

    Adv 120x600

    • Random
    • Answers
      • On: August 8, 2022
      • Answers: 0

      Cheap Zebeta Germany, Zebeta drug class

      • On: January 2, 2022
      • Answers: 0

      Which country celebrates New Year first?

      • On: December 7, 2021
      • Answer: 1

      Python: Pandas pd.read_excel giving ImportError: Install xlrd >= 0.9.0 for ...

      • On: August 7, 2022
      • Answers: 0

      Safety Aggrenox buy, Aggrenox boehringer ingelheim

      • On: August 4, 2022
      • Answers: 0

      Buy Flomax Without prescription Switzerland, Flomax and anemia

    • strapcart_online
      strapcart_online added an answer Aurogra 100 Tablet is used to permanently remove the problem… May 25, 2023 at 9:03 am
    • strapcart_online
      strapcart_online added an answer There are many ED pills on the market to overcome… May 12, 2023 at 7:19 am
    • strapcart_online
      strapcart_online added an answer It can become serious if the problem of ED is… May 2, 2023 at 9:39 am
    • hari
      hari added an answer sudo apt updatesudo apt install python3-pipsudo apt install sqlite3sudo apt… May 2, 2023 at 7:08 am
    • strapcart_online
      strapcart_online added an answer Sildigra tablets are used to treat erectile dysfunction. This drug… April 28, 2023 at 7:24 am

    Adv 120x600

    Trending Categories

    Health
    2048Questions
    , 4Followers
    Programming
    1270Questions
    , 0Followers
    Technology
    216Questions
    , 3Followers
    General Knowledge
    131Questions
    , 0Followers
    Business & Finance
    84Questions
    , 4Followers

    Adv 120×600

    Stats

    • Questions 4k
    • Answers 1k
    • Best Answers 105
    • Users 125

    Users

    annasent

    annasent

    • 0 Questions
    • 0 Answers
    daisywilson

    daisywilson

    • 1 Question
    • 0 Answers
    thomsjoshi

    thomsjoshi

    • 0 Questions
    • 0 Answers
    robort

    robort

    • 0 Questions
    • 0 Answers
    jzlnellis21

    jzlnellis21

    • 0 Questions
    • 0 Answers

    Adv 120×600

    Explore

    • Recent Questions
    • Most Answered
    • Answers
    • No Answers
    • Most Visited
    • Most Voted
    • Random
    • Polls

    Footer

    Stackorigin - The Community of Question and Answers

    Stackorigin

    Stackorigin is the world’s largest Q&A networking site, Stackorigin community brings you the collaboration of all the various Questions and the related Answers given by the community.

    About

    • About Us
    • Contact Us
    • FAQ
    • Submit Guest Post Article on Technology, Education, Health, Apps, Gadgets, IoT, AI, Business, Digital Marketing and More

    Info

    • Privacy Policy
    • Terms and Conditions
    • Community Guidelines
    • Tags

    Products

    • Tutorials
    • Advertising
    • Categories
    • Corona
    • StackHow

    Follow

    © 2022 Stackorigin. All Rights Reserved.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.