Skip to content

Commit 5bd3c7e

Browse files
stub for django_project
1 parent 401f532 commit 5bd3c7e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

pythonanywhere/django_project.pyi

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
from pathlib import Path
2+
3+
from pythonanywhere.project import Project
4+
from typing import Optional
5+
6+
class DjangoProject(Project):
7+
def download_repo(self, repo: str, nuke: bool) -> None: ...
8+
def create_virtualenv(self, django_version: Optional[str] = ..., nuke: bool = ...) -> None: ...
9+
def detect_requirements(self): ...
10+
def run_startproject(self, nuke: bool) -> None: ...
11+
settings_path: Path = ...
12+
manage_py_path: Path = ...
13+
def find_django_files(self) -> None: ...
14+
def update_settings_file(self) -> None: ...
15+
def run_collectstatic(self) -> None: ...
16+
def run_migrate(self) -> None: ...
17+
def update_wsgi_file(self) -> None: ...

0 commit comments

Comments
 (0)