viewflow / cookbook Goto Github PK
View Code? Open in Web Editor NEWSample projects for viewflow and django-material
Sample projects for viewflow and django-material
It would be nice if CompositeKey column names refer to model fields instead of database column names. In a legacy database name could be far from today standars. When I tried to use I had to use real column name in CompositeKey, if I use my "new" model name (Django standard) it complains because the column doesn't exist. So I used database column name in model name which makes less clear my code because I'm referring to a related entity by its foreign key instead of my "pretty Django" name.
I cloned the respository. And run pip install -r requirements.txt , but it gives me error
ERROR: Could not find a version that satisfies the requirement django-viewflow-pro==1.4.1 (from versions: none)
ERROR: No matching distribution found for django-viewflow-pro==1.4.1
How to use viewflo-pro?
Hi,
I'm just trying to follow the README of workflow101's cookbook to run it
Traceback (most recent call last):
File "/home/simco-dev/cookbook/workflow101/manage.py", line 14, in <module>
from django.core.management import execute_from_command_line
File "/home/simco-dev/cookbook/workflow101/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 17, in <module>
from django.conf import settings
File "/home/simco-dev/cookbook/workflow101/venv/lib/python3.10/site-packages/django/conf/__init__.py", line 19, in <module>
from django.utils.deprecation import RemovedInDjango60Warning
File "/home/simco-dev/cookbook/workflow101/venv/lib/python3.10/site-packages/django/utils/deprecation.py", line 4, in <module>
from asgiref.sync import iscoroutinefunction, markcoroutinefunction, sync_to_async
File "/home/simco-dev/cookbook/workflow101/venv/lib/python3.10/site-packages/asgiref/sync.py", line 1, in <module>
import asyncio
File "/usr/lib/python3.10/asyncio/__init__.py", line 8, in <module>
from .base_events import *
File "/usr/lib/python3.10/asyncio/base_events.py", line 40, in <module>
from . import events
File "/usr/lib/python3.10/asyncio/events.py", line 204, in <module>
class AbstractEventLoop:
File "/usr/lib/python3.10/asyncio/events.py", line 499, in AbstractEventLoop
stdin=subprocess.PIPE,
AttributeError: module 'subprocess' has no attribute 'PIPE'
First, I really appreciate your work on this! That said, I'm very new to JS and know very little about securing logins, but on your last push, when line 20 was added to middleware.js, postponedRSAAs = []
attempts to reallocate a constant array...and fails when compiled. Although slightly slower, I think that this can be avoided with postponedRSAAs.length = 0
Not a big deal, we can use the code browser.
After folowing quickstart tutorial http://docs.viewflow.io/viewflow_quickstart.html i cant see helloworld workflow
Clicking on processes do nothing (not even any Debug message)
Python 3.7.0
Django==2.1.1
django-filter==2.0.0
django-material==1.3.0
django-viewflow==1.3.0
pytz==2018.5
Thanks to author project for this beautiful and helpful app, but I'm a novice and all work fine from demo frontend and nothing from the django code...so I kindly ask you: how the flow can be managed without frontend:
x, created =TestProcess.objects.get_or_create()
Out[1]: (<TestProcess: <Process 19> - NEW>, True)
In [12]: x.status
Out[12]: 'NEW'
x.task_set.exists
Out[23]: <bound method BaseManager._get_queryset_methods.<locals>.create_method.<locals>.manager_method of <django.db.models.fields.related_descriptors.create_reverse_many_to_one_manager.<locals>.RelatedManager object at 0x7f0d917c1438>>
In my flow I've put:
class HellxoWorldFlow(Flow):
start = (
flow.Start(
flow_views.CreateProcessView,
fields=['text', 'wo_rif'],
task_title=_('Start'))
.Permission(auto_create=True)
.Next(this.secondstep)
)
but x.flow_class seems to be '', and a "x.next_flow_step" doesn't exist, how can I get the next step for this process?
Thanks, BR
Link to the Custom User model in README.rst is 404.
https://github.com/viewflow/cookbook/blob/master/customuser
Issue also applies for almost all the other cookbook blobs
pip install -r requirements.txt
Collecting pytz (from -r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/e7/f9/f0b53f88060247251bf481fa6ea62cd0d25bf1b11a87888e53ce5b7c8ad2/pytz-2019.3-py2.py3-none-any.whl
Collecting django~=2.2 (from -r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/2b/b2/eb6230a30a5cc3a71b4df733de95c1a888e098e60b5e233703936f9c4dad/Django-2.2.10-py3-none-any.whl
Collecting django-material-pro<2.0 (from -r requirements.txt (line 3))
Could not find a version that satisfies the requirement django-material-pro<2.0 (from -r requirements.txt (line 3)) (from versions: )
No matching distribution found for django-material-pro<2.0 (from -r requirements.txt (line 3))
should be django-viewflow==0.12.2
instead of django-viewflow=0.12.2
Why does this line just RETURN and not call then next middlware at least?
Are you not going to be skipping a RSAA call here?
In the Blood Test model (model.py) classes BloodSample, Biochemistry, TumorMarkers, Hormones, BloodTestProcess require a second argument on_delete = for ForeignKey() and OneToOneField() functions
Hello!
I'm new to React\Redux and I encountered with the problem. I try to follow the Django+React article in my project and get an error. The only presence of that import storage
in store.js
is enough to get the error.
The example in your repo works just fine, but I can not find the difference between your example and my code. I am using Webpack however.
Here's the error:
VM6423:1 Uncaught SyntaxError: Unexpected identifier at Object.<anonymous> (bundle.js:126) at m (bundle.js:1) at c (bundle.js:1) at Object.eval (eval at <anonymous> (bundle.js:109), <anonymous>:10:16) at Object.eval (eval at <anonymous> (bundle.js:109), <anonymous>:43:27) at eval (eval at <anonymous> (bundle.js:109), <anonymous>:44:30) at Object.<anonymous> (bundle.js:109) at m (bundle.js:1) at c (bundle.js:1) at Object.eval (eval at <anonymous> (bundle.js:108), <anonymous>:21:23)
Here's my webpack.config.js, just in case: https://pastebin.com/q2yye7jy
And here's my dependencies: https://pastebin.com/KuAuw5qD
ERROR: Invalid requirement: 'pyaml=3.13' (from line 4 of requirements.txt)
Hint: = is not a valid operator. Did you mean == ?
ModuleNotFoundError: No module named 'celery'
django==2.1.2
djangorestframework==3.9.0
django-rest-swagger==2.2.0
was pyaml=3.13
change to pyaml==3.13
django-viewflow-pro==1.4.1
django-material-pro==1.4.1
added celery
So, I can login and obtain tokens. Any suggestions on how to implement logout functionality?
I think logout can be achieved by deleting the tokens from localStorage, but is there any cleaner way to do the same?
I have followed the this medium article.
Hi
It seems the path details shown on https://github.com/viewflow/viewflow/tree/master/demo are incorrect, it shows:
tox loaddata tests/helloworld/fixtures/default_data.json
tox loaddata tests/shipment/fixtures/default_data.json
But these files appear incorrect, should the test/ be replaced with demo/?
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.