Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Hi All
I'm new to Django-Material
I tried to follow the tutorial on the official website but it's not working...

i am new to django-material and follow up following instructions:- git clone https://github.com/viewflow/django-material.git
cd django-material

TOXENV=py36-dj111 tox -- python manage.py migrate --settings=demo.settings
TOXENV=py36-dj111 tox -- python manage.py loaddata demo/fixtures/* --settings=demo.settings
TOXENV=py36-dj111 tox -- python manage.py runserver --settings=demo.settings

at TOXENV 1st command i didn't get any result there.
it stuck there
hi , is there any one know that how we include our newly created app in installed appps
hi is there any one know how to include class basesd views in modelviewset inherited class
Elias Coutinho


Is there any solution to achieve an autocomplete using a select?

Jonathan Guzmán
@saleor217 I'm having a similar problem, after cloning and running those commands, I get an error about not founding python 3.6 interpreter
hey i'm new in django-material can anyone help me with the layout creation like the example in viewflow.io
Naoyuki Tai
I created the smallest app to see the material.frontend, and cannot get anything going. I'm about to give up. I had a few apps before switching to use material.frontend and somewhat working but I decided to give it a shot. To start small, I stripped down to one model, and one view, and still I cannot get it going.

Request Method: GET
Request URL: http://nefertiti:3333/meets/

Django Version: 2.2
Python Version: 3.6.8
Installed Applications:
Installed Middleware:


File "/home/ntai/sand/cworg/py3/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  34.             response = get_response(request)

File "/home/ntai/sand/cworg/py3/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  115.                 response = self.process_exception_by_middleware(e, request)

File "/home/ntai/sand/cworg/py3/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  113.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/home/ntai/sand/cworg/py3/lib/python3.6/site-packages/django/views/generic/base.py" in view
  71.             return self.dispatch(request, *args, **kwargs)

File "/home/ntai/sand/cworg/py3/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapper
  45.         return bound_method(*args, **kwargs)

File "/home/ntai/sand/cworg/py3/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
  21.                 return view_func(request, *args, **kwargs)

File "/home/ntai/sand/cworg/py3/lib/python3.6/site-packages/material/frontend/views/list.py" in dispatch
  515.         return super(ListModelView, self).dispatch(request, *args, **kwargs)

File "/home/ntai/sand/cworg/py3/lib/python3.6/site-packages/material/frontend/views/list.py" in dispatch
  344.         return handler(request, *args, **kwargs)

File "/home/ntai/sand/cworg/py3/lib/python3.6/site-packages/material/frontend/views/list.py" in get
  302.         context = self.get_context_data()

File "/home/ntai/sand/cworg/py3/lib/python3.6/site-packages/material/frontend/views/list.py" in get_context_data
  505.             kwargs['add_url'] = reverse('{}:{}_add'.format(opts.app_label, opts.model_name))

File "/home/ntai/sand/cworg/py3/lib/python3.6/site-packages/django/urls/base.py" in reverse
  90.     return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))

File "/home/ntai/sand/cworg/py3/lib/python3.6/site-packages/django/urls/resolvers.py" in _reverse_with_prefix
  660.         raise NoReverseMatch(msg)

Exception Type: NoReverseMatch at /meets/
Exception Value: Reverse for 'meets_add' with no arguments not found. 1 pattern(s) tried: ['meets/$add/$']
I have no clue where this "_add" is coming from, and what I'm missing.
Naoyuki Tai
I was able to make the simplest app/module to work but as I add some more, the similar error again shows up, and at this point, the trouble is not worth the effort I put in. Bummer, I like how easy it is to bring up the tables but other than "quick start", I cannot find anything.
Anil Kumar Reddy
Hi everyone
Paul Siorai Waldorf
I was wondering how I'd go about setting a default value for a value in a form field?
Naoyuki Tai
@siorai It has nothing to do with django material. It's just a standard way of setting initial value. If the view/form has an object, the value is taken from the object (assuming it's edit view). If you want to override it, you need to override "get_initial(self) on the view class if you are using class based view.
Paul Siorai Waldorf
@ntai sorry, I should have been more specific, is there a way to do it from within the material.Layout Class ?
Paul Siorai Waldorf
@ntai but yes, you're correct, thank you so much.
Lily Perera
Hello girls , I'm looking for a job as a junior django developer or join a project to gain experience, I hope for your help
@CoderHuzaifa 'TOXENV' is not recognized as an internal or external command,
operable program or batch file. have u solve this ?
Hi everyone, i need to make a filter dropdown like this picture. Can you support me, please!