Opened 19 years ago

Closed 19 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:

meta.IPAddressField('ip'),
    p = interfaces.Interface(ip="192.168.1.17")
                                   ^
    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 by Adrian Holovaty, 19 years ago

Description: modified (diff)

(Cleaned formatting in description.)

comment:2 by Jacob, 19 years ago

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