GithubHelp home page GithubHelp logo

dukeconversations's Introduction

dukeConversations

Duke Conversations is a program at Duke that holds dinners several times a week as a way to promote conversation and connection between students and faculty.

This project has the goal of streamlining the application process for the dinners, getting a step closer to automating acceptances in a way that is fair to all, and provide data on who is being reached.

dukeconversations's People

Contributors

kne3 avatar sarpu avatar nhb8 avatar summersmith avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar Anne Driscoll avatar  avatar

Forkers

archanaahlawat

dukeconversations's Issues

error on register page

UnboundLocalError
local variable 'options' referenced before assignment
C:\Users\Anne\Documents\Duke\DukeFall2017\CS 316\dukeConversations\site\convos\app\forms.py in init, line 74

form = registerDinner(user=user) ...
C:\Users\Anne\Documents\Duke\DukeFall2017\CS 316\dukeConversations\site\convos\app\forms.py in init
self.fields['dinner'].choices = options

Background image

figure out why background image shows up on '/review' but not other pages

uniqueid verification broken

I think maybe I didn't commit that work idk but it doesn't check to make sure that the unique id is the right length

How do we differentiate professors?

So currently the model for professors looks like below:

class Professor(models.Model):
	genders = (
		("1", "M"),
		("2", "F"),
		("3", "O")
	)
	name = models.CharField(max_length = 40)
	food_restrictions = models.CharField(max_length = 50, null = True, blank = True)
	gender = models.CharField(max_length = 5, choices = genders)
	def __str__(self):
		return self.name

In cases where we have two professors with the same name, how do we differentiate between them? I see that in our schema we included an id field, but I am pretty sure that supposes something like a unique ID. So perhaps we should add that @amd112 ? Because even though internally we never overwrite two professors (since django automatically generates id fields since we did not declare any pks for this model), we cannot differentiate between them.

Form pages

create form pages for signup, review, edit.

user/student

link the user object to the student object so that we can query for data on a user

password recovery

  1. be able to send email
  2. send email with temp password and set password to that
  3. create a reset password page where they enter the password

output data

create button to output data from the website (on admin end) aka figure out how to create custom admin pages

on_delete behavior is missing

Most models do not have appropriate on_delete behavior. So we need to add those. The reason why reviews don't work is that there are some dinners that were deleted but their deletions are not appropriately propagated through the other model tables.

Calendar events

Is there any way we could connect the calendar to the data on dinners in the database?

If not it might be easier to just remove it, or else we would have to manage the data in both places.

Aesthetics on form pages

The form pages don't have the CSS stuff working. How can we make the generated elements maintain the pretty
See the '/signup' page for an example, but will be relevant to all form pages.

password management

Use the email system @kne3 has working to give users a way to reset password. aka set temporary password, email it to them and let them change their password?

'Your dinners'

create 'your dinners' status banner on login home page (populate the rest of it with upcoming dinners?)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.