Skip to content
This repository was archived by the owner on May 23, 2020. It is now read-only.

Commit 6c8638d

Browse files
committed
Released v.3.5 beta
1 parent 798ced8 commit 6c8638d

File tree

1,330 files changed

+2228
-29812
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,330 files changed

+2228
-29812
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
*.pyc
2-
db.sqlite3
2+
db.sqlite3

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
### v.3.5
2+
* Implement Standard [PEP8](https://www.python.org/dev/peps/pep-0008/) for Python.
3+
* Implement CBV (Class Bassed View).
4+
* Migrated to [Python 3.5](https://docs.python.org/3/)
5+
* Migrated to [Django 1.10](https://docs.djangoproject.com/en/1.10/)
6+
* Migrated [Django wp-admin](https://github.com/barszczmm/django-wpadmin) to [Django suit](https://github.com/darklow/django-suit).
7+
* Migrated [Django Ckeditor](https://github.com/django-ckeditor/django-ckeditor) to [Django Redactor](https://github.com/douglasmiranda/django-wysiwyg-redactor).
8+
* Added [Django nocaptcha recaptcha](https://github.com/ImaginaryLandscape/django-nocaptcha-recaptcha) for contact form.
9+
* Added Page for tranding posts by visit.
10+
* Added Feature export and import using [Django Import Export](https://github.com/django-import-export/django-import-export)
11+
* Changed Gallery Upload to only once attachment field.
12+
* Added custom template for Error page, and much more...
13+
114
### v.3.4
215

316
* Fixed MultipleObjectsReturned

LICENSE

Lines changed: 88 additions & 89 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 73 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,111 +1,111 @@
1-
# Django-Blog-Python-Learning
1+
Django-Blog-Python-Learning
2+
-------
23

3-
Release Source Code of Django Blog Python Learning v.3.0
4+
Release Source Code of Django Blog Python Learning v.3.5
45

5-
```
6-
Name : Django Blog Python Learning
7-
Created By : Agus Makmun (Summon Agus)
8-
Blog : bloggersmart.net - python.web.id
9-
License : GNU GENERAL PUBLIC LICENSE Version 2, June 1991
10-
Repository : https://github.com/agusmakmun/Django-Blog-Python-Learning
11-
Modified from : https://github.com/arocks/qblog - Django 1.7 - Arun Ravindran
12-
```
6+
### Demo:
7+
- [https://python.web.id](https://python.web.id)
138

14-
> This repository modified from old project of django blog at https://github.com/arocks/qblog with Django 1.7. Thanks so much for it. and in this `Django Blog Python Learning v.3.0` gets big changes with much feature added.
9+
### Features
10+
11+
- Django Suit
12+
- Django Wysiwyg Redactor
13+
- Django disqus for comments.
14+
- Face 90% bootstrap.
15+
- Admin Site: User, Post, Page, Author, Tag & Gallery.
16+
- Pagination posts, Sitemap page, Search posts page, Display posts under tags, Display posts under Author.
17+
- Related posts
18+
- Next and previous for post.
19+
- sitemap.xml, feed
20+
- Contact form.
21+
- About author in the botom of posts.
22+
- Visitor Counter
23+
- much more...
1524

16-
### Demo:
17-
- [https://python.web.id](https://python.web.id)
25+
### Instalation
1826

19-
### Update and Commits
27+
I assume you already setup your django development with virtual enviroment (virtualenv).
2028

21-
- https://github.com/agusmakmun/Django-Blog-Python-Learning/commits/master
29+
**1. Create virtual enviroment and activate it.**
2230

23-
### Stack Problem
31+
```
32+
$ virtualenv --python=/usr/bin/python3 yourenv
33+
$ source bin/activate
34+
```
2435

25-
- https://python.web.id/tag/django/
26-
- https://github.com/agusmakmun/Some-Examples-of-Simple-Python-Script/tree/master/Django
36+
**2. Cloning this project**
2737

28-
### Features
29-
30-
- django-wpadmin
31-
- django-ckeditor
32-
- django disqus for comments.
33-
- face 90% bootstrap.
34-
- admin site, user, post, page, author, tags & gallery dan files.
35-
- pagination posts, sitemap page, results query, display posts under tags.
36-
- related posts
37-
- read more posts
38-
- next and previous for post.
39-
- show all posts under tags.
40-
- sitemap.xml, feed, sitemap page.
41-
- contact form.
42-
- search box, used for { body, title, and keywords }
43-
- widget all tags, recent comments & recent posts.
44-
- about author in the botom of posts.
45-
- print page
46-
- show ip visitor
47-
- display article under author.
48-
- much more...
38+
```
39+
$ git clone [email protected]:agusmakmun/Django-Blog-Python-Learning.git
40+
```
4941

50-
### ChangeLog
42+
**3. Install all requirements**
5143

52-
* https://github.com/agusmakmun/Django-Blog-Python-Learning/blob/master/CHANGELOG.md
44+
> If you getting an error, `error: command 'i686-linux-gnu-gcc' failed with exit status 1`
45+
> please install first the python3-dev
46+
> using command `sudo apt-get install python3-dev` for all-deb, or use different method.
47+
> This probelm specialy for `pip3 install psycopg2`
48+
> For more, please checkout this answer: http://stackoverflow.com/a/11094752/6396981
5349
54-
### Prequirements:
50+
```
51+
$ pip3 install -r requirements.txt
52+
```
53+
54+
**4. Database migrations**
55+
56+
```
57+
$ ./manage.py makemigrations
58+
$ ./manage.py migrate
59+
```
60+
61+
**5. Run the server**
5562

5663
```
57-
Django==1.8.5
58-
Pillow==3.0.0
59-
django-ckeditor==5.0.2
60-
django-disqus==0.5
61-
django-wpadmin==1.7.4
62-
funcsigs==0.4
63-
mock==1.3.0
64-
pbr==1.8.0
65-
postgres==2.2.0
66-
psycopg2==2.6.1
67-
six==1.9.0
68-
wsgiref==0.1.2
64+
$ ./manage.py runserver
6965
```
66+
-------
7067

7168
### Screenshot:
7269

7370
#### Homepage
7471

75-
<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/homepage.png"/>
72+
![Homepage](__screenshot/1_homepage.png "Homepage")
7673

77-
#### Post Detail
74+
#### Detail Post
7875

79-
<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/post.png"/>
76+
![Detail Post](__screenshot/2_detail_post.png "Detail Post")
8077

81-
#### Related Post, Author, Next & Previous Post, and Disqus Comments
78+
#### Admin Dashboard _(using django suit)_
8279

83-
<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/related%20post%2C%20author%20and%20disqus%20comment.png"/>
80+
![Admin Dashboard](__screenshot/3_admin.png "Admin Dashboard")
8481

85-
#### Search Post under Query
82+
#### All Posts on the Admin Dashboard & _Included Django Import Export_
8683

87-
<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/search%20query.png"/>
84+
![All Posts on the Admin Dashboard & Included Django Import Export](__screenshot/4_admin_posts.png "All Posts on the Admin Dashboard & Included Django Import Export")
8885

89-
#### Sitemap Page
86+
#### Tags Filter and Redactor Editor
9087

91-
<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/sitemap%20page.png"/>
88+
![Tags Filter and Redactor Editor](__screenshot/5_admin_post_editor.png "Tags Filter and Redactor Editor")
9289

93-
#### Contact Form
90+
#### Gallery File & Images
9491

95-
<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/contact%20form.png">
92+
![Gallery](__screenshot/6_admin_gallery.png "Gallery")
9693

97-
#### Admin Dashboard <i>(using django-wpadmin)</i>
94+
### Update and Commits
9895

99-
<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/admin%20dashboard.png">
96+
- https://github.com/agusmakmun/Django-Blog-Python-Learning/commits/master
10097

101-
#### All Posts in Admin
98+
### Stack Problem
10299

103-
<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/admin%20blog%20entry.png">
100+
- https://python.web.id/tag/django/
101+
- https://github.com/agusmakmun/Some-Examples-of-Simple-Python-Script/tree/master/Django
102+
103+
104+
### ChangeLog
104105

105-
#### Tags Filter and Ckeditor
106+
* [CHANGELOG](CHANGELOG.md#v35)
106107

107-
<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/admin%20tags%20filter%20and%20ckeditor.png">
108108

109-
#### All Gallery images and file
109+
### License
110110

111-
<img src="https://raw.githubusercontent.com/agusmakmun/Django-Blog-Python-Learning/master/__screenshot/admin%20gallery%20and%20files.png">
111+
* [MIT](LICENSE)

__screenshot/1_homepage.png

703 KB
Loading

__screenshot/2_detail_post.png

505 KB
Loading

__screenshot/3_admin.png

137 KB
Loading

__screenshot/4_admin_posts.png

164 KB
Loading
363 KB
Loading

__screenshot/6_admin_gallery.png

158 KB
Loading

0 commit comments

Comments
 (0)