Code Monkey home page Code Monkey logo

django-time-wizard's People

Contributors

wfehr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

django-time-wizard's Issues

optimize admin

Setup validation on model creation.

For example currently you can create an AbsolutePeriodModel with empty settings.

rename model names

  • essential:

    • rename AbsolutePeriodModel to AbsoluteRangePeriodModel
    • remove Model-suffix on models
  • nice-to-have:

    • provide release with backward compatibility, e.g. other projects can still import models with their old name

make "holidays"-field-choices dynamic

Currently the choices are added as "Field.choices" from given settings which results in migrations if the settings are overridden.
(or if holidays is updated and new countries are added for example)

If the choices are dynamic and not fixed on model-creation, this would not be the case.

Don't use GenericRelations

GenericRelations lead often to problems and are most of the time unnecessary.
Those should be remove.

manage.py is broken

The manage.py in your repo is broken.
The following line does not work:
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test/settings")

The directory is tests not test and you need to have a python module there. So the following would be correct:
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "tests.settings")

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.