Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Anyone has implemented django signup/login/password_reset using django material? any sample code around?
Earlier I had seen some documentation on how to apply material admin on Django app but that document is missing now
Ian Waring
Hiya, it's at docs.viewflo.io
Admin is there too. I'm just in the middle of doing the sign up with a MaterializeCSS rendered login
Ian Waring
Had to explode out the form.as_p directive into component parts (matching the form fields it iterates through) to put MaterializeCSS formatting around, including fields to show error text. Using raw MaterializeCSS for this rather than the forms work. For what it's worth, I also have the mod to use email address as the username in place, but the admin interface works fine with that.
@ianwaring thank you for your response.
as per this issue, i thought django-admin is no more supported or works
Ian Waring
That's fine, agree with the author. I do hope he keeps forms and django-material in place though :-)
Samuel Barbosa
hey guys, anybody can help me? I need must use form tabs a page. How I can use this?
Huzaifa Ahmad Khan
guys can any one tell me why i am getting this error?
'TOXENV' is not recognized as an internal or external command,
operable program or batch file.
Mikhail Podgurskiy
@CoderHuzaifa sounds like you are trying to run demo on windows
you can just check it life at demo.viewflow.io
Christopher Valerio
Hi, I'm trying to compile the sass that is on the repository
I just downloaded materialcss and ran sass --watch sass:styles
it compiles without errores but when I add it to a them it loses some styles
I was testing just color changes
I'm using django-material 1.1.1
@kmmbvnr - I am seeing double select lists recently. Is this an issue with django-material or did I screw something else up?
anyone seen this behavior?
Malek salem
need help with django models :)
im creating a model for posts like social media posts
i need a great way to implement the post types by that i
mean that user could post a video or image or gif with text
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!