Re: ANN: Django 1.1.2 and Django 1.2 released

2010-05-17 Thread Joshua Partogi
I have just read through the release notes, and really amazed how django 1.2 has evolved from 1.1. Kudos to everyone that is involved and put all effort into delivering django 1.2 Kind regards, Joshua On May 18, 9:46 am, Continuation wrote: > Congrats to the Django team. > > Thanks for the gr

Re: Python Database Framework

2010-05-14 Thread Joshua Partogi
Thanks Nabil, I am also looking for something that is as simple as Django ORM but a standalone ORM that is not tightly coupled. I also like the ActiveRecord's syntax of Elixir. Kind regards, Joshua -- http://twitter.com/scrum8 On May 14, 7:51 am, Nabil Servais wrote: > Hello > Le 14 mai 2010 à

Everyblock deployment structure configuration

2010-04-28 Thread Joshua Partogi
Hi All, This might be a little bit off-topic. I would like to learn about django deployment structure in Everyblock. Would anyone by chance know how does Everyblock deploy it's django app? I can see that every city maps into a subdomain. Does Everyblock deploy one app per subdomain, or is it only

What do you think of pycharm?

2010-02-08 Thread Joshua Partogi
Hi all, I just found a new Python IDE that supports django, named pycharm (http://www.jetbrains.com/pycharm). I was wondering whether anyone else has used it? If so, what do you think about the django support in it? Do you think it's good or useless? Kind regards, -- http://twitter.com/scrum8

Re: InternalError: missing support function 1(1184,1184) in opfamily 434

2010-01-26 Thread Joshua Partogi
Thanks Karen, I thought the problem was from django. Thanks for digging this for me. Regards On Jan 27, 3:17 am, Karen Tracey wrote: > On Tue, Jan 26, 2010 at 6:33 AM, Joshua Partogi > wrote: > > > Dear all, > > > I experience this error in production: > > [snip

InternalError: missing support function 1(1184,1184) in opfamily 434

2010-01-26 Thread Joshua Partogi
Dear all, I experience this error in production: File "/usr/lib/python2.6/dist-packages/django/core/handlers/base.py", line 92, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/usr/lib/python2.6/dist-packages/django/views/generic/date_based.py", line 34

Signals request finished from certain view

2009-12-07 Thread Joshua Partogi
Hi all, Is it possible to detect a django.core.signals.request_finished but only from a certain view? It seems that I can only get the signal from every request. I tried to read the documentation but can not find any reference about this. Kind regards, -- http://jobs.scrum8.com | http://twitter

Implement most viewed/clicked item with django

2009-11-30 Thread Joshua Partogi
Dear all, I would like to implement most clicked item with django. Based on your experience, what would be the best approach to do this? Do we add an attribute in the model and update it everytime user view that item? Or is there a better approach that I might have missed here? And another thing,

Reverse viewname inside widget doesn't work on django 1.2?

2009-11-22 Thread Joshua Partogi
Hi all, I tried to reverse url by calling: reverse('wmd-settings-js') inside a widget as such: class MarkDownInput(forms.Textarea): class Media: js = (reverse('wmd-settings-js')) But then I would get this error from django: Exception Type: ImproperlyConfigured Exception Valu

How to stop web engine crawler crawling at URL that does not exists?

2009-10-27 Thread Joshua Partogi
Hi all, I keep getting an error from the server because there's a web crawler that is crawling at a URL that does not exists on my application because it made a guess of a URL that should be on my application. This is the error that I get: NoReverseMatch: Reverse for 'blog-month-archives' with a

Re: Is django comment's honeypot really useful?

2009-10-08 Thread Joshua Partogi
> even the developers who know what is happening shouldn't complain. > > I have a site that seems to get crawled by bots quite frequently. I had a > feedback form that didn't have a honeypot originally. I got about 3-4 pieces > of spam a day. Turning on the honey pot, I only have gotten a few piec

Is django comment's honeypot really useful?

2009-10-07 Thread Joshua Partogi
Hi all, I want to ask for your advice here regarding the honeypot field in django comments. Is it really useful to prevent spam? Or should we add another method for spam prevention and shouldn't really rely on this honeypot. I currently been getting several spams on my site but I'm not sure wheth

Re: Creating a link for Foreign key in Admin

2009-09-06 Thread Joshua Partogi
On Sun, Sep 6, 2009 at 10:46 PM, Karen Tracey wrote: > On Sun, Sep 6, 2009 at 6:21 AM, Joshua Partogi > wrote: > >> >> On Sun, Sep 6, 2009 at 6:20 PM, Daniel Roseman wrote: >> >>> Define a custom method on the FooAdmin class which returns the HTML of >&

Re: Creating a link for Foreign key in Admin

2009-09-06 Thread Joshua Partogi
On Sun, Sep 6, 2009 at 6:20 PM, Daniel Roseman wrote: > > On Sep 6, 8:39 am, Joshua Partogi wrote: > > Dear all, > > > > I have a model that has a foreign e.g > > > > class Foo(models.Model): > > bar = models.ForeignKey(Bar) > > > >

Creating a link for Foreign key in Admin

2009-09-06 Thread Joshua Partogi
Dear all, I have a model that has a foreign e.g class Foo(models.Model): bar = models.ForeignKey(Bar) class Bar(models.Model): name = models.CharField(max_length=50) This is my FooAdmin: class FooAdmin(admin.ModelAdmin): list_display = ['bar'] Now in the admin Foo's display list I want t

Re: phppgadmin not work if I have a project runing directly like: localhost/

2009-09-02 Thread Joshua Partogi
This question is not django related. On Sep 2, 6:53 pm, NMarcu wrote: > Hello all, > >    I have a project that is need to be run like: "http://localhost/";. > In this case, I can't access phppgadmin like: "localhost/phpmyadmin" > because is looking in my project files. I configure the Apache 2,

Renaming displayed django application name in admin

2009-08-31 Thread Joshua Partogi
Dear all, How do we change the displayed application name in django admin? Let's say I have an application called foo, I wanted it to be displayed as bar instead of foo in the admin system. I've searched the document but failed to get the answer for this. Thank you in advance for your help. --

Re: Django and CouchDB

2009-08-18 Thread Joshua Partogi
On Tue, Aug 18, 2009 at 8:17 PM, sjtirtha wrote: > Hi, > > i found some Python API to access couchDB. > I'm asking here for experience. > Django model is really tight to RDBMS. You are going to have a hard time making django model work with non-RDBMS -- http://blog.scrum8.com http://twitter.

Re: http://jacobian.org/tags/ - Source?

2009-08-17 Thread Joshua Partogi
On Tue, Aug 18, 2009 at 11:41 AM, Victor Hooi wrote: > > heya, > > I was just wondering if anybody knew if the source to the tagging/ > bookmarking part of Jacob's site has been made available? > > http://jacobian.org/tags/ > > Or if there's any other django projects that provide something > simi

Re: Using custom table instead of "user" in django

2009-08-17 Thread Joshua Partogi
On Mon, Aug 17, 2009 at 10:40 PM, Jonas Obrist wrote: > > Here's what I did: > > I took the built in auth system and changed it a bit, or to be more > precise I changed all imports within auth (because I moved it within the > pythonpath) and edited models.py: > > http://dpaste.com/81651/ > > Whol

Re: Success at using "reusable apps"?

2009-08-16 Thread Joshua Partogi
On Mon, Aug 17, 2009 at 3:41 PM, Andy McKay wrote: > > > On 16-Aug-09, at 8:50 PM, Margie Roginski wrote: > > * modify the threadedcomments views.py code to take a callback > > function as an argument - that callback function could do my Task > > specific stuff as described above, but this would

Re: Code generation

2009-08-09 Thread Joshua Partogi
Python Metaclass is the keyword. On Sun, Aug 9, 2009 at 10:59 PM, sjtirtha wrote: > And it is also mentioned in > http://docs.djangoproject.com/en/dev/intro/overview/ > That Django generates the Model API on the fly. How can we generate code on > the fly in python? > > steve > > > On Sun, Aug 9,

Re: How to get rid of the 'u'? Seems to be everyhere :)

2009-08-08 Thread Joshua Partogi
u' stands for Python unicode. On Sun, Aug 9, 2009 at 12:03 PM, strotos wrote: > > Hey all, > > I am very new to Django and am having a bit of trouble with something > and I'm hoping I can get some help from you all. > > I was just wondering how do I share say a list or dictionary between > views

Re: Admin site images not coming up in 1.1

2009-08-05 Thread Joshua Partogi
On Thu, Aug 6, 2009 at 2:34 PM, emily wong wrote: > > Thanks Malcolm, I've figured it out. There were some changes to the > admin's index.html page. I've updated to the 1.1 one. > All the best, > Emily > How did you fix it? Because I experience the same thing too. Regards, -- http://blog.scru

Re: ANN: Django 1.1 released!

2009-07-28 Thread Joshua Partogi
Already using the RC1 from last week and my 1.0 application didn't break without any code changes. Congratulations to all the team that made this possible! On Wed, Jul 29, 2009 at 4:23 PM, James Bennett wrote: > > Tonight we're extremely proud to announce the release of Django 1.1, > the latest

Re: Chained Views - as in Catalyst (perl)

2009-07-27 Thread Joshua Partogi
Nice! This is really RESTful. Great job man. On Tue, Jul 28, 2009 at 7:54 AM, Alexandru Nedelcu wrote: > > On 27 iul., 10:01, Joshua Partogi wrote: > > This looks cool Alexandru. What I can see it really leverage the > capability > > of generic views. I hate repeating t

Re: Chained Views - as in Catalyst (perl)

2009-07-27 Thread Joshua Partogi
This looks cool Alexandru. What I can see it really leverage the capability of generic views. I hate repeating too. And your solution seems to be very elegant. Going to test it out. On Mon, Jul 27, 2009 at 4:51 PM, Alexandru Nedelcu wrote: > > On Mon, Jul 27, 2009 at 2:55 AM, Alexandru Nedelcu w

Re: Django 1.1 release candidate now available

2009-07-21 Thread Joshua Partogi
Congrats! Thanks to everyone that have put all their effort delivering this beautiful framework. Regards, On Wed, Jul 22, 2009 at 12:35 PM, James Bennett wrote: > > Hi folks! Tonight we've pushed out the Django 1.1 release candidate, > which is hopefully the last stepping-stone to the final 1.1

Re: How does my Model gets the objects attribute

2009-07-20 Thread Joshua Partogi
ul 20, 2009 at 4:05 PM, Joshua Partogi > wrote: > > Dear all, > > > > This may seems trivial. I've been looking at django source code > > model/base.py and been looking around how django gives my model an > objects > > attribute but can not

How does my Model gets the objects attribute

2009-07-20 Thread Joshua Partogi
Dear all, This may seems trivial. I've been looking at django source code model/base.py and been looking around how django gives my model an objects attribute but can not find it. I can see that the ModelBase will give the _default_manager attribute, but where and how does this objects attribute g

Re: Expert System

2009-07-17 Thread Joshua Partogi
What kind of expert system do you want to know. I think expert system is a very broad topic. On Sat, Jul 18, 2009 at 10:05 AM, Carlos Eduardo Sotelo Pinto < csot...@aqpglug.org.pe> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi peolple > > some one knows somthing about works ab

Re: How do you unit test forms

2009-07-16 Thread Joshua Partogi
Hi Russ, To expand this question. Do we use unittest for testing forms? Because from what I see in the code, doctest only tests your model. CMIIW. Kind Regards, On Fri, Jul 17, 2009 at 10:11 AM, Russell Keith-Magee < freakboy3...@gmail.com> wrote: > > On Thu, Jul 16, 2009 at 10:46 PM, Joshua Ru

Re: Converting django models to google app engine models

2009-07-15 Thread Joshua Partogi
I think that django gae patch does not enable you to use django model because gae does not use dbms on the backend. On Wed, Jul 15, 2009 at 7:38 PM, Vishwajeet wrote: > > Hi, > > Thanks for the link I am using the helper but helper does not suggest > anything about models other than just saying

Re: DjangoCon '09

2009-07-13 Thread Joshua Partogi
+1 Last year's recording was awesome. Will we have recording like last year again this year? Regards, On Tue, Jul 14, 2009 at 3:27 AM, Fred Chevitarese wrote: > It apears to be cool!!! I´m in Brazil! > > Maybe someone can record and put it on youtube!! > > Hugs... > > Fred Chevitarese - GNU/Lin

Re: Include app urls from url root path

2009-07-07 Thread Joshua Partogi
On Wed, Jul 8, 2009 at 12:12 AM, Daniel Roseman wrote: > > On Jul 7, 3:10 pm, Joshua Partogi wrote: > > Dear all, > > > > Because I want to plug a django app from urls.py as it is (without adding > > any suffix), is it possible to include the app urls with th

Include app urls from url root path

2009-07-07 Thread Joshua Partogi
Dear all, Because I want to plug a django app from urls.py as it is (without adding any suffix), is it possible to include the app urls with this scenario? # urls.py urlpatterns = patterns('', (r'^$', include('djapp.urls')), ) #djapp.urls urlpatterns = patterns('djblog.views', (r'^commen

Django and dojo

2009-07-06 Thread Joshua Partogi
Dear all, Not trying to flame here, but I've just read Jacob's post here: http://article.gmane.org/gmane.comp.web.dojo.user/3603 What made django developers changed their mind not to bundle dojo in 1.0 ? Is there any history to that? Kind regards, -- Join Scrum8.com. http://blog.scrum8.com ht

Re: Custom templatetags for loading objects

2009-06-29 Thread Joshua Partogi
On Mon, Jun 29, 2009 at 11:20 PM, Justin Lilly wrote: > > This is likely exactly what you're looking for: > > > http://www.b-list.org/weblog/2006/jun/07/django-tips-write-better-template-tags/ > > -justin > > Thanks Justin. This is really good. Regards, -- Join Scrum8.com. http://scrum8.com/me

Custom templatetags for loading objects

2009-06-29 Thread Joshua Partogi
Dear all, Currently I want to make a custom templatetags for loading objects to be looped over. Is there any reference that I should be reading? Kind regards, -- Join Scrum8.com. http://scrum8.com/member/jpartogi/ http://scrum8.com/blog/jpartogi/ http://twitter.com/scrum8 --~--~-~--~--

Re: Sharing a development site cheaply (free as in beer?)

2009-06-29 Thread Joshua Partogi
On Mon, Jun 29, 2009 at 1:40 PM, Steve Hershman wrote: > > Introduction: > Hi Everyone, > Django is awesome and I hear you're all really helpful. I'm looking > forward to joining this group. > > Real message: > > So I'm developing a site with a few friends. We do not have a > dedic

Re: Writing a reusable app

2009-06-25 Thread Joshua Partogi
Hi Kenneth, I'm currently also splitting up my django apps to be reusable. What is your main reason to have full batteries ? For some people that is already running django, it is more ideal to go minimalistic because then it will be easier to plug into existing django apps. Regards, On Fri, Jun

Re: Very bad experience in Django...

2009-06-25 Thread Joshua Partogi
You need to define required=False On Thu, Jun 25, 2009 at 10:24 PM, steveneo wrote: > > I try to use Django in a new project. Honestly, it is very bad > experience. It looks not boosting my development speed. Today, I > almost give up and begin to look up another Python framework > > One que

Re: Form Field's required

2009-06-16 Thread Joshua Partogi
Thanks Alex. On Wed, Jun 17, 2009 at 9:14 AM, Alex Gaynor wrote: > > > On Tue, Jun 16, 2009 at 6:12 PM, Joshua Partogi wrote: > >> Dear all, >> >> I want to add an asteriks in the template for required Form Fields. What >> is the instance attribute

Form Field's required

2009-06-16 Thread Joshua Partogi
Dear all, I want to add an asteriks in the template for required Form Fields. What is the instance attribute for it? I tried reading from http://docs.djangoproject.com/en/dev/topics/forms/#looping-over-the-form-s-fieldsbut could not find anything like it. I wonder how they do it in the django admi

Re: Why django? Framework design or language

2009-06-14 Thread Joshua Partogi
On Jun 14, 1:03 am, Jochem Berndsen wrote: > I only use it because of (b), I don't care too much about Python and > don't think it is a very good language (I prefer statically typed and > functional languages). But Django makes it worth it :) Interesting comment. I feel the same way too. Yeah dja

Why django? Framework design or language

2009-06-13 Thread Joshua Partogi
Hi all, I know that this questions rise up often in this list, but I have a different side of view about the reason to choose django. I was wondering whether most people here choose django because of: a) the language itself and they already master python, so they choose django b) the design and t

Re: Reason for not allowing spaces in usernames?

2009-06-11 Thread Joshua Partogi
On Jun 12, 1:26 pm, Wiiboy wrote: > Why does Django not allow spaces in user's usernames? On my site, a > user's username is the first and last name combined (the equivalent of > user.get_full_name()). I guess it's just for simplicity and validation purposes. It would be really difficult to dete

Re: Add request.user.message_set for Anonymous user

2009-06-10 Thread Joshua Partogi
On Jun 11, 2:22 am, soniiic wrote: > use session_messageshttp://code.google.com/p/django-session-messages/ > > I'm using it myself at yourxisity.com and it works fine :) Thanks. This is sufficient enough. Cheers. --~--~-~--~~~---~--~~ You received this message

Add request.user.message_set for Anonymous user

2009-06-10 Thread Joshua Partogi
Dear all, How do we add request.user.message_set for Anonymous user? The point is I want to display a successful message after submitting form for Anonymous user. Thanks for the hint. Best regards, -- Join Scrum8.com. http://scrum8.com/member/jpartogi/ http://scrum8.com/blog/jpartogi/ http://

Re: Django user Indonesia meetup

2009-06-03 Thread Joshua Partogi
--- In id-pyt...@yahoogroups.com, Pramuko Aji wrote: > > Siap Pak Wid! Insya Allah saya datang hari Kamis, sekalian mampir ke RICE :D > Saya sih siapnya jadi suporter doang. Kalo sampeyan butuh bala bantuan tinggal call saya, ntar saya bantuin sebisa mungkin :) Gimana acaranya? Sukses ga? Btw, gw

Re: Django 1.1 to be in future Google App Engine release

2009-06-03 Thread Joshua Partogi
On Jun 3, 11:25 am, Kegan wrote: > Just for everyone information, I believe Guido just said that Django > 1.1 will be in future Google App Engine release once it (Django 1.1) > is out of beta. > > Looking forward to this Django 1.1 final! > > Link here: > > http://code.google.com/p/googleappengine

Re: django paypal donations

2009-06-01 Thread Joshua Partogi
Why did you use launchpad man? Why not just use bitbucket since most django users is using it. It's easier for us to fork it if you are on bitbucket. :-) On Jun 2, 7:13 am, Viktor wrote: > Hi, > > as I couldn't find an already existing application to provide a simple > PayPal donate button, and s

Creating fixtures that has relationship to other object

2009-05-30 Thread Joshua Partogi
Dear all, I'd like to create fixture that has relationship to other object. Let's say I have a Member object that has foreign key to Country. class Member(User): country = models.ForeignKey(Country) I created the fixtures member.json and define it as such: [ { "model": "member.Member",

Re: Getting list of objects with objects that has foreign key to it

2009-05-26 Thread Joshua Partogi
On May 27, 12:20 am, Daniel Roseman wrote: > On May 26, 3:08 pm, Joshua Partogi wrote: > > > > > > > Hi all, > > > I have a very trivial case that somebody might have solved before, but I can > > not get my head around. > > > I hav

Getting list of objects with objects that has foreign key to it

2009-05-26 Thread Joshua Partogi
Hi all, I have a very trivial case that somebody might have solved before, but I can not get my head around. I have this two objects that is related to each other: class Product(models.Model): name = models.CharField(max_length=50) class Picture(models.Model): product = models.Fore

Re: What is in your opinion the best way to render a form

2009-05-26 Thread Joshua Partogi
On May 26, 4:52 pm, Joakim Hove wrote: > Hello, > > I have used ModelForm to create a form for a model class. In the > template rendering the form I just have: > > form.as_table > > that is very neat, compared to writing out all the form elements in > the template manually, but it is of course

Re: Euro DjangoCon Videos

2009-05-24 Thread Joshua Partogi
On May 24, 8:22 pm, giorgos wrote: > Hello to all, > > Does anybody know if and where will Euro DjangoCon videos be > uploaded ?? > > There are many people out there interested in Django and presentations > like these are a great way to get them in... I would be interested too. :-) -- Join Scrum

Re: Djangonic?

2009-05-24 Thread Joshua Partogi
Is that important? :-D On May 25, 12:21 am, Roberto Cea wrote: > If an idiomatic Python program is "pythonic", what do you call > idiomatic use of Django, "djangonic"? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Single sign-in

2009-05-23 Thread Joshua Partogi
Hi Chris, What implementation are you planning to support? I think this is a good idea. Why don't you roll the ball first and get community feedback from there. Cheers. On May 23, 7:24 pm, Chris McCormick wrote: > Hi Lakshman, > > I haven't yet started or made any progress on this library. I w

Re: How to write subdomain from django apps

2009-05-21 Thread Joshua Partogi
Thanks, That really helps :-) Just what I was looking for. On May 22, 5:09 am, Lakshman Prasad wrote: > Here is one interesting open source > implementation:http://uswaretech.com/blog/2009/03/django-subdomains-easily-create-su... > --~--~-~--~~~---~--~~ You rec

How to write subdomain from django apps

2009-05-20 Thread Joshua Partogi
Sorry for this lame question. I just saw an application called suggestionbox.com and it's able to write subdomain based on the customer id. Do we access and write BIND configuration on the fly for this? Or is there a better way to do it? Anyone that has experience with this? Thanks very much in

Re: Admin interface is slow

2009-05-20 Thread Joshua Partogi
Is this a local process or remote process ? On May 20, 10:36 pm, Binseer wrote: > Hi all, > My admin interface is running dead slow.. I am using postgresql8.3. > When i checked running processes by "ps ax | grep "postgres" ", it > shows some idle processes are running in the very begining itself

Django developer salary rate in USA

2009-05-18 Thread Joshua Partogi
Hi everyone, I'm looking for opportunity for a django career in USA (Note: I've never been to US in my entire life). Now can anyone give me a ballpark figure of the salary rate as a django developer in the US? I've tried looking in djangogigs.com but can not find an estimate of salary rate in the

Re: Gravatar django apps

2009-05-14 Thread Joshua Partogi
t the image shows the gravatar of respective user. > > --rama > > On May 14, 4:30 pm, Joshua Partogi wrote: > > > Dear all > > > Does anybody know a good django application for gravatar > > (http://gravatar.com) ? > > > Thank you very much for the redi

Re: Gravatar django apps

2009-05-14 Thread Joshua Partogi
Thanks for the redirection Erreon. I will try it out. :-) Best regards, On May 15, 5:00 am, Erreon wrote: > If you don't want to implement your own solution you could > use.http://code.google.com/p/django-gravatar/ > > On May 14, 6:30 am, Joshua Partogi wrote: > >

Gravatar django apps

2009-05-14 Thread Joshua Partogi
Dear all Does anybody know a good django application for gravatar ( http://gravatar.com ) ? Thank you very much for the redirection. :-) -- If you can't believe in God the chances are your God is too small. Read my blog: http://joshuajava.wordpress.com/ Follow us on twitter: http://twitter.co

This Mailing list logo

2009-05-13 Thread Joshua Partogi
Hi all, Just an intermezzo question. Is there anyone here that's going the change this django-users mailing list logo to django logo instead of only computer icon from google groups? :-D Cheers. -- If you can't believe in God the chances are your God is too small. Read my blog: http://joshuajav

Time & Date calculation in template

2009-05-13 Thread Joshua Partogi
Dear all, Is it possible to do time and or date calculation in the template? Let's say I have a DateField {% now %} and want to subtract it with an IntegerField (let's say 4, to get 4 years before today) in the template. If it's possible, what is the syntax for it? Thank you very much in advanc

Re: What debugger do you use?

2009-05-11 Thread Joshua Partogi
I don't know anything that is better than NB with Python plugin right now. I've tried IntelliJ with Python plugin, but it was quite heavy (on Linux at least) :-( But I really like how IntelliJ treats refactoring like the Java refactor browser. I also tried PyDev but the click-on-module-name is no

Blogs and presentation on Euro djangocon

2009-05-05 Thread Joshua Partogi
All, Is there anyone here that blogs on euro djangocon, or have any pictures regarding the event etc. I'm curious on how it goes. Thanks. -- If you can't believe in God the chances are your God is too small. Read my blog: http://joshuajava.wordpress.com/ Follow us on twitter: http://twitter.co

django CommaSeparatedStringField component

2009-05-04 Thread Joshua Partogi
Dear all, Does anybody know a good CommaSeparatedStringField for django? The one that I expect is sort of like the CommanSeparatedIntegerField that comes with django, but for String. Thank you very much in advance. -- If you can't believe in God the chances are your God is too small. Read my bl

Re: Django on Amazon EC2

2009-04-30 Thread Joshua Partogi
Hi Jörn, Thank you very much for sharing your experience. We were going to use it for a community site, but it seems that EC2 is not reliable though scalable. This is a tough choice. :-( Any chance that you already created an AMI for this that perhaps you can share with the community? Best rega

Re: Django on Amazon EC2

2009-04-30 Thread Joshua Partogi
 You just need to get to grips with > using EC2 and then install Django on your instance.  I've been using > Django on an EC2 instance since late last year and they work fine > together.  I use S3 as my main media server via S3Storage. > > On Apr 28, 8:41 pm, Joshua Partogi wr

Django on Amazon EC2

2009-04-28 Thread Joshua Partogi
Dear all, In favor of choosing Google app engine to run our Django apps, we are also considering Amazon EC2 because from what we've read we are not tightly locked into Google API. Has anyone here had any experience on deploying django apps on Amazon EC2 that would like to share their experience

Re: get and display html from another site

2009-04-25 Thread Joshua Partogi
On Apr 25, 6:30 pm, keegan3d wrote: > Im building a site that uses wordpress for the blog, and django for > everything else. I want to be able to pull in some html from the blog. > > So far if I get the html with urllib2 and then pass the response to > render_to_response it gets formatted to pr

Re: Django on Google app engine

2009-04-25 Thread Joshua Partogi
is that > you'll have to use the models provided with the SDK. Also, if you > previously deployed Django, you shouldn't have any trouble following > the guidelines for deploying Django on Google App Engine, so you > should definitely give it a try. > > On Apr 24, 9:04 am, J

Re: Offtopic: MySQL or PostgreSQL for a limited VPS ?

2009-04-24 Thread Joshua Partogi
On Apr 25, 8:20 am, Konstantin S wrote: > Hello! > > I am planning to deploy django based site on a limited VPS and want to > know which database is more suitable for this ? If I've had a 'normal' > hardware I'd vote for the PostgreSQL but maybe in case of limited > resources MySQL would be a b

Django on Google app engine

2009-04-24 Thread Joshua Partogi
Hi all, I came accross this article: http://code.google.com/appengine/articles/django.html Which made me interested how far can you go with django on app engine? Because reading that article there are several things that you must turn off from the django configs namely session & database. Are we

Re: ColdFusion components calling Django-Jython objects

2009-04-23 Thread Joshua Partogi
I don't know much about ColdFusion. But if you ever want to call django components you can make a loosely coupled by sending JSON objects from django to your Coldfusion apps. On Apr 24, 9:47 am, EhVK9OAlL9oT wrote: > Hi, > > Can ColdFusion components call Django objects?  Do I need to install >

Re: Show user page on first login.

2009-04-23 Thread Joshua Partogi
On Apr 24, 4:14 am, tristan wrote: > Hi there, > > I'm build a Django web-app with some pinax components, and would like > to show to take the user to a specific page on their first login, and > afterwards not show them that page again. > Has anyone implemented this, or seen any example code fo

Re: django on tomcat

2009-04-23 Thread Joshua Partogi
On Apr 24, 8:33 am, Brendan Miller wrote: > What servers does django support? Is there any way to get it with > cpython to run on top of tomcat? Aren't you suppose to use Jython for that? --~--~-~--~~~---~--~~ You received this message because you are subscribed t

How to add datepicker for InputDateField

2009-04-22 Thread Joshua Partogi
All, I've got an InputDateField in my form, but when it is rendered to the templates, there is no datepicker beside it like the ones in the admin. How do I add this datepicker to an InputDateField in my form? Thank you very much in advance -- If you can't believe in God the chances are your Go

Re: How to relate child instance to Parent?

2009-04-21 Thread Joshua Partogi
toring-additional-... > > You might find that way easier. > > Cheers, > Dougal > > --- > Dougal Matthews - @d0ugalhttp://www.dougalmatthews.com/ > > 2009/4/20 Joshua Partogi : > > > > > Dear all, > > > I have an inheritance model as such: > >

Re: How to relate child instance to Parent?

2009-04-20 Thread Joshua Partogi
to the user object is > here;http://docs.djangoproject.com/en/dev/topics/auth/#storing-additional-... > > You might find that way easier. > > Cheers, > Dougal > > --- > Dougal Matthews - @d0ugalhttp://www.dougalmatthews.com/ > > 2009/4/20 Joshua Partogi : > > >

How to relate child instance to Parent?

2009-04-20 Thread Joshua Partogi
Dear all, I have an inheritance model as such: class User(models.Model) class Staff(User) Now I already have the instance of User inside view: user = User.objects.create(name="Joe") now how do I relate this user instance to the staff instance? I tried looking in the documentation but can no

Re: Resize image on the fly during uploading

2009-04-19 Thread Joshua Partogi
On Apr 20, 10:24 am, Alex Gaynor wrote: > On Sun, Apr 19, 2009 at 8:22 PM, Joshua Partogi wrote: > > > > > > > Dear all, > > > Does django has a wrapper over PIL to resize the image from ImageField > > during uploading? Or do we have to use PIL direc

Resize image on the fly during uploading

2009-04-19 Thread Joshua Partogi
Dear all, Does django has a wrapper over PIL to resize the image from ImageField during uploading? Or do we have to use PIL directly to do this? Thanks in advance -- If you can't believe in God the chances are your God is too small. Read my blog: http://joshuajava.wordpress.com/ Follow us on

Re: Registration

2009-04-19 Thread Joshua Partogi
What exactly your problem? We need more specific details about your errors that you're getting On Apr 19, 7:28 pm, TP wrote: > Still having the same problem if anyone can help? > > On Apr 17, 3:35 pm, TP wrote: > > > > > Hi I have a HTML website and im looking to use Django-registration > > wi

Re: Send validation error message to the screen

2009-04-13 Thread Joshua Partogi
I'm sorry Malcolm, I'm from Java background where I usually put messages on its own stack. If the way django do it is to put it in context, then I'm gonna use it that way. Thanks for clearing this up. :-) Cheers, On Apr 13, 10:35 am, Malcolm Tredinnick wrote: > On Sun, 2009-04-12 at 17:22 -07

Re: Send validation error message to the screen

2009-04-13 Thread Joshua Partogi
Thanks Margie, Let me try that first. Cheers, On Apr 14, 2:12 am, Margie wrote: > Not sure if this is what you are looking for, but I use the > notifications app to add some extra info to my html, to alert the user > that there are errors in the form below or to let them know that there > was

Re: TreePanel in Django

2009-04-13 Thread Joshua Partogi
Yes you can use ext-js with django for this. On Apr 14, 6:23 am, Eduardo Aragón Montes wrote: > Hi everyone..I'm new in django and I'm developing and app that have virtual > storage for users...so i would like to do a treepanel for every user where > they can see what files they have uploaded an

Re: Send validation error message to the screen

2009-04-12 Thread Joshua Partogi
Thanks Malcolm, What I'm looking after is sending my custom validation error message that is not covered by django. Thank you very much On Apr 13, 10:15 am, Malcolm Tredinnick wrote: > On Sun, 2009-04-12 at 23:37 +1000, Joshua Partogi wrote: > > Dear all, > > > I w

Send validation error message to the screen

2009-04-12 Thread Joshua Partogi
Dear all, I want to send and display validation error message from the view to the template, how do I do this in Django? I tried searching on the documents but could not find any topics on error message. Could anyone give me a hint on how to do this? Thank you very much -- If you can't believe

django captcha apps

2009-04-07 Thread Joshua Partogi
Hi all, Can anyone recommend me any good django captcha apps? I tried search on the list but the results that is returned is mostly about errors with django captcha. Thank you very much in advance. -- If you can't believe in God the chances are your God is too small. Read my blog: http://josh

Looking for a django job

2009-04-06 Thread Joshua Partogi
Dear all, Is there any other website that posts django jobs besides http://djangogigs.com/ ? I'm looking for a django job. Thank you very much in advance -- If you can't believe in God the chances are your God is too small. Read my blog: http://joshuajava.wordpress.com/ Follow me on twitter:

Re: django.contrib.auth user password decryption

2009-04-05 Thread Joshua Partogi
I was about to do that. :-D But after thinking about it, I didn't do that. Thanks guys On Apr 5, 6:51 pm, soniiic wrote: > I hope that doesn't mean storing the real password in a table in the > database :) > > On Apr 4, 11:12 pm, Joshua Partogi wrote: > > &g

Re: How to get session data from template

2009-04-05 Thread Joshua Partogi
On Apr 6, 12:25 am, Antoni Aloy wrote: > In your render_to_response don't forget to add > context_instance=RequestContext(request) Thanks. So I have to add this everytime I return render_to_response? I thought I only add it on my login views. Many thanks --~--~-~--~~~-

How to get session data from template

2009-04-05 Thread Joshua Partogi
Dear all, I'd like to get session object because I would like to figure out whether a user is still logged in or not. I tried searching the documents but could not find a way to do it. Using {% if user.is_authenticated %}, the user object is only available in one request but will be dissapeared i

Re: django.contrib.auth user password decryption

2009-04-04 Thread Joshua Partogi
On Apr 4, 11:49 pm, Masklinn wrote: > On 4 Apr 2009, at 15:38 , Joshua Partogi wrote: > > > Dear all, > > > I already take a look at the django.contrib.auth.models but could not > > find any methods for decrypting the user password. > > > Sometimes we need

django.contrib.auth user password decryption

2009-04-04 Thread Joshua Partogi
Dear all, I already take a look at the django.contrib.auth.models but could not find any methods for decrypting the user password. Sometimes we need to get the real text password to be sent to user. What is the best way to do this? Anybody has got an idea? Thank you very much in advance! --

  1   2   >