Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Validate IP format in Session #130

Open
yohanboniface opened this issue Jun 22, 2016 · 0 comments
Open

Validate IP format in Session #130

yohanboniface opened this issue Jun 22, 2016 · 0 comments
Assignees
Milestone

Comments

@yohanboniface
Copy link
Contributor

Using an IPField.

flyusfly pushed a commit that referenced this issue Jul 21, 2016
   . Add a new IPAddressField type.
   . Update IP type from CharField to IPAddressField.
   . Add a new Session factory test to know if a session can be instanciated.
   . Add 2 session tests (IP valid  & IP not valid test).
flyusfly pushed a commit that referenced this issue Jul 21, 2016
   . Move session tests from test_models to test_session.
   . Re-write valid/unvalid IP Address session tests.
flyusfly pushed a commit that referenced this issue Jul 21, 2016
flyusfly pushed a commit that referenced this issue Jul 21, 2016
flyusfly pushed a commit that referenced this issue Jul 21, 2016
flyusfly pushed a commit that referenced this issue Jul 22, 2016
   - As defined in ban/auth/models.py, IPAddressField is not mandatory.
flyusfly pushed a commit that referenced this issue Jul 22, 2016
   . Create an empty session factory object without ip definition
      (IPAddressField is not mandatory).
flyusfly pushed a commit that referenced this issue Jul 24, 2016
   . Add a new IPAddressField type.
   . Update IP type from CharField to IPAddressField.
   . Add a new Session factory test to know if a session can be instanciated.
   . Add 2 session tests (IP valid  & IP not valid test).
flyusfly pushed a commit that referenced this issue Jul 24, 2016
   . Add a new IPAddressField type.
   . Update IP type from CharField to IPAddressField.
   . Add a new Session factory test to know if a session can be instanciated.
   . Add 2 session tests (IP valid  & IP not valid test).
flyusfly pushed a commit that referenced this issue Jul 25, 2016
   . Add a new IPAddressField type.
   . Update IP type from CharField to IPAddressField.
   . Add a new Session factory test to know if a session can be instanciated.
   . Add 2 session tests (IP valid  & IP not valid test).
@ebuard ebuard added this to the prod2 milestone May 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants