{"id":16889708,"url":"https://github.com/benoitc/dj-pages","last_synced_at":"2026-04-02T02:50:53.276Z","repository":{"id":1120391,"uuid":"992283","full_name":"benoitc/dj-pages","owner":"benoitc","description":"minimal content cms/renderer","archived":false,"fork":false,"pushed_at":"2010-12-13T10:39:29.000Z","size":600,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T11:52:30.709Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benoitc.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-10-16T10:49:35.000Z","updated_at":"2020-01-21T11:12:11.000Z","dependencies_parsed_at":"2022-07-18T18:42:22.052Z","dependency_job_id":null,"html_url":"https://github.com/benoitc/dj-pages","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitc%2Fdj-pages","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitc%2Fdj-pages/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitc%2Fdj-pages/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benoitc%2Fdj-pages/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benoitc","download_url":"https://codeload.github.com/benoitc/dj-pages/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244566948,"owners_count":20473451,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T16:58:31.077Z","updated_at":"2025-12-30T21:07:26.897Z","avatar_url":"https://github.com/benoitc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"dj-pages\n--------\n\nMinimal content renderer. Pages is a Django application that help the \ncreation from diffrent kind of content. \n\n\nRequirements\n------------\n\n- `Python \u003chttp://www.python.org\u003e`_ 2.x superior to 2.5 and Django\n- `Django \u003chttp://www.djangoproject.org\u003e`_  \u003e= 1.2\n- `Couchdbkit \u003chttp://www.couchdbkit.org\u003e`_ \u003e= 0.4.2\n- `CouchDB \u003chttp://couchdb.apache.org\u003e`_ \u003e= 1.0 \n\n\nInstallation\n------------\n\nBuild Apache CouchDB\n++++++++++++++++++++\n\nHere we build Apache CouchDB in development mode. We use the trunk version \nwaiting 0.11 is released::\n\n\t$ git clone git://github.com/benoitc/couchdb.git\n\t$ cd couchdb\n\t$ ./bootstrap\n\t$ ./configure \u0026\u0026 make \u0026\u0026 make dev\n\t\nLaunch couchdb :\n\n  $ ./utils/run \n\t\nDon't forget to install dependencies first : spidermonkey 1.7, icu4c \u0026 erlang. On debian/ubuntu systems do::\n\n\t$ apt-get install automake autoconf libtool help2man\n\t$ apt-get install build-essential erlang libicu-dev libmozjs-dev libcurl4-openssl-dev\n\nInstallation of dj-pages \n++++++++++++++++++++++++\n\nInstall from sources::\n\n  $ git clone git@github.com:benoitc/dj-pages\n  $ python setup.py install\n\nConfigure your Django Project\n-----------------------------\n\nHere we will show what to edit in your settings file. First you need to add\n`mt-compono` and `couchdbkit` to your lists of applications::\n\n  INSTALLED_APPS = (\n      ...\n      'couchdbkit.ext.django',\n      'revproxy',\n      'pages',\n  )\n  \nAnd allow register the CouchDB database associated::\n\n  COUCHDB_DATABASES = (\n       ('pages', \"http://127.0.0.1:5984/pages\"),\n  )\n\nAdd the fallback middleware. .This middleware process unkown urls and send them back to pages:\n\n  MIDDLEWARE_CLASSES = (\n      ...\n      'pages.middleware.PagesFallbackMiddleware',\n  )\n\nThen Edit your main `urls.py` file and add it to your pattern::\n\n  urlpatterns = pattern('',\n      ...\n      url('^', include('pages.urls')),\n  )\n\nthat's it.\n\npages media path\n----------------\n\nIf you want to serve pages media (needed for its admin), copy the `pages/media` folder where you want. You can even customize url by setting `MTCOMPONO_MEDIA_URL` in your settings file::\n\n  PAGES_MEDIA_URL = '/media/pages' # without trailing slash\n\nIn development you can configure the media root by settings `PAGES_MEDIA_ROOT`, but it's generally not needed.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoitc%2Fdj-pages","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenoitc%2Fdj-pages","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenoitc%2Fdj-pages/lists"}