Address

Qualified name: intranet.apps.users.models.Address

class intranet.apps.users.models.Address(*args, **kwargs)[source]

Bases: Model

Represents a user’s address.

street

The street name of the address.

city

The city name of the address.

state

The state name of the address.

postal_code

The zip code of the address.

NOTE: This model is no longer used because of privacy reasons.

Parameters:

Reverse relationships:

Parameters:

userproperties (Reverse OneToOneField from UserProperties) – The user properties of this address (related name of _address)

Methods

Attributes

city

Type: CharField

id

Type: AutoField

objects

postal_code

Type: CharField

state

Type: CharField

street

Type: CharField

userproperties

Type: Reverse OneToOneField from UserProperties

__str__()[source]

Returns full address string.