On Tue, Aug 26, 2014 at 12:22 PM, Przemek Ciborowski <cibo...@gmail.com> wrote:
>
> So to be more clearly, let create new django project with one application for 
> example with name networks.
> Add those lines to the networks/models.py:
>
> class Vlan(models.Model):
>
>     name = models.CharField(max_length=30, name='Vlan name')

"name" is not an argument for CharField - do you mean verbose_name?

I suspect this error causes Vlan.name to not be defined.

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFHbX1K34Lr8AXHBqdd9QqdGC%2BS7nMU1MjqZW9yYeu%2Bn%3DTDbrA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to