matllubos / django-googleforms

GNU General Public License v3.0
6 stars 3 forks source link

GoogleForm' object has no attribute 'as_ul' #2

Open olimpo88 opened 7 years ago

olimpo88 commented 7 years ago

Could you help me? Surely I am feeling some error, when using its module

My model.py class Encuesta(models.Model): id_encuesta=models.AutoField(primary_key=True) form_code = GoogleFormCodeField((u'Form'), help_text=(u'Debe copiar la URL del formulario de google'), max_length=255) nombre = models.CharField(max_length=100, verbose_name=u'Nombre')

My view.py e=Encuesta.objects.get(id_encuesta=4) form = GoogleForm(e.form_code) print form.as_ul()