Model Setup¶
In order to deploy and run the Web Application successfully, you will need to set up several models - specifically Properties
, Certificates
, and Fees
.
Access the Django Admin by browsing to: http://localhost:8000/admin
Properties Model¶
- From the left-hand side, select "Properties"
- Select "Add Property" from the top-right corner
- Enter the relevant information and click "Save"
The property you just added should now be saved and viewable within the Properties section:
Tax Rate Model¶
- From the left-hand side menu, select "Tax Rates"
- Click "Add Tax Rate" from the top-right corner
- Enter details for the Tax Rate
- Check "Is Active"
- Click "Save"
Your new Tax Rate is now saved:
Fees Model¶
- From the left-hand side menu, select "Fees"
- Select "Add Fee" from the top-right corner
- Enter the desired Fee details
- Apply Tax Rate if applicable
- Click "Save"
Your saved Fee is now available:
Certificates Model¶
- From the left-hand side menu, select "Certificates"
- From the top-right, select "Add Certificate"
- Add required details:
- Name
- Price
- Tax Rate (if applicable)
- Description
- If a Fee should be associated with the Certificate:
- Select the Fee Name
- Click "+"
- Click "Save"
Your new Certificate is now saved. Repeat these steps for any additional certificates required.
Certificate Contains¶
Some Certificates contain all of one type and have other features, similar to a Parent-Child relationship. To create a Certificate Contains relationship:
- Select the Certificate you want to make the Parent
- From the bottom, select the Certificate you want to be the Child
- Click the "→" button to move it to the Child section
- Click "Save"
Order Model¶
An Order is created when a User completes payment successfully. All relevant information is shown, including which Certificates are required.