Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Behr, Svenja
Django_Blog
Commits
3ab6a5ef
Commit
3ab6a5ef
authored
Jun 30, 2020
by
Behr, Svenja
Browse files
Merge remote-tracking branch 'origin/master'
parents
50610ea2
82890ebb
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
3ab6a5ef
...
...
@@ -43,10 +43,20 @@ Setting the state to 3 would hide the article, but allow comments to it.
### Slug
This is where you can reach your article by. For example, if you wrote "example-1",
you can call http://127.0.0.1:8000/
s
ample-1 to see the details view of it.
you can call http://127.0.0.1:8000/
ex
ample-1 to see the details view of it.
If you call a slug which does not exist, you will receive a 404 error message.
### Login
In the upper right is a login button. You can use the superuser login:
*
Login: admin
*
Password: blog1234
You can create new users in the admin panel. If the user gets the attribute "Staff / Mitarbeiter-Status"
the user can login in the admin panel (there will be also a link to the admin panel in the nav bar).
Blogs with status "Blog nur für User" and "Blog nur für User mit Kommentar" are only accessible from logged in users.
## Setup
### Prepare system
Load these requirements by
...
...
@@ -64,6 +74,8 @@ Load these requirements by
*
zipp==3.1.0
*
django-ckeditor==5.9.0
You can also use the requirements.txt in the repository.
**Hint**
: We installed the basic project enviorment by PyCharm using a Django project as default.
After that, only these components needs to be loaded:
*
django-bootstrap4==2.0.1
...
...
Write
Preview
Supports
Markdown
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