viewflow / django-material

Material Design for Django
http://viewflow.io/
BSD 3-Clause "New" or "Revised" License
2.49k stars 425 forks source link

Django material not working on production #386

Closed huseyinbilgili closed 6 years ago

huseyinbilgili commented 6 years ago
INSTALLED_APPS = [
    'material', 
    'material.admin',
    'django.contrib.admin',

also here its my TEMPLATE

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [os.path.join(BASE_DIR, 'templates')],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',
            ],
        },
    },
]

i added django-material to installed apps and there is my requirements.txt for production

Django>=1.8,<2.
mysqlclient
django-crispy-forms
django-simple-history
django-ckeditor
gunicorn==19.7.1
gevent==1.2.2
django-filter
django-widget-tweaks
django-material

what is the problem my django material its working on local but not working on the production.(AWS)

kmmbvnr commented 6 years ago

It's unclear, what do you mean by "not working" Do you have an exception?

Did you run collectstatic/migrate etc?

Do you mean admin part that was dropped in 1.2.0? #373

huseyinbilgili commented 6 years ago

yes i did collectstatic and migrate. When i publish to server django-admin theme always coming default admin template not material theme but in my local django-material working fine. I'm wondering it can be about my django version or material version ?

kmmbvnr commented 6 years ago

Yep, see the changelog

huseyinbilgili commented 6 years ago

What version should be for django material and django-admin ? Which is the stable with each other

huseyinbilgili commented 6 years ago

Thx for help its all about django-material versions :+1: