Age | Commit message (Collapse) | Author |
|
Bumps [django](https://github.com/django/django) from 1.4 to 1.11.28.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/1.4...1.11.28)
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Use `create` instead of `get_or_create` because of a sqlite3
transaction error I was getting using Django 1.6.2.
Error output:
"Your database backend doesn't behave properly when "
django.db.transaction.TransactionManagementError:
Your database backend doesn't behave properly when autocommit is off.
Turn it on before using 'atomic'.
|
|
|
|
|
|
|
|
Fill in more information. Readying for distribution.
|
|
|
|
|
|
|
|
* Add more information about how the template tag works
* Modify the CSS example to be more explicit now that the
`.django-sneak-peek` class doesn't apply any styles of its own.
|
|
Add real text into the subsections describing different border & style
options.
|
|
|
|
Initially decided to use RDoc to be cheeky, but since there wasn't a
good way to add local images to the README using RDoc, opting for
Markdown instead so that I can include screenshots.
|
|
For use in the README.
|
|
Instead of globally setting styles for `.django-sneak-peek`, set those
styles previously defined on it on `.django-sneak-peek.default`. This
should make it easier to override styles and create new ones since
users won't have to set various `border-image`s to `none`.
|
|
Add more information, filling in sections about different border types,
and make a few edits.
|
|
Need a page to use for screenshots for the README. Decided to
integrate it into the example project.
* Create screenshots.html template
* Add route in urls.py
|
|
For better clarity.
|
|
Description that appears at the top of the README.
|
|
Add a section that describes how to give users permission to view
content designated as 'sneak peek'.
|
|
Still have some parts to fill in, but getting an outline going and
added some relevant sections already.
|
|
Following
https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
In reality I don't even know what this addition is for. But from what
I can gather it will help with distribution across Python versions.
|
|
|
|
|
|
* Improve markup
* Use slightly better test content
|
|
Now that we require quotes around the style argument, add quotes to
the default style.
|
|
Import `TemplateSyntaxError` directly.
|
|
For `display: inline-block` positioning.
|
|
Require the template tag argument to be quoted. This allows us to
specify multiple CSS class modifiers instead of just one.
|
|
Allow sneak peek to appear inline by adding the `.inline` modifier
class.
|
|
|
|
|
|
|
|
Use `.django-sneak-peek` now that we've changed the class in the
stylesheet so that we can have better namespacing.
|
|
* Remove bad glyphs from CSS file
* Change names of CSS and border image files
|
|
Include static files in package.
|
|
Use the permission we just created with our data migration to
conditionally display the sneak_peek-ed markup.
|
|
* Create empty sneak_peek_tag/models.py to appease South
* Create South data migration for sneak peek content_type and
permission
|
|
|
|
* Don't try to get 'request' from context since it isn't available
unless 'django.core.context_processors.request' is in the
TEMPLATE_CONTEXT_PROCESSORS
* Turns out that 'user' is already in context, so get it directly
instead of having to go through request
|
|
|
|
|
|
|
|
|
|
|
|
Put in a test sneak_peek template tag on the index page of the example
project.
|
|
Adds app to example project's INSTALLED_APPS.
|
|
|
|
Just the essentials so that I can install my package. Will fill in the
rest of the information later.
|
|
Includes:
* Template tag
* Static resources
|