dependabot[bot] on npm_and_yarn
Bump minimist from 1.2.5 to 1.2… (compare)
jquery.formset.js
is showing up in my sources. I'm not sure what's wrong.
CRUD ERROR!
I'm trying to implemnent a CRUD view
My model: Item
app/urls.pyurlpatterns = [
url('^$', generic.RedirectView.as_view(url='./itens/', permanent=False), name="index"),
url('^itens/', include(ItemViewSet().urls)),
]
Global Urlsurlpatterns = [
url(r'', include(frontend_urls)),
]
When I try to access the url /itens, I get the error:
Reverse for 'item_add' not found. 'item_add' is not a valid view function or pattern name.
what is my mistake?
Sorry for the relatively noob question - just trying to decode how to bolt things into an existing app. Django 1.11, Python 3, using MaterializeCSS 1.0 Alpha. I've cloned the demo over from Github. Looks like I replicate the whole tree under app Material into my project, replicate demo.py to get a material.base import and 3 class definitions as my own appname.py, put material, material.frontend and material.admin as INSTALLED_APPS up front in my apps settings.py and - is that it?
Just agonising over bits and bobs in the demo as it's still referencing jQuery in places, which I thought had gone away as a MaterializeCSS dependency. And wondering if I put the materialize/1.0.0-alpha.2 minified CSS and js includes off their CDN or use the ones left in the material/admin/css and /js directories?
Any help or guidance really appreciated.
pip install django-material
and then follow: http://docs.viewflow.io/material_frontend.html
Django 2.0 support
Drop Material Admin