shacker / gtd Goto Github PK
View Code? Open in Web Editor NEWContainer/stub site for django-todo
Container/stub site for django-todo
I want to add some functions and support more task types
ERRORS:
?: dal needs to be in INSTALLED_APPS
?: dal_select2 needs to be in INSTALLED_APPS
WARNINGS:
todo.Attachment: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
todo.Comment: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
todo.Task: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
todo.TaskList: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
HINT: Configure the DEFAULT_AUTO_FIELD setting or the AppConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
Hello. After having installed the dependencies with pipenv install
I get the following error. Any ideas on how to proceed and about the reason of the error? Many thanks.
./manage.py runserver
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x10bfbd620>
Traceback (most recent call last):
File "/Users/maurizio/.virtualenvs/gtd-VJmtv4Z6/lib/python3.6/site-packages/django/utils/autoreload.py", line 225, in wrapper
fn(*args, **kwargs)
File "/Users/maurizio/.virtualenvs/gtd-VJmtv4Z6/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 112, in inner_run
autoreload.raise_last_exception()
File "/Users/maurizio/.virtualenvs/gtd-VJmtv4Z6/lib/python3.6/site-packages/django/utils/autoreload.py", line 248, in raise_last_exception
raise _exception[1]
File "/Users/maurizio/.virtualenvs/gtd-VJmtv4Z6/lib/python3.6/site-packages/django/core/management/__init__.py", line 327, in execute
autoreload.check_errors(django.setup)()
File "/Users/maurizio/.virtualenvs/gtd-VJmtv4Z6/lib/python3.6/site-packages/django/utils/autoreload.py", line 225, in wrapper
fn(*args, **kwargs)
File "/Users/maurizio/.virtualenvs/gtd-VJmtv4Z6/lib/python3.6/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/Users/maurizio/.virtualenvs/gtd-VJmtv4Z6/lib/python3.6/site-packages/django/apps/registry.py", line 89, in populate
app_config = AppConfig.create(entry)
File "/Users/maurizio/.virtualenvs/gtd-VJmtv4Z6/lib/python3.6/site-packages/django/apps/config.py", line 90, in create
module = import_module(entry)
File "/Users/maurizio/.virtualenvs/gtd-VJmtv4Z6/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 674, in exec_module
File "<frozen importlib._bootstrap_external>", line 781, in get_code
File "<frozen importlib._bootstrap_external>", line 741, in source_to_code
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/Users/maurizio/.virtualenvs/gtd-VJmtv4Z6/lib/python3.6/site-packages/todo/__init__.py", line 67
except subprocess.CalledProcessError, e:
^
SyntaxError: invalid syntax
https://stackoverflow.com/a/57202537/7232885
Used pyparsing version 2.4.1.1 and got it to run.
https://github.com/shacker/gtd/blob/master/project/templates/base.html#L77
running with debugging enabled results in noisy logs. non field errors should be displayed on a per-form basis, or in a block. what do you think ?
Collecting titlecase==2.4 (from -r requirements.txt (line 276))
Downloading titlecase-2.4.tar.gz (14 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting toml==0.10.2 (from -r requirements.txt (line 279))
Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting tomli==2.0.1 (from -r requirements.txt (line 283))
Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting tomlkit==0.11.8 (from -r requirements.txt (line 290))
Downloading tomlkit-0.11.8-py3-none-any.whl (35 kB)
Collecting typing-extensions==4.6.3 (from -r requirements.txt (line 294))
Downloading typing_extensions-4.6.3-py3-none-any.whl (31 kB)
Collecting webencodings==0.5.1 (from -r requirements.txt (line 302))
Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting wrapt==1.15.0 (from -r requirements.txt (line 306))
Downloading wrapt-1.15.0-cp311-cp311-win_amd64.whl (36 kB)
Collecting tzdata (from django==4.2.2->-r requirements.txt (line 29))
ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
tzdata from https://files.pythonhosted.org/packages/a3/fb/52b62131e21b24ee297e4e95ed41eba29647dad0e0051a92bb66b43c70ff/tzdata-2023.4-py2.py3-none-any.whl (from django==4.2.2->-r requirements.txt (line 29))
python --version
Python 3.11.4
pip --version
pip 23.3.2 from C:...\gtd-master.venv\Lib\site-packages\pip (python 3.11)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.