Giter VIP home page Giter VIP logo

2016's Introduction

2016

Wellesley GWC 2016 Git repository

2016's People

Contributors

jimklumpp avatar sophiadigi avatar horsestem avatar norrisboyd avatar 22whiter avatar mffitzgerald avatar adhvikaarun avatar theswammeralaina avatar helloworld781 avatar visvix avatar lramsden05 avatar esparsons avatar kdhiman97 avatar wellesleygwc-coder-1 avatar

Watchers

James Cloos avatar  avatar

Forkers

esparsons

2016's Issues

Inconsistent use of columns in database for "questions" table

The code in db.py has the following:

    cursor.execute("drop table if exists questions")
    cursor.execute("create table if not exists questions("+
                   "id text primary key" +
                   ", question text not null" +
                   ", answer text not null" +
                   ", day date not null" +
                   ", constraint questions_unique unique (question))")
    cursor.execute("insert or ignore into questions values ('Q0', 'What is a function?', 'A', '2017-04-27')")
    cursor.execute("insert or ignore into questions values ('Q1', 'What is a loop?', 'B', '2017-04-26')")
    cursor.execute("insert or ignore into questions ('question', 'answer', 'day') values ('What is a function?', 'A', '2017-04-27')")
    cursor.execute("insert or ignore into questions ('question', 'answer', 'day') values ('What does HTML stand for?', 'A', '2017-04-27')")
    cursor.execute("insert or ignore into questions ('question', 'answer', 'day') values ('What is a variable?', 'B', '2017-04-27')")
    cursor.execute("insert or ignore into questions ('question', 'answer', 'day') values ('Which would print \"hello world\"?', 'D', '2017-04-27')")
    cursor.execute("insert or ignore into questions ('question', 'answer', 'day') values ('What is a loop?', 'B', '2017-04-26')")

It looks like conflicting checkins resulted in not all questions having an ID: some have 'Q0' or 'Q1', while others do not.

Clicking on "Archives" navigates to /logout

  1. Start server
  2. navigate to /home
  3. click on "Archives"

Browser loads /logout instead.

This may be related: when looking at HomePage.html and hovering over the tag, it says "Element td is not allowed here".

screen shot 2017-05-23 at 7 39 15 pm

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.