Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Part of #3928 [Web Examples] Add First Class Python Support #4107

Merged
merged 25 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
400cc78
[WIP] First Test Phase
himanshumahajan138 Dec 11, 2024
a3ece20
Added Test Todo-Flask
himanshumahajan138 Dec 11, 2024
61d3fd5
Final Code Updated
himanshumahajan138 Dec 12, 2024
f138ddd
Merge branch 'main' into issue-3928
himanshumahajan138 Dec 12, 2024
764a460
Merge branch 'main' into issue-3928
himanshumahajan138 Dec 13, 2024
b47387a
Merge branch 'main' into issue-3928
himanshumahajan138 Dec 13, 2024
c15f409
Merge branch 'main' into issue-3928
himanshumahajan138 Dec 14, 2024
79f20b5
Merge branch 'main' of https://github.com/com-lihaoyi/mill into issue…
himanshumahajan138 Dec 15, 2024
3555233
testing
himanshumahajan138 Dec 15, 2024
47b87a7
Merge branch 'main' into issue-3928
himanshumahajan138 Dec 16, 2024
032c507
Merge branch 'main' into issue-3928
himanshumahajan138 Dec 16, 2024
14e7057
Final Changes
himanshumahajan138 Dec 16, 2024
8533ff6
Merge branch 'main' into issue-3928
himanshumahajan138 Dec 16, 2024
49c19c3
Merge branch 'main' into issue-3928
himanshumahajan138 Dec 16, 2024
4ad263a
Fixtures
himanshumahajan138 Dec 16, 2024
762026e
Merge branch 'main' into issue-3928
himanshumahajan138 Dec 17, 2024
b0d3dd0
Merge branch 'main' into issue-3928
himanshumahajan138 Dec 17, 2024
4fba1ae
Merge branch 'main' into issue-3928
himanshumahajan138 Dec 18, 2024
4566126
Merge branch 'main' into issue-3928
himanshumahajan138 Dec 20, 2024
6151bf0
Merge branch 'main' into issue-3928
himanshumahajan138 Dec 21, 2024
fb606eb
Flask Updation
himanshumahajan138 Dec 21, 2024
044c761
Update app.py
himanshumahajan138 Dec 22, 2024
8fc2a02
Final Updation
himanshumahajan138 Dec 22, 2024
e033073
Final Updates
himanshumahajan138 Dec 23, 2024
7b63b5e
Merge branch 'main' into issue-3928
himanshumahajan138 Dec 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
testing
  • Loading branch information
himanshumahajan138 committed Dec 15, 2024
commit 355523359cf0089e5b2ac486ae878ed90d37be53
5 changes: 5 additions & 0 deletions example/pythonlib/web/4-todo-django/build.mill
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ object todo extends PythonModule {
/** Usage

> ./mill todo.run makemigrations
...Migrations for 'main'...
...Create model Task...

> ./mill todo.run migrate
...Apply all migrations: admin, auth, contenttypes, main, sessions...
...Running migrations...
...OK...

> ./mill todo.run test main -v 2 # using inbuilt `django test`, `main` is the app name, `-v 2` is verbosity level 2
...
Expand Down
4 changes: 4 additions & 0 deletions example/pythonlib/web/4-todo-django/todo/src/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": BASE_DIR / "db.sqlite3",
},
'TEST': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:',
}
}

Expand Down
Loading