Code Monkey home page Code Monkey logo

doto's People

Contributors

mikeshultz avatar

Watchers

 avatar  avatar

doto's Issues

Error adding task without deadline

Traceback:
File "/var/www/venvs/doto/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response
  132.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/var/www/venvs/doto/lib/python3.4/site-packages/django/views/generic/base.py" in view
  71.             return self.dispatch(request, *args, **kwargs)
File "/var/www/venvs/doto/lib/python3.4/site-packages/django/views/generic/base.py" in dispatch
  89.         return handler(request, *args, **kwargs)
File "./doto/views.py" in post
  93.                 deadline = datetime_to_iso(request.POST.get('deadline')),
File "./doto/utils.py" in datetime_to_iso
  49.         datetime.strptime(dt, '%Y-%m-%d')
File "/usr/local/lib/python3.4/_strptime.py" in _strptime_datetime
  507.     tt, fraction = _strptime(data_string, format)
File "/usr/local/lib/python3.4/_strptime.py" in _strptime
  344.                          (data_string, format))

Exception Type: ValueError at /task/
Exception Value: time data '' does not match format '%Y-%m-%d'

Migrations

Clear out and start a new migration set. Should be a blank database(schema-only) and migrations will be watched until the next major version, at least.

Interface indicators

There should be some behaviors, probably through easing, to show changes to the displayed page. For instance, completing a task.

better data sanity checks

Traceback (most recent call last):
  File "/home/mike/virtualenvs/doto/lib/python3.5/site-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/mike/virtualenvs/doto/lib/python3.5/site-packages/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/home/mike/virtualenvs/doto/lib/python3.5/site-packages/django/views/generic/base.py", line 89, in dispatch
    return handler(request, *args, **kwargs)
  File "/home/mike/dev/doto/doto/views.py", line 53, in get
    objs = Task.objects.filter(profile_id = request.GET.get('profile_id'), complete = False)
  File "/home/mike/virtualenvs/doto/lib/python3.5/site-packages/django/db/models/manager.py", line 127, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/home/mike/virtualenvs/doto/lib/python3.5/site-packages/django/db/models/query.py", line 679, in filter
    return self._filter_or_exclude(False, *args, **kwargs)
  File "/home/mike/virtualenvs/doto/lib/python3.5/site-packages/django/db/models/query.py", line 697, in _filter_or_exclude
    clone.query.add_q(Q(*args, **kwargs))
  File "/home/mike/virtualenvs/doto/lib/python3.5/site-packages/django/db/models/sql/query.py", line 1301, in add_q
    clause, require_inner = self._add_q(where_part, self.used_aliases)
  File "/home/mike/virtualenvs/doto/lib/python3.5/site-packages/django/db/models/sql/query.py", line 1328, in _add_q
    current_negated=current_negated, connector=connector, allow_joins=allow_joins)
  File "/home/mike/virtualenvs/doto/lib/python3.5/site-packages/django/db/models/sql/query.py", line 1191, in build_filter
    lookups, value)
  File "/home/mike/virtualenvs/doto/lib/python3.5/site-packages/django/db/models/fields/related.py", line 1740, in get_lookup_constraint
    lookup_class(target.get_col(alias, source), val), AND)
  File "/home/mike/virtualenvs/doto/lib/python3.5/site-packages/django/db/models/lookups.py", line 96, in __init__
    self.rhs = self.get_prep_lookup()
  File "/home/mike/virtualenvs/doto/lib/python3.5/site-packages/django/db/models/lookups.py", line 134, in get_prep_lookup
    return self.lhs.output_field.get_prep_lookup(self.lookup_name, self.rhs)
  File "/home/mike/virtualenvs/doto/lib/python3.5/site-packages/django/db/models/fields/__init__.py", line 727, in get_prep_lookup
    return self.get_prep_value(value)
  File "/home/mike/virtualenvs/doto/lib/python3.5/site-packages/django/db/models/fields/__init__.py", line 985, in get_prep_value
    return int(value)
ValueError: invalid literal for int() with base 10: 'undefined'

Browser testing

Test as much as possible on various browsers. Don't forget to test against mobile and adjust design/code as necessary.

Finish base system

Finish the base system so all basic tasks can be done.

  • Display profiles
  • Display tasks
  • Save profiles
  • Save tasks
  • Mark tasks as complete

Loading indicator

Need a couple loading indicators. One for app-wide, and one for modals.

Code cleanup and refactoring

Make sure to do a code review and do any cleanup by moving any print statements to logging statements. Also, refactor any code to simplify things for any development for the future.

Persistant sessions

If a user refreshes the page, they should not have to login again. Maybe use local storage to store the token?

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.