aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-02-11Bump django from 1.4 to 1.11.28 in /examples/djangoprojectdependabot/pip/examples/djangoproject/django-1.11.28dependabot[bot]
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>
2014-04-21sneak_peek_tag migration: change get_or_create to createHEADmasterTeddy Wing
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'.
2014-04-21setup.py: add GitHub URLTeddy Wing
2014-04-21MANIFEST.in: add CHANGELOGTeddy Wing
2014-04-21.gitignore: update with distribution & build filesTeddy Wing
2014-04-21Update setup.pyTeddy Wing
Fill in more information. Readying for distribution.
2014-04-21Add CHANGELOGTeddy Wing
2014-04-21MANIFEST.in: add README, LICENSE, screenshotsTeddy Wing
2014-04-21Add LICENSETeddy Wing
2014-04-21README: update Customising sectionTeddy Wing
* 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.
2014-04-21README: update Additional Options sectionTeddy Wing
Add real text into the subsections describing different border & style options.
2014-04-21README: add screenshots to Additional Options sectionTeddy Wing
2014-04-21README: convert from RDoc to MarkdownTeddy Wing
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.
2014-04-21Add screenshots of various border & style statesTeddy Wing
For use in the README.
2014-04-21sneak_peek CSS: set default style to use .default classTeddy Wing
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`.
2014-04-21README: update Additional Options sectionTeddy Wing
Add more information, filling in sections about different border types, and make a few edits.
2014-04-21Add page to example project for screenshotsTeddy Wing
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
2014-04-21README: make some edits to existing sectionsTeddy Wing
For better clarity.
2014-04-21README: add an overall descriptionTeddy Wing
Description that appears at the top of the README.
2014-04-21README: update to include User Permissions sectionTeddy Wing
Add a section that describes how to give users permission to view content designated as 'sneak peek'.
2014-04-21Add initial edition of READMETeddy Wing
Still have some parts to fill in, but getting an outline going and added some relevant sections already.
2014-04-20Add setup.cfgTeddy Wing
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.
2014-04-20Add an extra style to the example project index pageTeddy Wing
2014-04-20sneak_peek CSS: add descriptive commentsTeddy Wing
2014-04-20Update index HTML in example projectTeddy Wing
* Improve markup * Use slightly better test content
2014-04-20sneak_peek.py: surround default style with quotesTeddy Wing
Now that we require quotes around the style argument, add quotes to the default style.
2014-04-20sneak_peek.py: fix bug `template` not definedTeddy Wing
Import `TemplateSyntaxError` directly.
2014-04-20sneak_peek CSS: add .inline-block classTeddy Wing
For `display: inline-block` positioning.
2014-04-20sneak_peek.py: change first arg to use quotesTeddy Wing
Require the template tag argument to be quoted. This allows us to specify multiple CSS class modifiers instead of just one.
2014-04-20sneak-peek CSS: add .inline modifier classTeddy Wing
Allow sneak peek to appear inline by adding the `.inline` modifier class.
2014-04-20Add sneak-peek CSS file to example project base.htmlTeddy Wing
2014-04-20.gitignore: add example project static directoryTeddy Wing
2014-04-20example/settings.py: add STATIC_ROOTTeddy Wing
2014-04-20sneak_peek.py: change sneak-peek class nameTeddy Wing
Use `.django-sneak-peek` now that we've changed the class in the stylesheet so that we can have better namespacing.
2014-04-20Rename and clean up static filesTeddy Wing
* Remove bad glyphs from CSS file * Change names of CSS and border image files
2014-04-20Add MANIFEST.inTeddy Wing
Include static files in package.
2014-04-20sneak_peek.py: use permission for conditional displayTeddy Wing
Use the permission we just created with our data migration to conditionally display the sneak_peek-ed markup.
2014-04-20Add migration for sneak_peek permissionTeddy Wing
* Create empty sneak_peek_tag/models.py to appease South * Create South data migration for sneak peek content_type and permission
2014-04-20Add 'south' to example project settingsTeddy Wing
2014-04-20sneak_peek.py: fix bug getting userTeddy Wing
* 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
2014-04-20Enable Django admin in example projectTeddy Wing
2014-04-20gitignore SQLite databaseTeddy Wing
2014-04-20Add database settings to example projectTeddy Wing
2014-04-20Add requirements to package setup.pyTeddy Wing
2014-04-20Add South to example project requirements.txtTeddy Wing
2014-04-20Add sneak_peek to example project templateTeddy Wing
Put in a test sneak_peek template tag on the index page of the example project.
2014-04-20Add sneak_peek app to example project settingsTeddy Wing
Adds app to example project's INSTALLED_APPS.
2014-04-20Add sneak-peek to example project requirements.txtTeddy Wing
2014-04-20Add bare setup.pyTeddy Wing
Just the essentials so that I can install my package. Will fill in the rest of the information later.
2014-04-20Add sneak_peek appTeddy Wing
Includes: * Template tag * Static resources