I went through the
Django tutorial
about 2 weeks ago and I decided to create a website using Django. I
have a couple of questions on the structure of the Django project, but
before I voice them, I wanted to describe the features that I want my
website to have:
- there will be two types of users - companies and employees
- both companies and employees will have a profile with basic information about them listed there
- there should exist two different registration pages (depending on if you're a company or if you're an employee)
- companies
and employees should be able to add certain tags during their
registration (and afterwards add/remove tags via their profile page)
- companies and employees should be able to search for each other based on the tags
- companies should be able to look at employees profiles and vice versa
- there should exist an administrator website - he/she can remove or modify the profiles of both companies and employees
This may not be all the features I want in the website, but I think you get the picture.
Here are some questions I have for you:
- Do I start from where the tutorial left off and modify that?
- How many apps should my website have?
This is non-trivial for me to determine as I have things like 2
different types of users, viewing profiles etc. I'm guessing it's 1 app,
but I'm not entirely sure.
- How do I go about making it possible for the two types of users to register? I was thinking about creating separate models for companies and employees and then making their registration pages different.
- Can I somehow hardcode the tags that companies and employees can use?
These
are my questions as of now and I'm sure more will pop up during the
development. I have found some login / registration Django website
building tutorials on Google, but I wanted to check with you to see what
the official Django users say.
To recap: I
recently finished the tutorial and I want to make the website with the
features I listed. How do I do that in the least possible amount of
time, keeping my project structure and code clean and Django-like?
Best,
Mislav