Skip to content

Django extension not migrated to the src layout #196

@abravalheri

Description

@abravalheri

When creating a django project using PyScaffold, the created folder structure doesn't follow PyScaffold 3.* src layout.

Steps to reproduce:

  • With PyScaffold > 3.0, do:
$ putup myproj --django
  • Check the generated file structure:
$ tree myproj
myproj
    ├── AUTHORS.rst
    ├── CHANGELOG.rst
    ├── docs
    │   ├── authors.rst
    │   ├── changelog.rst
    │   ├── conf.py
    │   ├── index.rst
    │   ├── license.rst
    │   ├── Makefile
    │   └── _static
    ├── LICENSE.txt
    ├── manage.py
  **├── myproj**
    │   ├── __init__.py
    │   ├── settings.py
    │   ├── urls.py
    │   └── wsgi.py
    ├── README.rst
    ├── requirements.txt
    ├── setup.cfg
    ├── setup.py
    ├── src
  **│   └── myproj**
    │       ├── __init__.py
    │       └── skeleton.py
    └── tests
        ├── conftest.py
        └── test_skeleton.py

    6 directories, 22 files

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions