I have no idea what to do during the development of the website, so I'm asking you a question. The function of the website I'm currently creating is a bulletin board function, and I have to divide the bulletin board into several url. When you sign up, you should receive your ID, password, and school information and log in to a specific page for the school, but you have completed the login function, but I don't know how to save the school information with the account information and how to take it out when you check if it matches the login. Please help me
django python
You put django on the tag, but this problem has nothing to do with django, and it actually goes up to the level of Service Design (Architecture). Are you processing receiving school information when you sign up as a simple string input such as "Ongok Elementary School"
? Then that's a big deal.
Typically, you do the following:
The explanation is a bit lengthy, but the above scenario is at least presented. Real world scenarios are much more complex. (What if there could be multiple bulletin boards in one school? What if a member wants to use the bulletin board for both elementary, middle, high, and university? What if you transferred? How do I make certain articles on certain boards readable by outsiders? To specify the operator of a specific school bulletin board?)
There's a lot to think about, but first of all, learn about DB's relationship and think about how to apply it to the django application you're currently developing. You can do it.
574 Who developed the "avformat-59.dll" that comes with FFmpeg?
620 Uncaught (inpromise) Error on Electron: An object could not be cloned
573 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
917 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.