Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

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

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7546797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T09:17:31+00:00 2026-05-30T09:17:31+00:00

I designed a database using MySQLWorkbench EER model with many foreign key relationships and

  • 0

I designed a database using MySQLWorkbench EER model with many foreign key relationships and tables using Django default naming conventions (like using id for primary keys, *_id for foreign keys). Now that I feel that I have a good back-end design, how do I convert that into a Django Python code for models.py? Do I have to manually type out every table?

I read that there is already a UML to Django conversation and I also know MySQLWorkbench can export and “Forward Engineer SQL CREATE script”. But I’m not sure if MySQLWorkbench can export a UML diagram.

Also another question, I have an order table that has 3 foreign keys to the user table. The three foreign keys are user_created, user_modified, and user_status. I know that normally Django would create a foreign key called user_id, but what if I need three distinct foreign key from one table?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

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
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T09:17:33+00:00Added an answer on May 30, 2026 at 9:17 am

    But you can “Forward Engineer SQL CREATE script” and afterwards proceed as described in this thread: Is it possible to generate django models from the database?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a normalized SQL Server 2008 database designed using generic tables. So, instead
I am currently developing a Rails application using a database that was designed before
I have designed database tables (normalised, on an MS SQL server) and created a
I have a poorly designed database. One of the most important tables has 11,000+
In a recent project the lead developer designed a database schema where larger tables
We've designed our Mongo database to be highly denormalized, resulting in many documents in
I'm using an Access Database that is designed relationally. I have a list of
I have a database designed to hold card data from various trading card games.
I have rewritten an old program and designed a new database for it. I
In a database-centric application that is designed for multiple clients, I've always thought it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

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.