{"id":34565610,"url":"https://github.com/gregplaysguitar/djangocms2000","last_synced_at":"2025-12-24T09:04:05.352Z","repository":{"id":652209,"uuid":"294715","full_name":"gregplaysguitar/djangocms2000","owner":"gregplaysguitar","description":"Flexible Django CMS with edit-in-place capability. Master branch is stable","archived":false,"fork":false,"pushed_at":"2019-05-05T08:31:10.000Z","size":4247,"stargazers_count":8,"open_issues_count":9,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-10T19:24:39.199Z","etag":null,"topics":["cms","django"],"latest_commit_sha":null,"homepage":"http://gregbrown.co.nz/code/djangocms2000/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gregplaysguitar.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-09-01T21:26:33.000Z","updated_at":"2019-05-05T08:31:12.000Z","dependencies_parsed_at":"2022-07-05T06:02:21.345Z","dependency_job_id":null,"html_url":"https://github.com/gregplaysguitar/djangocms2000","commit_stats":null,"previous_names":[],"tags_count":8,"template":null,"template_full_name":null,"purl":"pkg:github/gregplaysguitar/djangocms2000","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregplaysguitar%2Fdjangocms2000","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregplaysguitar%2Fdjangocms2000/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregplaysguitar%2Fdjangocms2000/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregplaysguitar%2Fdjangocms2000/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gregplaysguitar","download_url":"https://codeload.github.com/gregplaysguitar/djangocms2000/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gregplaysguitar%2Fdjangocms2000/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27999324,"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","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cms","django"],"created_at":"2025-12-24T09:03:37.128Z","updated_at":"2025-12-24T09:04:05.347Z","avatar_url":"https://github.com/gregplaysguitar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"djangocms2000 is a flexible Django CMS with edit-in-place capability.\n\n\nGETTING STARTED:\n================\n\nRequirements\n------------\n1. [Django,](https://www.djangoproject.com) version 1.4 or higher\n2. [sorl.thumbnail](https://github.com/sorl/sorl-thumbnail) version 10+, or\n   [easy_thumbnails](https://github.com/SmileyChris/easy-thumbnails) version 2.3+\n   (optional, required for automatically resizing cms images)\n3. [importlib](https://pypi.python.org/pypi/importlib), for python \u003c 2.7\n\nInstallation\n------------\n1. Run `./setup.py install` to install the cms. Alternately, you can symlink or move the\n   `cms` directory onto your path.\n2. Add `'cms'` to `INSTALLED_APPS`\n3. Add `'cms.urls'` to your `ROOT_URLCONF` conf, i.e.\n\n        (r'^cms/', include('cms.urls')),\n\n4. Ensure `'django.core.context_processors.request'` is present in your\n   `TEMPLATE_CONTEXT_PROCESSORS` setting\n5. Ensure `'django.template.loaders.app_directories.load_template_source'` is present in\n   your `TEMPLATE_LOADERS` setting\n6. Optional: Install [sorl.thumbnail](https://github.com/sorl/sorl-thumbnail) or\n   [easy_thumbnails](https://github.com/SmileyChris/easy-thumbnails) as per the\n   relevant documentation if you want to use resized cms images\n7. Optional: add `'cms.middleware.CMSFallbackMiddleware'` to your middleware classes if\n   you want to be able to add new pages via Django's admin.\n8. Optional: add `{% cms_editor %}` to the bottom of your base template to enable sitewide\n   in-place editing (use `{% load cms_editor %}` to load)\n\nUsage\n-----\n1. Use `{% load cms_tags %}` to enable the cms tags in a template/\n2. Use `{% cmsblock LABEL [format=FORMAT] %}` to create an editable text block.\n   FORMAT can be 'plain' (default) or 'html'.\n3. Use `{% cmsimage LABEL [geometry=GEOMETRY crop=CROP] %}` to create editable images.\n   GEOMETRY and CROP (both optional) correspond to the sorl.thumbnail's\n   [geometry](http://thumbnail.sorl.net/template.html#geometry) and\n   [crop](http://thumbnail.sorl.net/template.html#crop) options, or\n   easy_thumbnails\n   [size and crop](http://easy-thumbnails.readthedocs.io/en/2.1/usage/#thumbnail-options)\n   options. If not specified, the original image will be displayed.\n\nJinja2 compatibility\n---------------------------\n\nAdd the functions in `cms.jinja2_env` to your jinja2 environment. For example:\n\n\n    from jinja2 import Environment\n    import cms.jinja2_env\n\n    env = Environment()\n    env.globals.update(cms.jinja2_env.template_globals)\n\nBasic usage examples:\n\n    {{ cms_block('intro', filters='linebreaks') }}\n    {{ cms_block('content', format='html') }}\n    {{ cms_block('site-intro', site=True) }}\n    {{ cms_image('resized-image', '200x200') }}\n    {{ cms_image('cropped-image', '200x200', crop=True) }}\n    {{ cms_image('raw-image') }}\n\nCustom image rendering can be achieved via the renderer argument, which can be\ndefined as a jinja2 macro - i.e.\n\n    {% macro image_as_bg(img) %}\n      \u003cdiv class=\"image\" style=\"background-image: url({{ img.url }})\"\u003e\u003c/div\u003e\n    {% endmacro %}\n    {{ cms_image('bg-image', '200x200', renderer=image_as_bg) }}\n\n\nUpgrading from 1.x to 2.x\n-------------------------\n1. First make sure you are running the latest 1.x series tag (see [here](https://github.com/gregplaysguitar/djangocms2000/tags)).\n   Refer to notes.markdown for pre-1.0 migration instructions.\n2. If you're using [South](http://south.aeracode.org/), you may need to fake the first\n   migration, ie.\n\n       ./manage.py migrate cms 0001_initial --fake\n\n   (If not using South, you'll need to modify your db to match the new schema by hand.)\n3. The `{% cmsextra %}` tag becomes `{% cms_editor %}`, and now requires a separate import,\n   `{% load cms_editor %}`.\n4. The `'markdown'` block format has been removed, and the default is now `'plain'`.\n   `format` is also now a keyword argument, e.g. `{% cmsblock 'text' format='html' %}`.\n5. The `format` argument has been removed from `{% cmsimage ... %}` and its variants,\n   since the new extended syntax renders it obsolete.\n\nKeeping cms content in a separate database\n-----------------------------------------\nCMS database content can be kept separate from the rest of the database. To\nenable, set `CMS_DB_ALIAS` to point to a secondary database and add\n`'cms.db_router.CMSRouter'` to your `DATABASE_ROUTERS` setting. For example,\nyou may want to store CMS content in an sqlite database which can be easily\ncommitted to version control. CMS media, by default, is stored in the `cms`\nsubfolder of `MEDIA_ROOT`.\n\n\nSee reference.markdown for more info\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregplaysguitar%2Fdjangocms2000","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregplaysguitar%2Fdjangocms2000","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregplaysguitar%2Fdjangocms2000/lists"}