-
Notifications
You must be signed in to change notification settings - Fork 562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin template #320
Plugin template #320
Conversation
2. Add template plugins README.md
Hi @tkliuxing, thanks for the extensive work!! I will have a look at it after releasing 0.0.24 on Tuesday. We have been cleaning up migrations to start a blank sheet from 0.1. The idea of templates could be on the roadmap for 0.1, but I feel sort of that it would be better to discuss things before implementing them :) Regarding the idea of templates... Can the template itself refer to other plugins? And if not, should it? Can it refer to other templates? Is what we are doing actually not just to embed another article, but parametrize the contents of the article? Let me know what you think, and if you follow what I mean. On a more practical level... I know that tests are lacking in many departments. But in order to ensure that your work is well-maintained, would you care to write a couple of basic tests? They can be in I see that there are already 3 migrations... I can ensure that the migrations are squashed and included for both South and django.db.migrations. |
use it to everywhere:
This markdown extension inherit from About tests and migrations, this is what I do next job. Known Issues: PS: My native language is Chinese, I can't use English freely. I'm so sorry about that. |
2. Add django migrations. 3. Squashed south_migration.
2. fixed bug
2. Add template plugins README.md
2. Add django migrations. 3. Squashed south_migration.
2. fixed bug
…-wiki into plugin_template
I write a tests , and passed, on python2.7.8 and python3.4.2. |
Merge from django-wiki master
…o use this template without import. 2. Fixed template plugin markdown tag parse error. 3. Improved template plugin list page. 4. Add template plugin admin page.
2. Fixed template plugin parse value bug.
…emplate Conflicts: wiki/locale/zh_CN/LC_MESSAGES/django.mo wiki/locale/zh_CN/LC_MESSAGES/django.po
…emplate * commit '566ceb4e310cbbc7aee3a99a4e1d476ef2053d6c': (75 commits) Update news Fix django-wiki#496: Clear image floating before heading 1 levels Fix django-wiki#428: Do not call str() Fix django-wiki#426: Add article raw id field to url path admin and auto-populate articleforobject Add reasonable upper bounds to deps, test latest markdown with tox Cleanup after Markdown: Remove <p> tag from surrounding <figure> handle ValueError coming from querystring input Add Django 1.9 to tests and fix errors update testproject settings and urls for django 1.9 fix testproject.urls upgrade testproject for dj 1.9, update requirements of tests also disable signals in notifications plugin when loading fixtures Refactor all model save() to signals. Add tests. Fixes loaddata issues django-wiki#501. remove pypandoc for generating readme.rst, it's already there Fix migrations django-wiki#472 and update test database fix link for wikipedia extensions add README contents to docs finally some news Move badges to the top remove README.md and add pandoc-generated README.rst ...
Variables, Templates
django-wiki implementation of the MediaWiki template language.
Usage