Opened 14 years ago

Closed 14 years ago

#324 closed defect (worksforme)

IPAddressField fails

Reported by: Bless Owned by: Adrian Holovaty
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: no UI/UX: no

Description (last modified by Adrian Holovaty)

.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 14 years ago by Adrian Holovaty

Description: modified (diff)

(Cleaned formatting in description.)

comment:2 Changed 14 years ago by Jacob

Resolution: worksforme
Status: newclosed

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