Skip to main content

# Spirit-User-Profile

Integrates Spirit user profile to your existing Django user model.

## What this does?

This will insert some fields in your existing User Table that Spirit requires to work properly.

## How?

I followed this [guide](http://django-authtools.readthedocs.org/en/latest/how-to/migrate-to-a-custom-user-model.html). If you don’t want to have yet another installed app (this one), you can follow that guide yourself. Since I created all the migrations for you, you just need to run some commands and you are done.

## Why?

The old way of joining with a profile table is going away in Django 1.7. This is not true, actually, the old get_profile() is going away. This is for a good reason, let’s say you have 4 third-party apps, all using profiles, it would require 4 extra joins to get all the user data.

Would not be easier/better to have all the fields in the same table?

## Dependencies

  • Spirit>=0.1.3

  • South

## Installing

  • Add spirit_user_profile to your INSTALLED_APPS

  • Add south to your INSTALLED_APPS

  • Add AUTH_USER_MODEL = ‘spirit_user_profile.User’ to your settings.py

Run:

python manage.py migrate –fake spirit_user_profile 0001 python manage.py schemamigration –auto spirit_user_profile python manage.py migrate spirit_user_profile

Follow the Spirit installation [guide](https://github.com/nitely/Spirit#installing-advanced).

## Copyright / License

Copyright 2014 [Esteban Castro Borsani](https://github.com/nitely).

Licensed under the [MIT License](https://github.com/nitely/Spirit/blob/master/LICENSE).

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Metadata

Release files for django-spirit-user-profile 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-spirit-user-profile 0.1.1
File Size Uploaded Provenance
django-spirit-user-profile-0.1.1.tar.gz 4.2 kB Without provenance Details

Release files / django-spirit-user-profile-0.1.1.tar.gz

Download URL django-spirit-user-profile-0.1.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a37f5a24adc53ab9c42fb5dc39441daf2e37532995380da03e4059cb9b35281c
BLAKE2b-256 checksum
How to use checksums
3b441e9227eb33d1fa8cbbd5ced5eaef0737746f68b0cf507f2e800b97476a5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-spirit-user-profile 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page