Questions tagged [feincms]

A Django-based CMS with a focus on extensibility and concise code.

From the docs:

FeinCMS is an extremely stupid content management system. It knows nothing about content – just enough to create an admin interface for your own page content types. It lets you reorder page content blocks using a drag-drop interface, and you can add as many content blocks to a region (f.e. the sidebar, the main content region or something else which I haven’t thought of yet). It provides helper functions, which provide ordered lists of page content blocks. That’s all.

Source: FeinCMS

54 questions
2
votes
1 answer

FeinCMS Initial Installation: Templates

So I am trying to get FeinCMS up and running and I have it working on the backend but I cannot get a page to load: this is how my models.py is setup: Page.register_templates({ 'title': _('Standard template'), 'path': 'base.html', …
tareq
  • 1,329
  • 2
  • 11
  • 16
2
votes
1 answer

Feincms ApplicationContent overwrite context

If I add ApplicationContent to a region on a feincms page, how do I update the feincms_page's context? Use case Changing a feincms_page's title to the application content's title
user2298943
  • 632
  • 5
  • 20
2
votes
1 answer

FeinCMS, how to access attribute of a content_types parent object

So let's say I have a content_type RichTextContent which is registered to Page. Can I render attributes of the Page instance in the template of the RichTextContent content_type?
Sander van Leeuwen
  • 2,963
  • 2
  • 22
  • 31
2
votes
1 answer

migration from Django1.3 to Django1.4 results in feincms drag-n-drop issue

With Django 1.3 I was using feincms and mptt very successfully. I am finally getting around to updating to Django 1.4.1 plus the latest versions of feincms version 1.6.3 and mptt version 0.5.5 I am running into a problem where I have three items in…
Lao Meng
  • 21
  • 1
2
votes
2 answers

FilteredSelectMultiple widget on field feincms content type

I have a custom made content type in FeinCMS. class DownloadsContent(models.Model): title = models.CharField(max_length=200, verbose_name=_('title')) files = FileManyToMany(verbose_name=_('files')) The 'files' field is an manytomany which…
nelsonvarela
  • 2,310
  • 7
  • 27
  • 43
1
vote
1 answer

Django FeinCMS and page extensions issue

I'm experimenting with Page extensions and FeinCMS 1.2.1. I'd like to create this simple page extension: from django.db import models def register(cls, admin_cls): cls.add_to_class(models.TextField()) but I keep getting this…
Paolo
  • 20,112
  • 21
  • 72
  • 113
1
vote
1 answer

How can I retrieve data from a page?

I am using FeinCMS. I want to do some processing on a page object before it goes to the template for rendering. In my view I have the code : this_page = Page.objects.best_match_for_path(request.path) which correctly gets the page for the path I am…
jowan sebastian
  • 253
  • 2
  • 11
1
vote
0 answers

Django/FeinCMS ignores language/country specific url-name

we've got a Django (1.5.5) based application using FeinCMS (1.7.4). For a page formerly only the (general) en-based version was configured. Later specific configurations for en-us and en-ca were added, with different url-names (than used by the en…
dergab
  • 965
  • 7
  • 16
1
vote
1 answer

How can I store 3rd party package migrations in a Django project?

I'm using the page module in feincms and when I add extensions to my settings I'd like to be able to store the migrations in my git repo. There is some documentation on migrations in FeinCMS, but it looks incomplete, and I'm not able to get this…
demux
  • 4,544
  • 2
  • 32
  • 56
1
vote
1 answer

How can I subclass my ModelAdmins in a Django FeinCMS project?

I have a number of models that extend from feincms.models.Base, and use the FeinCMS item editor in the admin site (i.e. they all use feincms.admin.item_editor.ItemEditor as their ModelAdmin). The models have some shared functionality that I want…
seddonym
  • 16,304
  • 6
  • 66
  • 71
1
vote
0 answers

FeinCMS search rich text content data

I am working on an existing Django project that uses FeinCMS for the content management. I am trying to implement a 'Site Search'. Using Haystack and Whoosh I can happily search the standard Django models. However, when I try to use the same…
Ric
  • 57
  • 1
  • 7
1
vote
1 answer

download list with category ManyToManyField

I like a download list with all Files with the Category == 'download' in all available categories. (ManyToMany Field) >>>from feincms.module.medialibrary.models import MediaFile, Category >>>MediaFile.objects.filter(categories=1) #my download pk,…
Sascha Rau
  • 357
  • 3
  • 12
1
vote
4 answers

Error 'NoneType' object has no attribute '_default_manager' when I create a view of Model instance

I'm new in Django and I'm developing an app but I'm stuck in this Error. First I want to apologize for my English since is not my first language and then I hope I'm in the right place to ask for little help. I'm developing a website about…
1
vote
1 answer

django-cms getting the page context in an application hook

Consider this cms_app.py from django.utils.translation import ugettext_lazy as _ from cms.app_base import CMSApp from cms.apphook_pool import apphook_pool class FooHook(CMSApp): name = _("FooHook Plugin") urls =…
RabbitInAHole
  • 551
  • 1
  • 4
  • 13
1
vote
0 answers

Django + feincms. How to show self-formed list in admin interface?

Django with FeinCMS can show anything from tables and it looks like nice. But what if I have to show some data which is not present in a certain table? Here is my code: ## models.py ## ## This is my main class. class Application(models.Model): …
Andrew
  • 161
  • 2
  • 14