-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Hello, thank you for this project that helped me a lot,
I'm using Django 1.11, I recently tried to use a molecule MolField in a django model and I got this error :
File "/opt/anaconda/lib/python3.6/site-packages/django_rdkit/models/fields.py", line 89, in formfield defaults = {'form_class': forms.CharField, 'strip': False, 'widget':forms.Textarea} NameError: name 'forms' is not defined
I corrected it by importing forms at the beggining of the file django_rdkit/models/fields.py :
from django import forms
Should it be corrected in the git repository ?
Metadata
Metadata
Assignees
Labels
No labels