Hello this is my model:
from django.db import models

class Per(models.Model):
    dip = models.CharField(max_length=100)
    data_ini = models.CharField(max_length=100)
    data_fin = models.CharField(max_length=100)
    mot = models.CharField(max_length=500)
    data_rich= models.CharField(max_length=100)

and this is the forms:

from django.forms import ModelForm
from models import Per


class PermessiForm(ModelForm):
    class meta:
        model = Per

I get this error :

TypeError at /mostro_permesso/

'NoneType' object is not callable

Request Method:         GET
Request URL:    http://127.0.0.1:8000/mostro_permesso/
Exception Type:         TypeError
Exception Value:

'NoneType' object is not callable

can you tell me where is the error

Thanks

Luca
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to