Comments (9)
Please, mention your software versions (Python, Django, django-fobi).
from django-fobi.
Anaconda version Python 3.6.0
django fobi 0.11.12 and 0.11.13
django 1.10.7
from django-fobi.
Thanks. I'll check. What's your Windows version?
from django-fobi.
Windows 10
from django-fobi.
Could you include the full trace?
from django-fobi.
Environment:
Request Method: GET
Request URL: http://localhost:9922/fobi/wizard/edit/4/
Django Version: 1.11.2
Python Version: 3.6.0
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'fobi',
'fobi.contrib.themes.bootstrap3',
'fobi.contrib.themes.foundation5',
'fobi.contrib.themes.simple',
'fobi.contrib.plugins.form_elements.fields.boolean',
'fobi.contrib.plugins.form_elements.fields.checkbox_select_multiple',
'fobi.contrib.plugins.form_elements.fields.date',
'fobi.contrib.plugins.form_elements.fields.date_drop_down',
'fobi.contrib.plugins.form_elements.fields.datetime',
'fobi.contrib.plugins.form_elements.fields.decimal',
'fobi.contrib.plugins.form_elements.fields.email',
'fobi.contrib.plugins.form_elements.fields.file',
'fobi.contrib.plugins.form_elements.fields.float',
'fobi.contrib.plugins.form_elements.fields.hidden',
'fobi.contrib.plugins.form_elements.fields.input',
'fobi.contrib.plugins.form_elements.fields.integer',
'fobi.contrib.plugins.form_elements.fields.ip_address',
'fobi.contrib.plugins.form_elements.fields.null_boolean',
'fobi.contrib.plugins.form_elements.fields.password',
'fobi.contrib.plugins.form_elements.fields.radio',
'fobi.contrib.plugins.form_elements.fields.regex',
'fobi.contrib.plugins.form_elements.fields.select',
'fobi.contrib.plugins.form_elements.fields.select_model_object',
'fobi.contrib.plugins.form_elements.fields.select_multiple',
'fobi.contrib.plugins.form_elements.fields.select_multiple_model_objects',
'fobi.contrib.plugins.form_elements.fields.slug',
'fobi.contrib.plugins.form_elements.fields.text',
'fobi.contrib.plugins.form_elements.fields.textarea',
'fobi.contrib.plugins.form_elements.fields.time',
'fobi.contrib.plugins.form_elements.fields.url',
'fobi.contrib.plugins.form_elements.test.dummy',
'easy_thumbnails',
'fobi.contrib.plugins.form_elements.content.content_image',
'fobi.contrib.plugins.form_elements.content.content_image_url',
'fobi.contrib.plugins.form_elements.content.content_text',
'fobi.contrib.plugins.form_elements.content.content_video',
'fobi.contrib.plugins.form_handlers.db_store',
'fobi.contrib.plugins.form_handlers.http_repost',
'fobi.contrib.plugins.form_handlers.mail',
'demoapp']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']
Template error:
In template D:\Anaconda3\lib\site-packages\fobi\templates\fobi\generic\edit_form_wizard_entry_ajax.html, error at line 143
Reverse for 'fobi.contrib.plugins.form_handlers.db_store.view_saved_form_wizard_data_entries' not found. 'fobi.contrib.plugins.form_handlers.db_store.view_saved_form_wizard_data_entries' is not a valid view function or pattern name. 133 : <span class="badge" title="{% trans 'Info' %}">?</span>
134 : </a>
135 : {% endif %}
136 : </td>
137 : <td>
138 : <ul class="list-inline">
139 : {% if form_wizard_handler.plugin_data %}
140 : <li><a href="{% url 'fobi.edit_form_wizard_handler_entry' form_wizard_handler.pk %}"><span class="glyphicon glyphicon-edit"></span> {% trans "Edit" %}</a></li>
141 : {% endif %}
142 : <li><a href="{% url 'fobi.delete_form_wizard_handler_entry' form_wizard_handler.pk %}"><span class="glyphicon glyphicon-remove"></span> {% trans "Delete" %}</a></li>
143 : {% get_fobi_form_wizard_handler_plugin_custom_actions plugin form_wizard_entry as form_wizard_handler_plugin_custom_actions %}
144 : {#% for action in plugin.get_custom_actions %#}
145 : {% for action in form_wizard_handler_plugin_custom_actions %}
146 : <li><a href="{{ action.0 }}"><span class="{{ action.2 }}"></span> {{ action.1 }}</a></li>
147 : {% endfor %}
148 : </ul>
149 : </td>
150 : </tr>
151 : {% endif %}
152 : {% endwith %}
153 : {% endfor %}
Traceback:
File "D:\Anaconda3\lib\site-packages\django\core\handlers\exception.py" in inner
41. response = get_response(request)
File "D:\Anaconda3\lib\site-packages\django\core\handlers\base.py" in _get_response
187. response = self.process_exception_by_middleware(e, request)
File "D:\Anaconda3\lib\site-packages\django\core\handlers\base.py" in _get_response
185. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "D:\Anaconda3\lib\site-packages\django\contrib\auth\decorators.py" in _wrapped_view
23. return view_func(request, *args, **kwargs)
File "D:\Anaconda3\lib\site-packages\django\contrib\auth\decorators.py" in _wrapped_view
23. return view_func(request, *args, **kwargs)
File "D:\Anaconda3\lib\site-packages\fobi\views.py" in edit_form_wizard_entry
1376. return render(request, template_name, context)
File "D:\Anaconda3\lib\site-packages\django\shortcuts.py" in render
30. content = loader.render_to_string(template_name, context, request, using=using)
File "D:\Anaconda3\lib\site-packages\django\template\loader.py" in render_to_string
68. return template.render(context, request)
File "D:\Anaconda3\lib\site-packages\django\template\backends\django.py" in render
66. return self.template.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render
207. return self._render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in _render
199. return self.nodelist.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render
990. bit = node.render_annotated(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render_annotated
957. return self.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\loader_tags.py" in render
177. return compiled_parent._render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in _render
199. return self.nodelist.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render
990. bit = node.render_annotated(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render_annotated
957. return self.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\loader_tags.py" in render
177. return compiled_parent._render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in _render
199. return self.nodelist.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render
990. bit = node.render_annotated(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render_annotated
957. return self.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\loader_tags.py" in render
177. return compiled_parent._render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in _render
199. return self.nodelist.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render
990. bit = node.render_annotated(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render_annotated
957. return self.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\loader_tags.py" in render
177. return compiled_parent._render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in _render
199. return self.nodelist.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render
990. bit = node.render_annotated(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render_annotated
957. return self.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\loader_tags.py" in render
72. result = block.nodelist.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render
990. bit = node.render_annotated(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render_annotated
957. return self.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\loader_tags.py" in render
72. result = block.nodelist.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render
990. bit = node.render_annotated(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render_annotated
957. return self.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\loader_tags.py" in render
72. result = block.nodelist.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render
990. bit = node.render_annotated(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render_annotated
957. return self.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\loader_tags.py" in render
72. result = block.nodelist.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render
990. bit = node.render_annotated(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render_annotated
957. return self.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\loader_tags.py" in render
216. return template.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render
209. return self._render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in _render
199. return self.nodelist.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render
990. bit = node.render_annotated(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render_annotated
957. return self.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\loader_tags.py" in render
177. return compiled_parent._render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in _render
199. return self.nodelist.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render
990. bit = node.render_annotated(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render_annotated
957. return self.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\defaulttags.py" in render
322. return nodelist.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render
990. bit = node.render_annotated(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render_annotated
957. return self.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\defaulttags.py" in render
216. nodelist.append(node.render_annotated(context))
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render_annotated
957. return self.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\defaulttags.py" in render
529. return self.nodelist.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render
990. bit = node.render_annotated(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render_annotated
957. return self.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\defaulttags.py" in render
322. return nodelist.render(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render
990. bit = node.render_annotated(context)
File "D:\Anaconda3\lib\site-packages\django\template\base.py" in render_annotated
957. return self.render(context)
File "D:\Anaconda3\lib\site-packages\fobi\templatetags\fobi_tags.py" in render
191. request)
File "D:\Anaconda3\lib\site-packages\fobi\base.py" in get_custom_actions
1993. return self.custom_actions(form_wizard_entry, request)
File "D:\Anaconda3\lib\site-packages\fobi\contrib\plugins\form_handlers\db_store\base.py" in custom_actions
209. args=[form_wizard_entry.pk]),
File "D:\Anaconda3\lib\site-packages\django\urls\base.py" in reverse
91. return force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)))
File "D:\Anaconda3\lib\site-packages\django\urls\resolvers.py" in _reverse_with_prefix
497. raise NoReverseMatch(msg)
Exception Type: NoReverseMatch at /fobi/wizard/edit/4/
Exception Value: Reverse for 'fobi.contrib.plugins.form_handlers.db_store.view_saved_form_wizard_data_entries' not found. 'fobi.contrib.plugins.form_handlers.db_store.view_saved_form_wizard_data_entries' is not a valid view function or pattern name.
from django-fobi.
It looks like you forgot to add the following couple of lines in your urls.py
.
url_patterns_args = [
# ...
url(r'^fobi/plugins/form-wizard-handlers/db-store/',
include('fobi.contrib.plugins.form_handlers.db_store.urls.'
'form_wizard_handlers')),
# ...
]
from django-fobi.
Please, tell me if it solved your problem so that I can close this.
from django-fobi.
Yes it is working now, thanks a lot for your time, that is my mistake, did not noticed missing of url for wizard, the exception message is quite different so confused.
from django-fobi.
Related Issues (20)
- Migrate to GitHub actions HOT 1
- is the project still maintained ? HOT 1
- missing locale HOT 1
- Support Django 4.0 HOT 2
- Input field desabled HOT 14
- Consolidate docs
- can only concatenate list (not "tuple") to list on python 3.10.6 and django 4.1 HOT 2
- Django 4.1 support HOT 6
- securing file uploads HOT 2
- Add DRF views for viewing submitted form data
- Class based view dashboard can be reached by anonymous HOT 3
- example data/migrations missing in quickstart and no demo site HOT 1
- The live demo is not working HOT 1
- Checkbox (select multiple) rendered incorrectly from form creation page HOT 13
- FileMultiple field HOT 1
- email and email confirm HOT 21
- RTL support HOT 3
- Bootstrap5 support HOT 4
- It seems to read a form name and form elements I need to make 2 API calls: one OPTIONS and one GET
- Is this project still active ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-fobi.