You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello there my friend, first i would like to thank you for this awesome project.
i have followed the instruction from the git-hub page and tasks are running fine in my development machine, but i have some issues (do not know if it is my bad or not).
here is what i did:
starting the task from signals
@receiver(post_save, sender=Project)defcreate_project_folders(sender, instance, created, **kwargs):
# start new task and its job with related infocommand=CreateProjectFoldersCommand()
command.handle(project=instance) # passing data to job function to create the task, job
created the task model and needed command to run it
classCreateUpdateNCGroupFolders(Job):
@staticmethoddefexecute(job, task):
# my job code is running fine here
Now i need to get the task id to send it to front end in order to check for the task progress ???
even if i put a running task id in JavaScript, to check the functionality it returns
"Reverse for 'core_createprojectfolderstask_viewlogtext' not found. 'core_createprojectfolderstask_viewlogtext' is not a valid view function or pattern name."
i tried to call what i did see the view function is doing
task=CreateProjectFoldersTask.objects.first()
task.as_dict()
# it raises this errorFile~/000.WORK/ASES/.venv/lib/python3.8/site-packages/django/urls/resolvers.py:828, inURLResolver._reverse_with_prefix(self, lookup_view, _prefix, *args, **kwargs)
823else:
824msg= (
825"Reverse for '%(view)s' not found. '%(view)s' is not "826"a valid view function or pattern name."% {"view": lookup_view_s}
827 )
-->828raiseNoReverseMatch(msg)
NoReverseMatch: Reversefor'core_createprojectfolderstask_viewlogtext'notfound. 'core_createprojectfolderstask_viewlogtext'isnotavalidviewfunctionorpatternname.
any idea where i missed ?
The text was updated successfully, but these errors were encountered:
Description
hello there my friend, first i would like to thank you for this awesome project.
i have followed the instruction from the git-hub page and tasks are running fine in my development machine, but i have some issues (do not know if it is my bad or not).
here is what i did:
starting the task from signals
created the task model and needed command to run it
"Reverse for 'core_createprojectfolderstask_viewlogtext' not found. 'core_createprojectfolderstask_viewlogtext' is not a valid view function or pattern name."
any idea where i missed ?
The text was updated successfully, but these errors were encountered: