Skip to content

[Feedback]: Module 9 #13

@Fruity-Patoootie

Description

@Fruity-Patoootie

Outcome 1

3.06- Write code that expands on a frameworks core set of features

Outcome 1 Result

3-Mastery

Outcome 1 Feedback

In admin.py of the events app, the events are registered under the admin class. This shows expansion on the core framework on Django by allowing a superuser to access and manipulate the DB from a user console.

Outcome 2

4.01- Implement view-logic to receive data and return results

Outcome 2 Result

3-Mastery

Outcome 2 Feedback

In users/views.py user_profile is implemented which checks the clubs a user is involved with and returns said data in the form of a user dashboard. This allows the user to view the clubs they are apart of.

Outcome 3

4.02- Use templates to create stylized web pages

Outcome 3 Result

3-Mastery

Outcome 3 Feedback

4.02 - 
Utilizes templates in events/survey.html where a user can rate an event/group and provide additional feedback via a text entry.


There weren't any more outcomes in the yaml file, so I have to fill out the extras here, sorry

5.01 - Utilize Object Relational Mapping (ORM) for data retrieval
3 - Mastery
Utilizes ORM in the events/views.py file to grab and filter attendees to an event (line 41)


5.02 - Utilize ORM for data manipulation
3 - Mastery
In users/views.py the signup method allows users to create a new profile via the CustomUserCreationForm (line 85) This allows users to create a new profile for the app, demonstrating mastery, as it allows the creation of a new user profile in the database.


5.03 - Map Python classes to database objects using Object Relational Mapping (ORM)
3 - Mastery
In users/models.py there is a Club model that creates a DB table with the same name. It provides CharFields, TextFields, and a ForeignKey to a user for an admin of the club, clearly demonstrating 5.03.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions