Opened 10 years ago

Closed 10 years ago

#324 closed defect (worksforme)

IPAddressField fails

Reported by: Bless Owned by: adrian
Component: Database layer (models, ORM) Version: 1.0
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description (last modified by adrian)

.I've a problem when I try enter an IP address.

Example model:

    p = interfaces.Interface(ip="")
    SyntaxError: invalid syntax

i get point to the 3rd character always

Django-r502 Python-2.3.5 sqlite-3.2.1 pysqlite-2.0.3

Change History (2)

comment:1 Changed 10 years ago by adrian

  • Description modified (diff)

(Cleaned formatting in description.)

comment:2 Changed 10 years ago by jacob

  • Resolution set to worksforme
  • Status changed from new to closed

This works for me (Django 505 + sqlite); it's a syntax error elsewhere in your model. If you can't find it, please post to the django-users list or ask in IRC.

Note: See TracTickets for help on using tickets.
Back to Top