Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Christopher Valerio
@freexploit
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
chr1s3sw0rthy
@chr1s3sw0rthy
image.png
@kmmbvnr - I am seeing double select lists recently. Is this an issue with django-material or did I screw something else up?
image.png
chr1s3sw0rthy
@chr1s3sw0rthy
anyone seen this behavior?
Malek salem
@maleksal
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
eudson
@eudson
Hi All
I'm new to Django-Material
I tried to follow the tutorial on the official website but it's not working...
saleor217
@saleor217
hi

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
saleor217
@saleor217
hi , is there any one know that how we include our newly created app in installed appps
?
saleor217
@saleor217
hi is there any one know how to include class basesd views in modelviewset inherited class
Elias Coutinho
@CoutinhoElias

Hello,

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

Jonathan Guzmán
@SnowCr4sh_gitlab
@saleor217 I'm having a similar problem, after cloning and running those commands, I get an error about not founding python 3.6 interpreter
xakash
@xakash
hey i'm new in django-material can anyone help me with the layout creation like the example in viewflow.io
Naoyuki Tai
@ntai
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:
['material',
 'material.frontend',
 'django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.humanize',
 'meets.apps.MeetsConfig',
 'django.contrib.flatpages',
 'django.contrib.redirects',
 'django.contrib.sites']
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',
 'material.frontend.middleware.SmoothNavigationMiddleware',
 'material.frontend.middleware.TurbolinksMiddleware']



Traceback:

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
@ntai
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
@anilkumarreddyn
Hi everyone
Paul Siorai Waldorf
@siorai
I was wondering how I'd go about setting a default value for a value in a form field?
Naoyuki Tai
@ntai
@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
@siorai
@ntai sorry, I should have been more specific, is there a way to do it from within the material.Layout Class ?
Paul Siorai Waldorf
@siorai
@ntai but yes, you're correct, thank you so much.
Lily Perera
@clicly
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
Fid
@fidaullahGdex
@CoderHuzaifa 'TOXENV' is not recognized as an internal or external command,
operable program or batch file. have u solve this ?
tungvv318
@tungvv318
image.png
Hi everyone, i need to make a filter dropdown like this picture. Can you support me, please!