I'm trying to incorporate django-robokassa into my project. When python manage.py migrate gives an error

ImportError: No module named south.db 

Django version 1.9.5, do not use South. How to solve a problem?

    1 answer 1

    The django-robokassa application uses South migration, not Django migration. If you are not using South, then just try: python manage.py syncdb

    Also, robokassa has changed the form submission URL, change in conf.py to:
    FORM_TARGET = u'https://auth.robokassa.ru/Merchant/Index.aspx'

    • Django 1.9 does not use syncdb, instead they are using migrate instead. Changed in Django 1.8 version - Peter Vasiliev
    • Then make migrations for django-robokassa: python manage.py makemigrations django-robokassa , and then migrate. You may have to first delete the migrations directory, which is for south. - betonimig
    • Everything earned thanks! - Peter Vasiliev
    • betonimig another question. Templates do not work. That is, when I make a request for a robokassa, I go to the test server, after when I choose it was successful or not, then the robokassa redirects to my website, / robokassa / success /, which should return the html page success.html or error.html. But these templates are not in the project django - robokassa. What to do? - Peter Vasiliev
    • Create your own. Add the robokassa directory to templates, and fail.html and success.html to it. Example file success.html: {% extends 'base.html' %}{% block content %}Оплата прошла успешно!{% endblock %} - betonimig