[Answer]-Django recommended structure TastyPie

1👍

Here is very simple and efficient structure of tastypie api.

Projectname    
    app1
        api
            __init__.py
            resource.py
        models
            __init__.py
            model1.py
            model2.py
        migrations
            __init__.py
        __init__.py

    app2
        api
        models
        migrations
        __init__.py

    common
        __init__.py
        constant.py
        authentication.py
        commondata.py

    middleware
        __init__.pt
        cors.py

    projectname
        __init__.py
        settings.py
        urls.py
        wsgi.py

    manage.py
    Projectname.wsgi

0👍

Creating a new app for just resources does not make sense. I would go with having different resources in each app. Alternatively you can have them in /resource.

Leave a comment