Re: IDE

2008-03-05 Thread limodou
ad, and didn't used others, and I only use "print" to debug django, so I have no ideas about other editors. Sorry. -- I like python! UliPad <>: http://code.google.com/p/ulipad/ meide <>: http://code.google.com/p/meide/ My Blog: http://www.donews.net/limodou --~--~-

Re: IDE

2008-03-05 Thread limodou
project in Directory Browser Window(press F2, and add your django project), the Set project menu item in context menu of directory browser window. -- I like python! UliPad <>: http://code.google.com/p/ulipad/ meide <>: http://code.google.com/p/meide/ My Blog: http://www.donews.net/limodou

[ANN]db_dump.py 2.1 released!

2007-09-18 Thread limodou
should put it with the settings.py together, and run it according to the document of the project site. Hope you like it. -- I like python! UliPad <>: http://code.google.com/p/ulipad/ My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this m

Re: Django_xmlrpc

2007-06-11 Thread limodou
ta into xml format. Please see the description in the page. And I should say, I'v not been playing with this snippet for a long time. :) -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~---

Guido like Django

2007-05-31 Thread limodou
development in China, and I hope more and more people would like to learn Django from now. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message becau

Re: Error creating super user

2007-05-09 Thread limodou
ou should just install django.contrib.auth, it's enough. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: \d and \w regular expressions?

2007-05-08 Thread limodou
acters. Is there a better way > of capturing this value. > > Thanks for any help > I suggest that you can test the length of the name in view method, and don't limit the length of url pattern. The pattern could be: [\w-]{1,100} If you don't want {1,100}, you could [

Re: Which ajax framework django will support in the upcoming 1.0, prototype/dojo/jquery?

2007-04-12 Thread limodou
sily. HOW you connect is up to you. > > I like jQuery. You like mochikit. Others like YUI, or Prototype, or > Dojo. Who's right? Everybody. Nobody. It depends. > Goog point! I like jQuery also. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad

Re: Detect ajax request

2007-04-10 Thread limodou
ki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ 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

Re: Django models to SqlAlchemy models | preliminary implementation

2007-04-09 Thread limodou
I'll be rather busy and probably slow to respond.. so be it..) > Great! -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are

Re: Django Powered Tabblo to be acquired by HP

2007-03-23 Thread limodou
> > --Ned. > Wow, great! -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django u

Re: I wish for a "less than" and "greater than" in templates

2007-03-21 Thread limodou
gt; Thanks for that Kenneth. > The code there looks like just what I need. > You can also use PyIf tag(written by me) to do that. http://www.djangosnippets.org/snippets/12/ And it can support any python expression. So it's more general I think. -- I like python! UliPad <>: http://wiki.woodpecker.org

Re: backup/restore DB data...

2007-03-16 Thread limodou
On 3/16/07, Jens Diemer <[EMAIL PROTECTED]> wrote: > > limodou schrieb: > > You can try db_dump.py tool, it's not a web-gui based, but a command line > > tool. > > > > http://www.djangosnippets.org/snippets/14/ > > Very cool! It seems to work wi

Re: backup/restore DB data...

2007-03-16 Thread limodou
On 3/17/07, Michael <[EMAIL PROTECTED]> wrote: > > > On 3/17/07, limodou <[EMAIL PROTECTED] > wrote: > > > > On 3/16/07, Jens Diemer <[EMAIL PROTECTED]> wrote: > > > > > > > > > I would like to backup and restore my django App-Dat

Re: backup/restore DB data...

2007-03-16 Thread limodou
wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ 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

Re: Using template filters inside condition statements

2007-03-13 Thread limodou
or example: {% catch as state %}{{ message.state|stateName }}{% endcatch %} {% ifequal state "Sent" %} -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received th

Re: QueryDict instance is immutable

2007-03-12 Thread limodou
e python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: choosing ajax framework (for my projects) :)

2007-03-10 Thread limodou
On 3/10/07, Georgi Stanojevski <[EMAIL PROTECTED]> wrote: > > limodou напиша: > > > You can see an example at : http://limodou.51boo.com > > Your forms(I tried user registration) don't give any feedback while they > are being submited that's really, really bad

Re: choosing ajax framework (for my projects) :)

2007-03-09 Thread limodou
t; > > > i must also say that i actually don't enjoy coding in javascript :) > > traumatized when trying to write cross browser javascript 8 years ago. > > > > cheers, ashley > > I also agree with jQuery. And I'v build some projects using

Re: Django and jQuery Autocomplete Routing Help

2007-03-08 Thread limodou
result.append(tag.normalized_tag) return HttpResponse(simplejson.dumps(result)) If you are using Firefox and installed Firebug plugin, you can see the response message. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --

Re: Template Tags

2007-03-08 Thread limodou
r > You can see : http://www.djangosnippets.org/snippets/9/ -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: User model extension

2007-03-06 Thread limodou
django-way? > Take care you can read this blog: http://www.b-list.org/weblog/2006/06/06/django-tips-extending-user-model -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You re

Re: uploding image file

2007-03-06 Thread limodou
e.com/group/django-users/browse_thread/thread/ede06a3602a39100?hl=en > Of cause you can do it yourself, but django's appoach is more djangonist I think. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~-

Re: applying a patch in windows ???

2007-03-06 Thread limodou
ould somebody tell me the command to apply it . > > thanks in advance > Try tortoiseSVN tool. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received thi

Re: uploding image file

2007-03-06 Thread limodou
.path.join(MEDIA_ROOT, field.upload_to) 4. view snippet #get or create user if data.get('photo', None): filename = 'photo_%d.jpg' % user.id user.save_photo_file(filename, data['photo']['content'] user.save() -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: ht

Re: uploding image file

2007-03-06 Thread limodou
I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, sen

Re: uploding image file

2007-03-05 Thread limodou
; but I don't really > know how I can use them, can any body help me? > Regards > Samia > http://www.djangoproject.com/documentation/faq/#how-do-i-use-image-and-file-fields -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou

Re: creating a website log

2007-03-05 Thread limodou
n/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ 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

Re: creating a website log

2007-03-05 Thread limodou
I think maybe you can hook the pre_save() signal to do this thing. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subs

Re: Help with profiles

2007-03-05 Thread limodou
r-model -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this grou

Re: Django and jQuery Autocomplete Routing Help

2007-03-05 Thread limodou
/indicator.gif HTTP/1.1" It seems that you didn't correctly setup the static files, if you are using development server(via manage.py runserver), you should see the document: http://www.djangoproject.com/documentation/static_files/ --

Re: json serialization without certain fields and with extra information?

2007-02-28 Thread limodou
n/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ 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 f

Re: json serialization without certain fields and with extra information?

2007-02-28 Thread limodou
On 2/28/07, Bram - Smartelectronix <[EMAIL PROTECTED]> wrote: > > limodou wrote: > > On 2/28/07, Bram - Smartelectronix <[EMAIL PROTECTED]> wrote: > >> hey everyone, > >> > >> > >> 1. is there any way to serialize models and remove some

Re: json serialization without certain fields and with extra information?

2007-02-28 Thread limodou
ing simplejson to convert it to json -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Django snippets

2007-02-26 Thread limodou
It seems that only top 20 items can be displayed? right? I think it's a bug. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subs

djangosnippets.org is down?

2007-02-26 Thread limodou
^ SyntaxError: invalid syntax -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &q

Re: Django snippets

2007-02-25 Thread limodou
. And if I can write the description in ReST? -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django u

Re: Django snippets

2007-02-25 Thread limodou
It seems that I can not change the language type of a snippets. So if you can add changing language type functionality. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~---

Re: Django snippets

2007-02-25 Thread limodou
On 2/26/07, James Bennett <[EMAIL PROTECTED]> wrote: > > On 2/25/07, limodou <[EMAIL PROTECTED]> wrote: > > Can you add RSS to the site, so that I can subscribe it to see the > > newest entries. > > There's some very basic feed code in the app already, but it'

Re: Django snippets

2007-02-25 Thread limodou
On 2/26/07, limodou <[EMAIL PROTECTED]> wrote: > On 2/26/07, James Bennett <[EMAIL PROTECTED]> wrote: > > > > For a while now I've been annoyed with the fact that, while it's > > relatively easy to build and advertise a complete Django application, > > it

Re: Django snippets

2007-02-25 Thread limodou
e license; see the "about" page for instructions on how to > get it). > Great! I like it. And the site is beautiful. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~

Only Validator

2007-02-16 Thread limodou
version is also in development. But it already can be used. And there is some different from newforms validation functionality you should notice. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/l

Re: catalog of django apps?

2007-02-16 Thread limodou
cause, along with the similar common modules come out more and more, we could select one and specify it the "official" common module. But I think we need more referenced apps or projects first. -- I like python! UliPad <>: http://wiki.woo

Re: catalog of django apps?

2007-02-15 Thread limodou
de for the "DjangoForge" site itself could be public, and > available through its own interface. (How meta!) > > Looking forward to seeing your reactions in some days, > Eric Florenzano > Great! I'll waiting for that. -- I like python! UliPad <>

Re: catalog of django apps?

2007-02-15 Thread limodou
ctions 3. How to deal ajax functionalities 4. How to seperate common functionalities and special functionalities Maybe I write not so clearly, but I don't know much about how to express my thoughts, I'm sorry. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: htt

Re: Is there a way for a template file to know its name?

2007-02-13 Thread limodou
s will be simple. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Open Book Platform demo site is up

2007-02-12 Thread limodou
On 2/13/07, Jianjun <[EMAIL PROTECTED]> wrote: > > limodou, > Thanks for sharing the source code. It looks a nice. > I got one question: I create a book on the demo site and I couldn't > find how to enable the comment bar on the left side. Did I miss > something? All

Re: Open Book Platform demo site is up

2007-02-12 Thread limodou
n't > create, and have claimed it as your own (You put a (c) Limodou at the > bottom of each page, but don't attribute other sources). This is poor > form, and you shouldn't be surprised at the reaction it provokes. > Ok, thanks. I'd like to receive any suggestion or criticism, and if there is

Re: Open Book Platform demo site is up

2007-02-12 Thread limodou
la bla > What's these? Abstract? keywords? -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&q

Re: Open Book Platform demo site is up

2007-02-12 Thread limodou
On 2/13/07, Don Arbow <[EMAIL PROTECTED]> wrote: > > On Feb 12, 2007, at 6:30 AM, limodou wrote: > > I'v setup a demo site for open book platform project. So you can visit > > it : http://limodou.51boo.com > > This site is just for testing and demo, so

Open Book Platform demo site is up

2007-02-12 Thread limodou
I'v setup a demo site for open book platform project. So you can visit it : http://limodou.51boo.com This site is just for testing and demo, so don't put important things in it. Thanks the master of 51boo.com, without his help I cann't run up the site. The project can be found at: http

Re: Clone DjangoBook.com -- Open book platform beta release

2007-02-11 Thread limodou
I'v update the code and css, so if there are still some unsuitable places, please point them out. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this m

Re: What about a list of finished django applications on the wiki ?

2007-02-11 Thread limodou
. Each > page would describe the application, requirements, links, possibly > some howtos etc. ? > +1 -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You recei

Re: Clone DjangoBook.com -- Open book platform beta release

2007-02-11 Thread limodou
http://localhost:8080/book/1/dgfgfdsss łółę/ > > Num, I call it chapter order num, so just like chapter01, chapter02, and I'll use it to order the chapters. It's just a CharField. You should use something like 'chapter01', or simple 'c01', 'c02'. -- I like python! UliPad <&g

Re: Clone DjangoBook.com -- Open book platform beta release

2007-02-11 Thread limodou
On 2/12/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On Feb 11, 10:39 am, limodou <[EMAIL PROTECTED]> wrote: > > Many things I borrowed from djangobook.com, especially the css. > > Hi Limodou, > > The djangobook.com CSS is *not* available for copying

Re: Clone DjangoBook.com -- Open book platform beta release

2007-02-11 Thread limodou
i.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ 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

Clone DjangoBook.com -- Open book platform beta release

2007-02-11 Thread limodou
: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ 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.co

bug report:cut filter cann't process unicode

2007-01-24 Thread limodou
to convert value to string type. So I think it's a mistake. Isn't it? -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: dump and restore tool for django

2007-01-23 Thread limodou
ify the default value of a new column, or the new column is renamed from an old column , you can add 'reference' type for new column, then the value of new column will use the value of referred column. Details you can find in wiki page. -- I like pyt

Re: Django and Mako ?

2007-01-21 Thread limodou
go/mako_django.py You can see it. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&

Re: dump and restore tool for django

2007-01-20 Thread limodou
need from core.management which I think useful. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: dump and restore tool for django

2007-01-20 Thread limodou
ough: manage tool customtool -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django user

dump and restore tool for django

2007-01-18 Thread limodou
I'v finished a tool for dumping and restoring database for django, you can find it at: http://code.djangoproject.com/wiki/DbDumpScript -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/l

Re: a candidate for a custom decorator?

2007-01-11 Thread limodou
t. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to t

Re: a candidate for a custom decorator?

2007-01-11 Thread limodou
I suggest that you print the request, args, and kwargs to see the real arguments. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message becau

Re: Listing folders - how to improve this code

2006-12-29 Thread limodou
r.html', {'error': 'Zly Katalog', 'theme': settings.THEME, 'engine': settings.ENGINE}) Can this be improved or has some security holes ? -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews

Tip:decorator and urls.py

2006-12-28 Thread limodou
ferent output: redirect and normal render output. Of course, template just my implementation and I just want to use it to describe some example. Just some tips, you can do anything what you want if django supports it. I hope you have fun with decorator. -

Re: Tip:decorator and urls.py

2006-12-28 Thread limodou
w.donews.net/limodou --~--~-~--~~~---~--~~ 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 email to [EMA

Re: How would you implement this?

2006-12-21 Thread limodou
% call "table.html" with table=tables.0 %} ...stuff... {% call "table.html" with table=tables.1 %} ...stuff... -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ Y

Re: serialization question

2006-12-19 Thread limodou
in/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ 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

Re: Templates for unknown object types

2006-12-18 Thread limodou
it has __str__ method, I think it's ok. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &q

Re: django and dojo, what is the status ?

2006-12-18 Thread limodou
ou would find few about ajax bind with django, you should choise yourself. I suggest jQuery is a good stuff. I use it very funny. jQuery: http://www.jquery.com -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~

Re: Template tags and contexts

2006-12-14 Thread limodou
You can run your code outside of the block tag, so the block tag will not push your context into the stack. -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You re

Re: Dynamic includes in template?

2006-12-04 Thread limodou
sample code is: {% for question in questions %} {% expr 'questions/' + question.get_type_display() + '.html' as tmp %} {% include tmp %} {% endfor %} But I don't know if it can do the work, but you can try it. You should save ExprTag code into some templatetags file, and use load tag to imp

Re: Fast fcgi on dreamhost --> shauwn of the dead, help me shoot zombies

2006-12-02 Thread limodou
and the start method in TextDriv is not like dreamhost, so I also want to know how to fix the problem? -- I like python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message becau

Re: What IDE do you use? (semi-OT)

2006-10-10 Thread limodou
python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, sen

Re: What IDE do you use? (semi-OT)

2006-10-09 Thread limodou
python! UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad My Blog: http://www.donews.net/limodou --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: What IDE do you use? (semi-OT)

2006-10-08 Thread limodou
ike html, css, js, etc. auto complete, rst support. For django, you can create django project in wizard(wziard is a plugin you need to enable it), set django project in directory browser, start develop server in directory, view the dot image of the model -- I like python! UliPad <>: ht

Re: two models -> one form -> addmanipulator

2006-09-22 Thread limodou
ve method to process the request data. So it's not easier, but I think it's more clearly, because you know what you'v done. And for complex situation, for example multi models need to be dealed at same time and they may have relationship also, so it's the only way to process for now I think. -- I l

Re: two models -> one form -> addmanipulator

2006-09-22 Thread limodou
cann't do this in django. You should use custom manipulator for this. -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.google.com/group/ulipad --~--~-~--~~~---~--~~ You received

Re: automatically fill in some fields of a form, storing authenticated user

2006-09-22 Thread limodou
me and value format of user field in data. You can first include the user field, and see the html code to get the field_name of user, then disable the user field, and insert the field_name you got before into the data. -- I like python! My Blog: http://www.donews.net/limodou

Re: Django app development / deployment best practices

2006-09-20 Thread limodou
y parsing code is ugly. -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.google.com/group/ulipad --~--~-~--~~~---~--~~ You received this message because you are subscri

[Snip]Convert all strings in data structure to unicode for simplejson

2006-09-20 Thread limodou
(a, '__str__')) So in the view code, you could do like this(assume above function is saved in ajax.py) import ajax def load(request): a = {'response':'ok', 'message':_('Thank you')} return ajax.json(a) That's is. -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http

Re: Diamanda Wiki and MyghtyBoard Forum on SVN now

2006-09-16 Thread limodou
dalone wiki syntax parser (for example trac > syntax) that could be used in diamanda (and won't kill contentBBcode, > and possibly HTML) > > A "support" site - my "tech blog" will be online in the next week. > There will be a live example, docs and a support for

Re: django_settings_module

2006-09-14 Thread limodou
ngs.py, and this will automaticly created by : django-admin.py startproject blog -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.google.com/group/ulipad --~--~-~--~~~---~-

Re: Initial SQL data using Django ORM - A HowTo

2006-09-11 Thread limodou
n't test it. -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.google.com/group/ulipad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: How about a Django apps public repository?

2006-09-11 Thread limodou
> > we could then aggregate this information to provide a centralized RSS > feed on top of it so people can keep track of > new releases and new projects.. as well as a way for people to > search and browse through the list of projects, so they > can find what they need. > > r

Re: How about a Django apps public repository?

2006-09-10 Thread limodou
On 9/11/06, Ian Holsman <[EMAIL PROTECTED]> wrote: > > I've nearly got something together now. > I just need to add some basic templates for it. > > Give me a day or two to get it up ;-) > Wonderful! -- I like python! My Blog: http://www.donews.net/l

Re: How about a Django apps public repository?

2006-09-08 Thread limodou
BasicAuth: A simpler authentication system for people who use a > custom admin site > StaticPages: A very lightweight request to template mapper (similar > to TemplatePages) > > Any other contributors? > > Sean > I have woodlog could be shared. -- I lik

Re: How about a Django apps public repository?

2006-09-08 Thread limodou
ven if we setup our own django-spec repository, we can still submit new version information of django stuffs to pypi, no one would say that's impossible. -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.goog

Re: Diamanda Wiki and MyghtyBoard Forum on SVN now

2006-09-07 Thread limodou
that diamanda is a wiki app, so I think it should be support wiki format first, and many people are used to trac/moinmoin, so the wiki text format is not so difficut at all. Just my thought. -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/U

Re: Diamanda Wiki and MyghtyBoard Forum on SVN now

2006-09-07 Thread limodou
your > pages quick and easy without playing with wiki syntax. Note that most > "complicated" code generation like nice tables etc. will be handled by > ContentBBcode :) > So which text format do you think is the most familiar with people? I think wiki format should be. -- I l

Re: How about a Django apps public repository?

2006-09-07 Thread limodou
+1 I also suggested similar subject before. -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.google.com/group/ulipad --~--~-~--~~~---~--~~ You received this message

Re: Diamanda Wiki and MyghtyBoard Forum on SVN now

2006-09-06 Thread limodou
add some > basic wiki syntax for formating but it won't substitute HTML. > I think wiki syntax is better. -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.google.com/group/ulipad --~--~-~--~

Re: Need Template Tag help - I'm making this harder than it has to be.

2006-09-06 Thread limodou
like. So I don't know there is a manytomany relationship between section and sponsors. If there are manytomany relationship between section and sponsors, so you could try: section.sponsor_set.all() And this is described in db-api document. -- I like python! My Blog: http://www.donews.net/limo

Re: Need Template Tag help - I'm making this harder than it has to be.

2006-09-06 Thread limodou
n't pass the child sponsors of the object back to the page? > > Why not write a custom function in model to return the child sponsors? So you can get the child sponsors through the section object. -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.o

Re: Diamanda Wiki and MyghtyBoard Forum on SVN now

2006-09-06 Thread limodou
Can Diamanda support moin text format, I don't like the text format shipped with Diamanda. Can the page support multi text format? -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.google.com/group

Re: Need Template Tag help - I'm making this harder than it has to be.

2006-09-06 Thread limodou
Yeah. Only the model class has a Manager instance, model instance hasnot this instance. -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.google.com/group/ulipad --~--~-~--~~---

Re: Need Template Tag help - I'm making this harder than it has to be.

2006-09-05 Thread limodou
. > > Because all() will always return a list of object, you should use get() instead of all() or the first element of the list, [0] -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups

Re: Strange socket problem

2006-09-05 Thread limodou
On 9/5/06, Jay Parlar <[EMAIL PROTECTED]> wrote: > > On 9/5/06, limodou <[EMAIL PROTECTED]> wrote: > > > > Sometimes I will get below error message, but not each request I could > > get this, but it occurs very often, I don't know why? I'm working in > &

  1   2   3   >