Code Monkey home page Code Monkey logo

Comments (4)

gavinballard avatar gavinballard commented on August 21, 2024

Thanks Daniel! I haven't tried this library out with Django 1.8 I'm afraid (all of my stuff is still using 1.7 and in one sad case 1.3).

I'll probably do a pass at 1.8 and 1.9 compatibility when 1.9 is released in December as I don't have a lot of time to allocate to this right now.

In the meantime, if you do find a workaround for this issue please post it here and let me know. It does seem like to sort of thing that should be able to be overridden with a flag in the call to migrate.py.

from django-shopify-auth.

danielmcquillen avatar danielmcquillen commented on August 21, 2024

Hmm. Not sure if this completely resolves the issue, but I ran a

./manage.py makemigrations my_app

And then the migrations, which gave me the cryptic message:

Migrations for 'my_app':
  0001_initial.py:
    - Create model MyAppShopUser
(productdiagrams)> ./manage.py migrate
Operations to perform:
  Synchronize unmigrated apps: staticfiles, shopify_auth, messages
  Apply all migrations: admin, my_app, contenttypes, auth, sessions
Synchronizing apps without migrations:
  Creating tables...
    Running deferred SQL...
  Installing custom SQL...
Running migrations:
  Rendering model states... DONE
  Applying my_app.0001_initial... OK
The following content types are stale and need to be deleted:

    auth | user

Any objects related to these content types by a foreign key will also
be deleted. Are you sure you want to delete these content types?
If you're unsure, answer 'no'.

    Type 'yes' to continue, or 'no' to cancel: yes

but seemed to work!

from django-shopify-auth.

gavinballard avatar gavinballard commented on August 21, 2024

Thanks Daniel! That will have to do for the moment :).

from django-shopify-auth.

danielmcquillen avatar danielmcquillen commented on August 21, 2024

Thanks Gavin. Great stuff!

from django-shopify-auth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.