Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
KawowyDzienniczek
Project
Project
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
Rafal
KawowyDzienniczek
Commits
2f1edcbd
Commit
2f1edcbd
authored
Jul 01, 2016
by
Rafal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add teampltes and static
Connect landing page to view
parent
c567c1d8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
6 deletions
+11
-6
main.css
KawowyDzienniczek/App/page/static/css/main.css
+0
-0
index.html
KawowyDzienniczek/App/page/templates/page/index.html
+5
-0
views.py
KawowyDzienniczek/App/page/views.py
+2
-0
settings.py
KawowyDzienniczek/KawowyDzienniczek/settings.py
+2
-1
urls.py
KawowyDzienniczek/KawowyDzienniczek/urls.py
+2
-0
index.html
index.html
+0
-5
No files found.
main.css
→
KawowyDzienniczek/App/page/static/css/
main.css
View file @
2f1edcbd
File moved
KawowyDzienniczek/App/page/templates/page/index.html
0 → 100644
View file @
2f1edcbd
<html>
<head>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/css/main.css"
>
</head>
</html>
\ No newline at end of file
KawowyDzienniczek/App/page/views.py
View file @
2f1edcbd
from
django.shortcuts
import
render
# Create your views here.
def
coming_soon_page
(
request
):
return
render
(
request
,
'page/index.html'
,
{})
\ No newline at end of file
KawowyDzienniczek/KawowyDzienniczek/settings.py
View file @
2f1edcbd
...
...
@@ -40,7 +40,8 @@ INSTALLED_APPS = [
'django.contrib.staticfiles'
,
'rest_framework'
,
'rest_framework.authtoken'
,
'App.user'
'App.user'
,
'App.page'
]
REST_FRAMEWORK
=
{
...
...
KawowyDzienniczek/KawowyDzienniczek/urls.py
View file @
2f1edcbd
...
...
@@ -18,6 +18,7 @@ from django.conf.urls.static import static
from
django.contrib
import
admin
from
rest_framework
import
routers
from
App.page.views
import
coming_soon_page
from
App.user
import
views
as
user_views
from
rest_framework.authtoken
import
views
as
token_view
from
KawowyDzienniczek
import
settings
...
...
@@ -33,5 +34,6 @@ urlpatterns = [
url
(
r'^api-auth/'
,
include
(
'rest_framework.urls'
,
namespace
=
'rest_framework'
)),
url
(
r'^api-token-auth/'
,
token_view
.
obtain_auth_token
),
url
(
r'^admin/'
,
include
(
admin
.
site
.
urls
)),
url
(
r'^$'
,
coming_soon_page
,
name
=
'post_list'
),
]
+
static
(
settings
.
MEDIA_URL
,
document_root
=
settings
.
MEDIA_ROOT
)
index.html
deleted
100644 → 0
View file @
c567c1d8
<html>
<head>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"main.css"
>
</head>
</html>
\ No newline at end of file
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