Skip to content

jcassidy#133

Open
cassidyjamesw wants to merge 8 commits into
bloominstituteoftechnology:masterfrom
cassidyjamesw:master
Open

jcassidy#133
cassidyjamesw wants to merge 8 commits into
bloominstituteoftechnology:masterfrom
cassidyjamesw:master

Conversation

@cassidyjamesw

Copy link
Copy Markdown

No description provided.

@TheDeterminator TheDeterminator left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

James, this code looks great! Good job getting through this assignment. I assume based off of your last commit message that you also had trouble with the "old_auth tables" bug that plagued so many people? Whatever the case good job getting through any blockers you may have faced while doing this code. By way suggestion you could add a few more comments to your code (although I appreciate taht most of it was prewritten for this assignment). And you should name our PRs: [FirstName LastName] - Name-Of-Project. I don't know if your PM has ever said explicitly but it will make it easier for him to find your pull requests. All the same, great job!

Comment thread adv_project/settings.py
DEBUG = config('DEBUG', cast=bool)

ALLOWED_HOSTS = []
ALLOWED_HOSTS = os.environ.get("ALLOWED_HOSTS").split(",")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is interesting, you could also have casted to a csv() type to get similar functionality.

Comment thread adventure/api.py
saidmessage = data['saidmessage']
room = player.room()
currentPlayerUUIDs = room.playerUUIDs(player_id)
for p_uuid in currentPlayerUUIDs:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good, have you thought about the case when a user tries to break your functionality by sending an empty message? If you really wanted to stretch you could think about how other types of input based attacks might be handled by this code but that is beyond the scope of this project.

Comment thread requirements.txt
@@ -1,3 +1,5 @@
pip freeze > requirements.txt

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When did you run pip freeze? I thought there might be more modules in this file but maybe not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants