Skip to main content

# w3blog version 0.5 #

w3blog is a simple blog engine for Django, with some focus on multilingual capabilities. It includes all of the basic features expected of a traditional Web log (also known as blog), as well as multilingual features, i.e. translations of blog posts which are delivered automatically in the user's preferred language using the internationalization capabilities of Django, enabling the possibility of targeting people from different countries in a single blog/site.

This django app is still a work in progress. More features will be added/completed in the near future. Currently the app's strings are translated only to English (en), Russian (ru), and Spanish (es).

To install, run "pip install w3blog". Currently tested to be compatible with Django 1.11 and 2.0.

## New in v0.5 ##

CSS and JS have been completely reworked to get rid of bloat (ie Bootstrap and JQuery), and provide a much nicer default look. Besides those improvements, new features include:

* An option to enable built-in dynamic load of more posts through ajax instead of the default good old pagination model. ('dynamic_load' = True).
* An option to use infinite scroll for dynamic load (more posts load automatically when scrolling to the bottom; "'dynamic_load' = True" and "'infinite_load' = True").
* Option to make the sidebar float (only for medium/big screen sizes) ('floating_sidebar' = True).
* Comments now include the date they were published (for some reason forgot to add that on previous versions).

If you encounter any errors or problems when using this Django app, please do make sure to open an issue on this project's Github page, or if you don't have Github account (and don't wish to create one), send me an email at contact@yaroslavps.com. Note: if you are using something like outlook (or any other big company email) my response email might end up in your spam folder or might be even blocked altogether by your email provider.

### Quick Start ###

1. Add "weblog" to your INSTALLED_APPS setting in your settings.py

2. Include the app as well as django-summernote in your project's urls.py; for example:

```python
url(r'^blog/', include('weblog.urls')),
url(r'^summernote/', include('django_summernote.urls')),
```

3. Migrate the models to the database by running "python manage.py migrate".

4. You can configure and customize the blog by adding and modifying to your liking/needs the following settings to your settings.py:

```python
WEBLOG_SETTINGS = {
'enable_comments': False,
'allow_anon_comments': False,
'multilingual': True,
'blog_title': 'Django-Weblog',
'base_template': 'weblog_base.html',
'show_author': True,
'use_authors_username': True,
'show_sidebar': True,
'show_categories': False,
'show_archive': True,
'posts_per_page': 10,
'dynamic_load': False, # New in version 0.5
'infinite_load': False, # New in version 0.5
'floating_sidebar': False, # New in version 0.5. Doesn't affect small screens (ie mobile devices, etc.)
'enable_rss': True,
'home_title': 'Welcome to the blog!',
}
```

5. Note that if you use your own base template, you will need to link "weblog/css/weblog.css" and "weblog/js/weblog.js" in your html head. Alternatively you can write your own custom css (or even js), or just extend the default css and js with your own. For reference you can check the project's templates and css in its Github page, especially if you want to rewrite completely the templates with your own.

Read more about it here: https://www.yaroslavps.com/weblog/python/w3blog-blog-engine/

Note: This package depends on the following python packages (besides Django and their dependencies): django-summernote

This project was previously named django-weblog, however, I had to renamed it due to there being an existing package with the same name in PyPI.

### Changelog ###

You can view a short summary of changes for each release in the releases section of the project's page on Github.

Note: If you had already made migrations by yourself for this app before version 0.5.2, you might notice that django is telling you that there are new unapplied migrations. Apply them as you usually would, and if a "Programming Error: column "x" exists in..." happens, run "python manage.py migrate --fake weblog".


Release files for w3blog 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for w3blog 0.5.2
File Size Uploaded
w3blog-0.5.2.tar.gz 30.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for w3blog 0.5.2
File Interpreter ABI Platform
w3blog-0.5.2-py3-none-any.whl Python 3 none any Details

Total release size: 76.2 kB

Release files / w3blog-0.5.2.tar.gz

Download URL w3blog-0.5.2.tar.gz
Size 30.3 kB
Tags Source
SHA-256 checksum
How to use checksums
455645b1324ab2be36a299071a85977f66f25b0bc8e5ee06608733d91e908d0e
BLAKE2b-256 checksum
How to use checksums
0fc5fa583cbc78d6e07e88331ac94674823f006a1aff8ef7da29e1a018370c3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.8

Release files / w3blog-0.5.2-py3-none-any.whl

Download URL w3blog-0.5.2-py3-none-any.whl
Size 45.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe34008ce9caab00d1add44116e4e8550b693871b7e10ba221f8c02e1dd93e84
BLAKE2b-256 checksum
How to use checksums
b6c43ac92480cf89a1052233a1f4bbfc1d0021780b15a135edfbe3a48dce1640
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.8

Release history Release notifications | RSS feed

This release

0.5.2 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page