Re: Limiting the entry that loaded in django admin.

2012-12-04 Thread bolang
On 12/04/2012 12:08 PM, Chris Cogdon wrote: raw_id_fields is the first step. also look at django-ajax-selects, which gives you a lot of interesting abilities.] Thanks Chris for the tips. Will try it! On Monday, December 3, 2012 8:13:02 PM UTC-8, Bo Lang wrote: Hi all, need some

Re: Limiting the entry that loaded in django admin.

2012-12-03 Thread bolang
On 12/04/2012 11:24 AM, Andrew Macgregor wrote: Try using raw_id_fields: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.raw_id_fields Cheers, Andrew. It works! Thanks Andrew, -- You received this message because you are subscribed to the Google

Limiting the entry that loaded in django admin.

2012-12-03 Thread bolang
Hi all, need some input here. I have a site with > 15000 images, using django photologue. When we create a Post (that has Images field in it) from django admin, all of the images will be loaded in a dropdown. Before this, it was not create any problem. Now, after the number of images getting

virtualization that suitable for django & mysql server

2012-05-17 Thread Bolang
Hi, I want to deploy my django app to VPS. So far, i use KVM and it works great without problem. Now, i want to split my mysql server to another VPS. The VPS provider have both openvz & KVM VPS. Which virtualization type that recomended for django? And which virtualization type that recommended

Re: two versions of django onsame machine .. django and django-norel

2012-05-16 Thread Bolang
On 05/17/2012 12:42 AM, vijay shanker wrote: i have installed django 1.4 previously and want to install django- norel now.. should i unisntall django 1.4 first .. is it necessary If you use virtualenv, you can install many numbers of django version in the same time. -- You received this

Re: django 1.4 : gunicorn can't find static files. settings option

2012-05-16 Thread Bolang
server to serve static files. At least this is how I solved it. I hope that helps. On May 16, 5:56 am, Bolang<boo.l...@gmail.com> wrote: Hi, I just started to using django 1.4 with gunicorn 0.14.3 With ./manage.py runserver , i can start django properly and django can find my files in

django 1.4 : gunicorn can't find static files. settings option

2012-05-15 Thread Bolang
Hi, I just started to using django 1.4 with gunicorn 0.14.3 With ./manage.py runserver , i can start django properly and django can find my files in static directory. Then i use gunicorn and then gunicorn can't find my files in static directory. I have tried these combination gunicorn

Re: Upload files without form

2012-05-07 Thread Bolang
On 05/08/2012 06:19 AM, kooliah wrote: Does someone already done it WITHOUT USING FORMS, or can help me... Hi, I use this method http://docs.python-requests.org/en/latest/user/quickstart/#post-a-multipart-encoded-file Thanks to all Alkatron -- You received this message because you are

tagging with django

2012-04-21 Thread Bolang
Hi, I wanna add tagging in my web. So far, i found django-tagging[1] and django-taggit[2]. From quick look, and by reading this blog post[3], i think i will choose django-taggit. Before using django-taggit, is there any other alternatives? Thanks [1]http://code.google.com/p/django-tagging/

Re: New way to run your Django projects

2012-03-19 Thread Bolang
On 03/19/2012 08:28 PM, Alexander wrote: Hi Bolang, I'm not sure what you meant by "simply using nginx" since as far as I know it doesn't have standard WSGI module. I hope you're not talking about running WSGI application as CGI script, do you? Hi Alexander, Thanks for your lon

Re: New way to run your Django projects

2012-03-18 Thread Bolang
Hi Alexander, What is the advantage of using gevent-fastcgi instead of simply using nginx and maybe with gunicorn? On 03/18/2012 12:59 PM, Alexander wrote: Hello everybody, I'm working on gevent coroutine based library FastCGI server implementation and I's ready for testing. It most likely

Re: password_reset email template issue

2012-03-11 Thread Bolang
You need to configure your 'sites'. You can configure it in admin page On 03/12/2012 05:30 AM, Scott Macri wrote: I'm having an issue with my email template for the password_reset view. For some reason I keep getting the following instead of my template text: You're receiving this e-mail

send binary(pdf) file to server

2012-03-05 Thread Bolang
Hi, I have a need to send pdf file from several worker server to main server. The main server will then save the file to DB(MySQL). I have read somewhere that json rpc with base64 encoding is not efficient to send binary file. Any suggestions? For my current load, non efficient solution (e.g.

equivalent of flask's flash() in django

2012-03-04 Thread Bolang
Hi all, What is the equivalent of flask's flash()[1] in django? Thanks [1]http://flask.pocoo.org/docs/patterns/flashing/ -- 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

Re: ANN: Mezzanine 1.0 released

2012-03-03 Thread Bolang
On 03/04/2012 06:51 AM, Stephen McDonald wrote: In conjunction with the Mezzanine 1.0 release, I've also released Cartridge 0.4. As I mentioned, Cartridge provides a full ecommerce package for Mezzanine. While Mezzanine is more of a framework for building sites with any type of content you need

Re: Django profile

2012-03-02 Thread Bolang
On 03/03/2012 03:33 AM, Denis Darii wrote: 1. http://pinaxproject.com/ 2. http://django-userena.org/ Thanks Denis, Django userena looks very interesting. On Fri, Mar 2, 2012 at 9:26 PM, Bolang <boo.l...@gmail.com <mailto:boo.l...@gmail.com>> wrote: Can someone suggest me an

Django profile

2012-03-02 Thread Bolang
Can someone suggest me an application for adding user profile to django? I have found http://code.google.com/p/django-profile/ and https://bitbucket.org/ubernostrum/django-profiles but those 2 projects don't receive update recently. Thanks -- You received this message because you are