Django templates and views
I am in a bit of a jam here. I am doing a simple conversion of a website, it has no content special, 3 pages (cv/about/projects) and is a bit of a web portfolio.

I want to use CKEditor to enable editing of the pages via the admin interface.
I also want to be able to use the Django templates.

When create the Pages from the CK-edit-interface and add content into the 'content'-field I am not able to access the pages as templates. 

The code I think is important for my question:

models.py:

    from django.db import models
    from ckeditor.fields import HTMLField
		
    class Page(models.Model):
      title =  models.CharField(max_length=30)
      content = HTMLField(blank=True, verbose_name='HTML version')
      def __unicode__(self):
          return self.title


views.py:

    def cv(request):
      cv = Page.objects.filter(id=2)
      content = ([p.content for p in cv])
    	  return HttpResponse(content)


urls.py:

    url(r'^cv$', cv),

I read about Context & loader to make pages dynamic using templates, so I wrote this view:

views.py:

    from django.template import Context, loader
    
    def about(request):
      about = Page.objects.filter(id=1)
      t = loader.get_template('about.html')
      ct = Context({
      'about': about
      })
      return HttpResponse(t.render(ct))

But then I need to update the pages via their respective .html file and the CKEdit-interface does not *reach* my pages. Anyone know what I got to refactor, add to be able to use the Django Templates to edit my pages? (Using the {% block content %}{% endblock %} ) *While still being able to use the CKEditor to edit the content of these pages.*
Django templates and views
===

I am in a bit of a jam here. I am doing a simple conversion of a website, it has no content special, 3 pages (cv/about/projects) and is a bit of a web portfolio.

I want to use CKEditor to enable editing of the pages via the admin interface.
I also want to be able to use the Django templates.

When create the Pages from the CK-edit-interface and add content into the 'content'-field I am not able to access the pages as templates. 

The code I think is important for my question:

models.py:

    from django.db import models
    from ckeditor.fields import HTMLField
		
    class Page(models.Model):
      title =  models.CharField(max_length=30)
      content = HTMLField(blank=True, verbose_name='HTML version')
      def __unicode__(self):
          return self.title


views.py:

    def cv(request):
      cv = Page.objects.filter(id=2)
      content = ([p.content for p in cv])
    	  return HttpResponse(content)


urls.py:

    url(r'^cv$', cv),

I read about Context & loader to make pages dynamic using templates, so I wrote this view:

views.py:

    from django.template import Context, loader
    
    def about(request):
      about = Page.objects.filter(id=1)
      t = loader.get_template('about.html')
      ct = Context({
      'about': about
      })
      return HttpResponse(t.render(ct))

But then I need to update the pages via their respective .html file and the CKEdit-interface does not *reach* my pages. Anyone know what I got to refactor, add to be able to use the Django Templates to edit my pages? (Using the {% block content %}{% endblock %} ) *While still being able to use the CKEditor to edit the content of these pages.*