Commit Graph

50 Commits

Author SHA1 Message Date
Tom Christie
d373b3a067 Decouple views and resources 2011-05-04 09:21:17 +01:00
Tom Christie
8756664e06 emitters -> renderers 2011-05-02 19:49:12 +01:00
Tom Christie
93aa065fa9 emitters -> renderers 2011-04-28 19:54:30 +01:00
Tom Christie
5921e5c84e Fix up ModelResource issues 2011-04-27 18:53:54 +01:00
Tom Christie
5a59f339c1 Urg. Fixing broken merge 2011-04-27 18:44:21 +01:00
Tom Christie
1e1c4f85fc Pulling marko's test fixes 2011-04-27 18:29:12 +01:00
Tom Christie
da60f68f50 Merge previous checkins 2011-04-27 18:20:29 +01:00
Tom Christie
028851bfa1 Fix up tests and examples after refactoring 2011-04-27 18:07:28 +01:00
markotibold
116a9ee824 Stole some code from djangorestframework/runtests/runcoverage.py so that coverage is also implemented for the examples. Because Jenkins looks for a coverage.xml file for all defeined projects in tox.ini we need it to pass the tests. 2011-04-27 15:07:25 +02:00
markotibold
391560e69c The test was bad. It expected 11 snippets while the view made sure (as designed) that there would not be more than 10 snippets stored on disk. 2011-04-27 14:29:59 +02:00
markotibold
31bfdbeb1a reverse on a a sorted list which was laerady reversed is rather pointless :) 2011-04-27 14:28:48 +02:00
markotibold
9473d17dd6 Omitting all the superfluous tests. Later on we might want a nicer way to specify which apps to test, because they are now hardcoded in runtests.py. (Listdir doesn't do the trick, tried that already :-) ) 2011-04-27 13:40:46 +02:00
tom christie tom@tomchristie.com
3d15adaeb1 Fixes #35 - Import json from django's built-in package (Does cleverness in determing best lib to use) 2011-04-26 20:20:31 +01:00
Tom Christie
762a52edde Fix some compat issues with json/simplejson 2011-04-25 04:50:28 +01:00
tom christie tom@tomchristie.com
8845b281fe Only use xmlrunner if running under hudson 2011-03-30 21:39:38 +01:00
Tom Christie
3acedec771 Fix some examples 2011-03-22 22:48:59 +00:00
markotibold
b4a076c822 fixing compat with py25 2011-03-20 11:56:43 +01:00
markotibold
d866f2177e fix compat with python 2.5 2011-03-20 10:37:38 +01:00
markotibold
e3b08c7f74 All should work fine now on jenkins. For some reason Tox with jenkins and env names of the form platform-djangoversion-examples results in an OSError Permission denied. No clue why. 2011-03-20 01:52:18 +01:00
markotibold
d168f42b13 testing jenkins 2011-03-20 01:34:24 +01:00
markotibold
9215197327 Adding examples to tox. Appears quite useful cause some example tests are broken. 2011-03-19 03:04:22 +01:00
markotibold
ecb82b0318 Refactoring and added another test for blog-posts. Finally got eclipse setup properly with virtualenvs (code analysis). Also I think I get Bitbuckets workflow now. 2011-03-11 12:47:16 +01:00
tom christie tom@tomchristie.com
9ed34be766 markos pygments tests 2011-03-10 08:12:50 +00:00
markotibold
f7f001542a tests.py: the response needed json deserialization. I guess this is the default serialization for responses.
views.py: Implements #28 Pygments examples should be datetime sorted
2011-03-09 10:39:45 +01:00
tom christie tom@tomchristie.com
c25f8f8427 fix #27 2011-03-09 08:50:56 +00:00
markotibold
f88d8193a8 Test implemented for #28 Pygments examples should be datetime sorted
models.py is needed if we want to put tests in tests.py (see first line of models.py)
2011-03-09 00:26:20 +01:00
markotibold
32be058195 Implemented test for blog-post rotation.
Had to turn off existing tests inside tests.py because they seem broken:(
2011-03-08 21:54:00 +01:00
markotibold
177e666fc2 BlogPosts > 10 rotation implemeneted
Latest Modelresource example is broken. Required attribute should be set to form, not model. Is fixed.
2011-03-06 13:26:19 +01:00
tom christie tom@tomchristie.com
60206e5288 ./examples/modelresourceexample/models.py 2011-03-03 09:02:41 +00:00
tom christie tom@tomchristie.com
67c48f758f Fix kwargs in url conf to be more consistent, also fixes broken blog posts example (every blog post showed all comments) 2011-02-19 17:55:32 +00:00
tom christie tom@tomchristie.com
d8285c2d49 Fix status import 2011-02-19 13:54:55 +00:00
tom christie tom@tomchristie.com
57b3a372f2 Move status codes into seperate module 2011-02-19 10:47:26 +00:00
tom christie tom@tomchristie.com
805aa03ec1 Yowzers. Final big bunch of refactoring for 0.1 release. Now support Django 1.3's views, admin style api is all polished off, loads of tests, new test project for running the test. All sorts of goodness. Getting ready to push this out now. 2011-02-19 10:26:27 +00:00
tom christie tom@tomchristie.com
a8bcb2edc6 Missing import 2011-02-06 22:28:03 +00:00
tom christie tom@tomchristie.com
4e15632875 Updated resourceexample with seperate form.py 2011-02-01 23:07:55 +00:00
tom christie tom@tomchristie.com
6ce5b643fb Added resourceexample, moved simpleexample to modelresourceexample 2011-02-01 22:37:51 +00:00
tom christie tom@tomchristie.com
e198165989 Tests for MSIE accept header munging 2011-02-01 21:05:49 +00:00
tom christie tom@tomchristie.com
9024c2e94e Going live 2011-01-31 08:41:21 +00:00
tom christie tom@tomchristie.com
42f2f9b40d Rename to django-rest-framework, get simpleexample working 2011-01-30 18:30:39 +00:00
tom christie tom@tomchristie.com
8a470f031e Minor changes to examples and docs 2011-01-30 16:51:06 +00:00
tom christie tom@tomchristie.com
250ab0f609 Lots of docs, trying to tidy up examples... 2011-01-30 11:00:20 +00:00
Tom Christie
40f47a9fb3 Minor bit of tidy up (all the stuff I noticed when demoing to francis) 2011-01-28 17:42:57 +00:00
Tom Christie
2e9fd9c6b9 Minor fixups on pygments example 2011-01-28 09:14:04 +00:00
tom christie tom@tomchristie.com
e9168b508b Login/Logout and FlyWheel API link in HTML emitter - Add templates, quote next value, only use login/logout if settings.LOGIN_URL and settings.LOGOUT_URL are in urlconf 2011-01-27 21:19:25 +00:00
tom christie tom@tomchristie.com
216baa551f Login/Logout and FlyWheel API link in HTML emitter 2011-01-27 21:09:25 +00:00
tom christie tom@tomchristie.com
d38f7f3ef7 Fix broken merge 2011-01-26 21:09:08 +00:00
tom christie tom@tomchristie.com
9adb965126 content type tunneling 2011-01-26 21:06:40 +00:00
tom christie tom@tomchristie.com
8b89d7416c Content Type tunneling 2011-01-26 20:31:47 +00:00
tom christie tom@tomchristie.com
6807cf014c Added pygments_api example 2011-01-26 08:58:09 +00:00
tom christie tom@tomchristie.com
4100242fa2 Sphinx docs, examples, lots of refactoring 2011-01-23 23:08:16 +00:00