Skip to content

Commit c6bce9e

Browse files
author
Arun Kirubarajan
authored
Update assignment5.md
1 parent ac521c1 commit c6bce9e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

assignment5.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Assignment 6: Twitter v192
2-
> Due Friday, November 29th at 11:59 PM. You are permitted one collaborator for high-level ideas but each student must write their own code.
1+
# Assignment 5: Twitter Version 192
2+
> Due December 1st at 11:59 PM. Start early and make use of office hours!
33
44
## Introduction
55
The beauty of web development is its ability to create software that anybody with an internet connection can use. In this assignment, you will implement a clone of my favourite social media - Twitter! An implementation of the website is available [here](https://twitter.kirubarajan.com) and you are expected to recreate all the functionality from the site. This might seem a little daunting - but I assure you that everything you need to know has been covered in lecture.
@@ -20,7 +20,7 @@ The recommended approach to developing this application is to start by writing t
2020
You should also write the URLs and views to simply render the templates too, in order to both debug and set up some boilerplate for you to implement in Milestone 3. Be sure to use a CSS framework to keep your web pages production-ready. I like to use Bootstrap or Bulma, but anything that doesn’t use Times New Roman is fair game.
2121

2222
## Milestone 2: Accounts System
23-
Once you have a working accounts system, the entire flow of development will be completely different. Django’s authentication system lets us implement this very easily (refer to Week 7’s lecture notes for more information). It is not necessary to extend the user model (e.g. bio, profile picture etc.), but extra credit will be given where due!
23+
Once you have a working accounts system, the entire flow of development will be completely different. Django’s authentication system lets us implement this very easily (refer to the lecture notes for more information). It is not necessary to extend the user model (e.g. bio, profile picture etc.), but extra credit will be given where due!
2424

2525
## Milestone 3: Model Definitions
2626
The only two models that you need to implement are a `Tweet` model and a `Hashtag` model. Be sure to make use of SQL relationships, namely the `foreign_key` and `ManyToMany` relationships. In class we've seen foreign keys, in which we relate two objects together. The `ManyToMany` relationship is an extension of the foreign key, where an object can be associated with a set of relationships to object of the same type (think Facebook posts having a `ManyToMany` relationship with comments). Read more about it [here](https://docs.djangoproject.com/en/2.2/topics/db/examples/many_to_many/).
@@ -32,7 +32,7 @@ Be sure to create a user using `createsuperuser` and use the admin page to test
3232
**HALF WAY POINT ([https://www.youtube.com/watch?v=EBZp9IZFdTU](https://www.youtube.com/watch?v=EBZp9IZFdTU))**
3333

3434
## Milestone 3: Views
35-
It’s time to put everything together and make your application functional! Create the associated views that correspond to the templates and forms that you wrote in your HTML. Think hard about how to parse hashtags in the body of POSTed tweets. Look into regular expressions, or feel free to implement your own string search.
35+
It’s time to put everything together and make your application functional! Create the associated views that correspond to the templates and forms that you wrote in your HTML. Think hard about how to parse hashtags in the body of POSTed tweets. Look into regular expressions, or feel free to implement your own string function to identify hashtags.
3636

3737
## Submission and Grading
3838
This assignment will be graded manually and will be evaluated on correctness and overall project design (including style). Create a file named `README.md` in the root directory of your project. This README file should document your routes, any design considerations you made, any collaborators, and any extra credit. The README file should also include information on how to run the server. Be sure to `pip freeze` into `requirements.txt` using `pip freeze > requirements.txt` so the staff know what third party packages are used.
@@ -50,4 +50,4 @@ We will be giving extra credit for **any extra functionality** based on effort r
5050
4. Error handling (5%)
5151

5252
## Best of 192 Award
53-
The CIS 192 staff will be selecting one project to win our **Best of 192 Award**! The winning project will be hosted (for free!) on the 192 server and will be listed on the course website. In addition, you will be given a 15% bonus on your assignment.
53+
The CIS 192 staff will be selecting one project to win our **Best of 192 Award**! The winning project will be hosted (for free!) on the 192 server and will be listed on the course website. In addition, you will be given a 15% bonus on your assignment.

0 commit comments

Comments
 (0)