posting programmaticaly on a Django blog

2007-05-16 Thread Tool69
Hi, I would like to now if it's possible to make a Python script (one argument a text file name) witch will upload a post on a basic blog (asking for title and post itself, with options: image, template language). If so, what should I study ? Thanks. --~--~-~--~~~-

Unknown column error when I add a field

2006-09-25 Thread Tool69
Hi, I'm totally new to django, I've made a little blog application and my original template is like this one: class News(models.Model): title = models.CharField(maxlength=255, verbose_name="Titre du billet") text = models.TextField(verbose_name="Contenu") keywords = models.CharField(m

Re: Unknown column error when I add a field

2006-09-25 Thread Tool69
Thanks to all, I'm sorry for the late, but I cannot see my post before. I solved the problem with your help, see you, 6TooL9 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this grou

Choosing a format for built-in comments

2006-10-12 Thread Tool69
Hi, I've made a little blog app, but i'm not satisfied with django's free-comment. In fact, I would like the user to choose an entry format, (like in my AdminPanel) : (X)HTML, ReST, Markdown or TexTile. How can I simply implement this? I'm actually a Django newbie, so don't blame me if the answer

Re: Choosing a format for built-in comments

2006-10-14 Thread Tool69
Hi Waylan, Thanks for pointing me this site, I've learned a lot. The problem is that I'm using the built-in freecomment, so if I need to add a field I'm obliged to change the original Django code in \django\contrib\comments. Is there any problem(s) with this ? --~--~-~--~~---

Template tags

2006-10-19 Thread Tool69
Hi, I followed the B-List article to write better template tags: http://www.b-list.org/weblog/2006/06/07/django-tips-write-better-template-tags So, I've made a blog_posts.py file : --- from django.template import Library, Node from django.db

Re: Template tags

2006-10-20 Thread Tool69
Thanks Zak, that solved the problem. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send emai

Problems with site domain in Admin interface

2007-01-05 Thread Tool69
Hi, I needed to make some changes in my Admin as I saw I've not set the right Site domain. It was "example.com", so I made the changes, but now all my comments have disappeared and I just can't post any new one : I can write them, preview them, but they are not on my blog anymore. My Admin interf

Re: Problems with site domain in Admin interface

2007-01-05 Thread Tool69
Hi James, no I did the faulty removing of "example.com" (loosing all my comments, but that's not the worst), then I set my new one to "kib2.webfactionnal.com". Now, I can't read any comments. --~--~-~--~~~---~--~~ You received this message because you are subscri

Re: Problems with site domain in Admin interface

2007-01-05 Thread Tool69
Thank you Baxter, you avoid me a big waste of time and effort. I was studing my Django code, and couldn't find the answer. The problem was solved in changing kib2.webfactionnal.com to 1, as you said. --~--~-~--~~~---~--~~ You received this message because you are

Re: Problems with site domain in Admin interface

2007-01-05 Thread Tool69
+1 , I don't think a beginner can have the idea to search the id index in his datase first. The first thing we do naturaly is to look at our code, and there we find nothing wrong... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the