×course.content.assessment.attempt.menuAssignmentGroup coding assignment 2 (50%)Group coding assignment 2 (50%) Assignment Content About You are required to work in the same group as that of the first...

×course.content.assessment.attempt.menuAssignmentGroup coding assignment 2 (50%)Group coding assignment 2 (50%) Assignment Content

  1. About

    You are required to work in the same group as that of the first assignment.


    This assignment requires that your group create a website that uses Django forms in conjunction with a database to record information about a topic of your choice. You may select any topic of your choosing (with some exceptions to be explained in the section below) so long as it meets the complexity requirement outlined below.


    Your website must provide full CRUD (Create, Read, Update and Delete) functionality for the records within your database. In essence, you will be creating your own small version of the Django Admin App which deals exclusively with the maintenance of your data.


    Minimum data complexity requirement

    When choosing your topic it must have a complexity that allows you to have a minimum of 2 additional classes on top of the main class associated with the principal topic (in total 3 classes). These classes correspond to the tables in the database and must have an identifiable relationship with each other.


    For example, if you choose
    Hair Care Products
    as your topic, you could have the Productclass (main class of the topic), Manufacturer class (which creates this type of product) and Retailer class (which stocks this type of product). If you choose
    Cooking Recipesas the topic, you could have the Recipe class (main class of the topic), Ingredient class (which are present in the recipe) and RequiredTools class (used to prepare the recipe). Use your imagination and chose a topic that you have genuine interest in.


    Exceptions:


    You must choose a new topicfor your website that is different from the topic you chose in Assignment 1. Also, do not use the above examples of hair care products or cooking recipes, or any other examples given during lectures, as your topic. If you are having trouble choosing a topic, please speak with your lecturer for assistance.


    There are two tasks in this assignment, which are explained below.



  2. Task 1

    Your project must meet the following requirements:



    • Be created as a Django version 3.0.3 project, with at least one App (most will only need one app).

    • A landing page (sometimes called a home page) that includes:

    • The names and student numbers of all group members.

    • A brief paragraph (a few sentences) that talks about your principal topic, and how the associated tables are important in relation to that topic.

    • Navigation options that provide easy access to the website’s home page, and other logical or helpful URL’s within your project. The navigation options should be available at all times throughout your website.

    • Use Django to store your information dynamically in a local database.

    • Use Django Forms on your website to accept the user input which will affect the database.

    • Full CRUD functionality available on your website for each table in your data model.

    • All hyperlinks must be constructed with the useof named URL Paths and {% url %} template tag. Any hyperlink which points to resources outside of your own website project is exempt from this requirement.

    • The website should use standard HTML5 syntax and make use of normal HTML formatting, such as headers, tables, hyperlinks and text formatting where appropriate.

    • Minimum data complexity requirement must be met (a minimum of 3 related classes/tables in your data model).

    • Data model classes must include the supporting structure for the relationships between the classes. For example, models.ForeignKey( … ) and/or models.ManyToManyField(… ).

    • A sample data set must be supplied with the project submission containing a minimum of 6 records for the principal topic chosen, along with any required secondary records. The number of secondary records will depend on your data model and chosen topic.



  3. Task 2

    Create a PDF file containing the following elements which document your project:



    • A high level ERD (Entity Relationship Diagram) showing the cardinality between the classes (tables) in your data model. This should be a quick diagram similar to the example in week 7 lecture slides.

    • A detailed data dictionary for each class in your data model. Refer to the week 5 lecture slides for the minimum expected information to be included.




Nov 25, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here