# Django-ESI Help?

**URL:** <https://forums.eveonline.com/t/django-esi-help/261948>\
**Category:** Third Party Developers\
**Created:** [August 21, 2020, 10:19pm UTC](https://forums.eveonline.com/t/django-esi-help/261948 "2020-08-21T22:19:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Huwara\_Hutter](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/huwara_hutter/32/225334_2.png) [@Huwara\_Hutter](https://forums.eveonline.com/u/Huwara_Hutter)\
**Post date:** [August 21, 2020, 10:19pm UTC](https://forums.eveonline.com/t/django-esi-help/261948/1 "2020-08-21T22:19:59Z")

</div>

Hi Everyone,

I wondered if I could get some help with django-esi? I have used python and Django before but I am not the world’s best web app developer - I’m using this as a project to improve my skills, and hopefully one day reduce the amount f copy and pasting between spreadsheets!

I’m following the instructions at the github readme page ([here](https://gitlab.com/allianceauth/django-esi#usage-in-views)) and I get the following error.

```auto
IntegrityError at /sso/callback/ 
NOT NULL constraint failed: esi_token.refresh_token

```

Looking into the Django admin interface, the callback entry for this attempt (the only entry) has no token associated with it.

 ![Screenshot 2020-08-21 at 23.04.50](https://global.discourse-cdn.com/eveonline/original/3X/f/5/f51cbb723cde9dad145090f403200f7c3115a7d3.png)

I’d be really grateful for any help!

---

<div class="post-metadata">

**Author:** ![Golden\_Gnu](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/golden_gnu/32/459734_2.png) [@Golden\_Gnu](https://forums.eveonline.com/u/Golden_Gnu)\
**Post date:** [August 22, 2020, 10:18am UTC](https://forums.eveonline.com/t/django-esi-help/261948/2 "2020-08-22T10:18:29Z")

</div>

In case you don’t get an answer here.

You may have better luck asking in the official thread:

> [@snake Django Technology Megathread](https://forums.eveonline.com/t/django-technology-megathread/214533):
>
> A megathread for all things Django related to EVE Online. Packages All packages below are Django applications that can be included in your project to help build EVE Online integrations. The traditional way of including Django apps is adding them to INSTALLED\_APPS, and then including their urls.py. [See how to make reusable applications on the Django documentation](https://docs.djangoproject.com/en/3.0/intro/reusable-apps/). Name Description [Django ESI](https://forums.eveonline.com/t/django-esi-django-app-for-easy-access-to-the-esi-api-and-eve-sso/214215) Django application built for ESI functionality using Bravado [Django EVE Connector](https://github.com/KryptedGaming/django-eveonline-connector.git) ESI & SS…

or making an issue on the GitLab page:

> **[Issues · Alliance Auth / django-esi · GitLab](https://gitlab.com/allianceauth/django-esi/-/issues)**
>
> Django app for accessing the EVE Swagger Interface (ESI) - https://django-esi.readthedocs.io/en/latest/

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [November 20, 2020, 10:18am UTC](https://forums.eveonline.com/t/django-esi-help/261948/3 "2020-11-20T10:18:34Z")

</div>

Closed on November 20, 2020, 10:18am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
