Django paypal_ipn table does not exist

I am trying to implement django-paypal (dcramer version) with IPN and although I get a notification it is responding with a 500 error. I checked my debug log and I saw this message:

DatabaseError: (1146, "Table 'myproject.paypal_ipn' doesn't exist")

none of the tutorials I found mentioned anything about the pypal_ipn table. I also did syncdb and south migrations, but no table was created.

What am I doing wrong?

this is what I get with syncdb:

Synced:
 > django.contrib.auth
 > django.contrib.contenttypes
 > django.contrib.sessions
 > django.contrib.sites
 > django.contrib.messages
 > django.contrib.staticfiles
 > debug_toolbar
 > grappelli
 > filebrowser
 > tinymce
 > south
 > avatar
 > django.contrib.admin
 > notification

Not synced (use migrations):
 - paypal.standard.ipn

$ python manage.py schemamigration main --auto
Nothing seems to have changed.
$ python manage.py migrate main
Running migrations for main:
- Nothing to migrate.
 - Loading initial data for main.
No fixtures found.

      

+3


source to share


3 answers


Try it python manage.py migrate

. This should also carry the PayPal app.



(Moved from comment to this to close the question. Apparently this did the trick.)

+5


source


In my case, I had to port the application explicitly



python manage.py migrate paypal.standard.ipn

      

0


source


If Mike S's solution doesn't work, just move ipn (this is what worked for me)

python manage.py migrate ipn

      

0


source







All Articles