Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crispy tag's template_pack argument should be in ('bootstrap', 'uni_form', 'bootstrap3', 'bootstrap4') #13

Open
mjakinowittering opened this issue Dec 5, 2017 · 1 comment

Comments

@mjakinowittering
Copy link

Hello,

New to crispy-forms-materialize. Unfortunately I'm following down at the first hurdle and get this error message:

crispy tag's template_pack argument should be in ('bootstrap', 'uni_form', 'bootstrap3', 'bootstrap4')

I have the following installed with pip:

  • arrow==0.10.0
  • behave==1.2.5
  • behave-django==1.0.0
  • certifi==2017.11.5
  • chardet==3.0.4
  • crispy-forms-materialize==0.2
  • Django==1.11.6
  • django-crispy-forms==1.7.0
  • django-dirtyfields==1.3
  • django-materialize-css==0.0.1
  • idna==2.6
  • parse==1.8.2
  • parse-type==0.4.2
  • python-dateutil==2.6.1
  • pytz==2017.3
  • PyYAML==3.12
  • requests==2.18.4
  • restless==2.1.1
  • simplejson==3.12.0
  • six==1.11.0
  • urllib3==1.22

and believe I should have settled all the requirements.

I have this in settings.py to select the template:

CRISPY_TEMPLATE_PACK = 'materialize_css_forms'

and importing these module as INSTALLED_APPS:

  1. 'materialize',
  2. 'crispy_forms',
  3. 'crispy_forms_materialize',

Any assistance would be welcome. I'm guessing that crispy_forms_materialize isn't being registered as an option. Please let me know if I can provide more information.

Thanks,
Matthew

@nibon
Copy link

nibon commented Dec 12, 2017

CRISPY_ALLOWED_TEMPLATE_PACKS = ('bootstrap', 'uni_form', 'bootstrap3', 'bootstrap4', 'materialize_css_forms', )
CRISPY_TEMPLATE_PACK = 'materialize_css_forms'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants