I have a view that displays object information when the correct URL is
provided however I would like to create a similar view that returns
url information from the record that is located next.
So in essence take the info from my first view, list/order it in some
way preferably by date and return t
Sorted. The get absolute url had not been set and the ordering of urls
was incorrect.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email
I am having issues with get_absolute_url in my django templates when
using django page cms. It returns an empty string and does not link to
my required page.
I have the following Models, URLs templates and views
Models
class Body(models.Model):
...
url = models.SlugField(unique=True, help_text='
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this gro
I have the following code that fails to display object images. But
displays normal images fine.
My Model
class News(models.Model):
title---
image = models.ImageField(upload_to='images')
body
Template tag coding
from django import template
register = template.Library()
from -
What do you have in your settings.py?
Make Sure you have the following configs
TINYMCE_JS_URL (default: settings.MEDIA_URL + 'js/tiny_mce/
tiny_mce.js')
TINYMCE_JS_ROOT (default: settings.MEDIA_ROOT + 'js/tiny_mce')
TINYMCE_DEFAULT_CONFIG (default: {'theme': "simple", 'relative_urls':
False})
I installed Django tiny mce however i am getting a normal text area in
my admin. Can anyone help me to correct this to a rich text area where
i can access text formatting?
Any help would be greatly appreciated. Here are my settings.py
import os
PROJECT_DIR = os.path.dirname(__file__)
D
7 matches
Mail list logo