Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python_django_2025
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Patryk Czarnik
python_django_2025
Commits
f8545b4e
Commit
f8545b4e
authored
May 16, 2025
by
Patryk Czarnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
podpięcie formularza
parent
865551d9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
views.py
aplikacja/views.py
+3
-0
urls.py
webowy/urls.py
+1
-0
No files found.
aplikacja/views.py
View file @
f8545b4e
...
...
@@ -10,6 +10,9 @@ def index(request:HttpRequest) -> HttpResponse:
def
hello
(
request
):
return
HttpResponse
(
'Hello world'
)
def
formularz
(
request
):
return
render
(
request
,
'formularz.html'
)
def
podaj_czas
(
request
):
dt
=
datetime
.
now
()
return
HttpResponse
(
dt
,
content_type
=
'text/plain;charset=UTF-8'
)
...
...
webowy/urls.py
View file @
f8545b4e
...
...
@@ -30,4 +30,5 @@ urlpatterns = [
path
(
"rozmowa"
,
rozmowa
),
path
(
"kalkulator"
,
kalkulator
),
path
(
"kalkulator_post"
,
kalkulator_post
),
path
(
"formularz"
,
formularz
),
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment