Fantomas42 / django-blog-zinnia

Simple yet powerful and really extendable application for managing a blog within your Django Web site.
http://django-blog-zinnia.com/
BSD 3-Clause "New" or "Revised" License
2.11k stars 730 forks source link

All tests passing #566

Open kbhalerao opened 4 years ago

kbhalerao commented 4 years ago

What is the purpose of your pull request?

Proposed changes

Modified the branch to make the following changes:

  1. Reconciled language symbols to match Django 3.0's specification (https://github.com/django/django/blob/master/django/conf/global_settings.py)
  2. Replaced {% load staticfiles %} with {% load static %} (https://docs.djangoproject.com/en/dev/releases/3.0/#features-removed-in-3-0, deprecated in 2.1)
  3. Fixed a couple tests testing for the visbility and existence of an Entry based on a timestamp - the test dates were not appropriate for the tests, and
  4. Fixed a test in tests_views, where only 3 queries were being used instead of 5.

Warning

Before submitting a pull request make sure you have:

Eyap53 commented 3 years ago

Hi, i believe you also should rename the locale folders (in zinnia/locale/) to reflect your changes of language symbols.