Make Money $1500.00

2008-02-05 Thread Dee More
At Bux.to, you get paid to click on ads and visit websites. The process is easy! You simply click a link and view a website for *30* seconds to earn money. You can earn even more by referring friends. You'll get paid $0.01 for each website you personally view and $0.01 for each website your referra

Re: Changing expat library...is it easy?

2008-02-05 Thread Giovanni Giorgi
Thank you very much. I will be happy to switch to Python 2.5, abeit this would cause some recompilation and so on. By the way I have fond a fast way to fix the problem. This way is not 100% safe, but works well for me. I downloaded and recompiled expat version 1.95.8, then I installed it replaci

Re: Override admin filters

2008-02-05 Thread Jarek Zgoda
Aaron Fay napisał(a): > I'm wondering if there is a way to override the filters and and > list_display on the built-in users view/model in the django admin. I > would like to be able to filter/sort by group if possible. I asked for that few weeks ago and the answer was "no". There is a ticket

Re: Optimistic Locking

2008-02-05 Thread Tim Sawyer
On Monday 04 Feb 2008, Michael Hipp wrote: > Tim Sawyer wrote: > > If you're going to do that, then couldn't we change the framework to add > > a new VersionField. If there is a VersionField defined on the object, > > then the code on save could automatically be added. This VersionField > > woul

django version for production?

2008-02-05 Thread Aljosa Mohorovic
please post your opinions on using 0.96 or trunk version in production environment. which would you choose and why? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send ema

Re: ForeignKey displaying related values

2008-02-05 Thread Eamon
Hi Rajesh, Yes that worked, thanks for your help. Regards, Eamon On Feb 1, 7:04 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > Hi, > > > I am new to django, please excuse any naivity. > > Welcome to Django :) > > > > > > > I would like to list > > child and related parent records from the scena

Çılgın Dershane Kampta - SoundTrack *Full Albüm*

2008-02-05 Thread www . Bitmezbusevda . com
*WwW.BitmezBusevda.CoM* *Çılgın Dershane Kampta - SoundTrack *Full Albüm** 01. Çılgın Dershane Kampta Nerde Kaldık - Fuchs & Jehan Barbur 02. Çılgın Dershane Kampta sexy Mustafa - Mustafa Topaloğlu 03. Çılgın Dershane Kampta Cebini Söyle - Berna Keser 04. Çılgı

Re: django version for production?

2008-02-05 Thread Jarek Zgoda
Aljosa Mohorovic napisał(a): > please post your opinions on using 0.96 or trunk version in production > environment. > which would you choose and why? My company uses 0.96 and, save some quirks and not-really-usable newforms, it is acceptable. For my personal projects I use svn trunk. -- Jarek

Jacko - Aşk Yasak & Haydi Şimdi (2oo8) FuLL

2008-02-05 Thread www . Bitmezbusevda . com
*WwW.BitmezBusevda.CoM* *Jacko - Aşk Yasak & Haydi Şimdi (2oo8) FuLL* *01 - Ask Yasak 02 - Haydi Simdi 03 - Jacko Geliyor 04 - Simdi Bombos Hersey 05 - Yak Beni 06 - Jacko Geliyor (Ragga Rap) 07 - Suc Bende 08 - Rüyalarim Gercek Olsa 09 - Sevsende Sevmesende 10

Re: django version for production?

2008-02-05 Thread Kenneth Gonsalves
On 05-Feb-08, at 5:27 PM, Aljosa Mohorovic wrote: > please post your opinions on using 0.96 or trunk version in production > environment. > which would you choose and why? trunk - because it has a lot of goodies that .96 doesnt have - 96 is really old -- regards kg http://lawgon.livejourna

Re: Markup Filters (restructuredtext)

2008-02-05 Thread Christian W. Koch
Thanks Craig, will try it when I get home and report on success. =) On Feb 4, 10:52 pm, "Craig Ogg" <[EMAIL PROTECTED]> wrote: > On Feb 4, 2008 4:41 PM, Christian W. Koch <[EMAIL PROTECTED]> wrote: > > > I've been looking for this like crazy, I started using the markup > > filters with great succ

Re: django version for production?

2008-02-05 Thread Pigletto
On 5 Lut, 12:57, Aljosa Mohorovic <[EMAIL PROTECTED]> wrote: > please post your opinions on using 0.96 or trunk version in production > environment. > which would you choose and why? I'm using svn version from newforms-admin branch with some additional patches. As Kenneth already said, svn version

Re: django version for production?

2008-02-05 Thread Jarek Zgoda
Kenneth Gonsalves napisał(a): >>> please post your opinions on using 0.96 or trunk version in >>> production >>> environment. >>> which would you choose and why? >> I'm using svn version from newforms-admin branch with some additional >> patches. >> As Kenneth already said, svn version has a lo

Re: django version for production?

2008-02-05 Thread Kenneth Gonsalves
On 05-Feb-08, at 6:58 PM, Pigletto wrote: >> please post your opinions on using 0.96 or trunk version in >> production >> environment. >> which would you choose and why? > I'm using svn version from newforms-admin branch with some additional > patches. > As Kenneth already said, svn version ha

Big ASS for You WebCam Online & Free

2008-02-05 Thread king sexy
Big ASS for You WebCam Online & Free www.big-asses.c.la www.4film.c.la --~--~-~--~~~---~--~~ 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 unsu

Django and Caching Pages

2008-02-05 Thread boralyl
I'm working on a django project on a development box. I have for the most part the default settings, and I noticed it seems as though every visited page is cached, and if there isn't a redirect to the "cached" page I don't get updated results. For example If I look at a page that has information

permissions

2008-02-05 Thread super
I'm building an application without the django admin. I wan't to run my own permmissions system. The docs say: "Note that if your model doesn't have class Admin set when you run syncdb, the permissions won't be created. If you initialize your database and add class Admin to models after the fact,

Re: Django and Caching Pages

2008-02-05 Thread boralyl
Jonathan, Thanks for your response. I first tested the site in firefox and konqueror and had no problems. When using opera though I noticed it wasn't requesting the page, as you had mentioned. The browser cache was set to check every 5 hours on document requests. I changed it to always and no

Re: how to speed up objects saving

2008-02-05 Thread Alex M.
Thanks everybody for your answers well, I've tried the solutions you've proposed and I've tested them on a part of my import procedure on my dev machine previously, this part was taking about 12 minute to complete -Justin & Rajesh my tables are MyIsam. I've read Django documentation on transact

Re: Django and Caching Pages

2008-02-05 Thread Jonathan Ballet
boralyl wrote: > So when I initially visit the page, it doesn't allow me to rate the > product. So I login and it redirects me to the home page(/). The > home page prints out my user name, so I know I am logged in. However > if I visit that product page again it still won't let me rate the > pr

Re: Model Blues - A Newbie's question

2008-02-05 Thread Rajesh Dhawan
> > When someone is creating a new Article in the admin app I want the new > Article's author field to be the user's id. > > Is that possible ? See: http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser -Rajesh D --~--~-~--~~~---~--~~ You received this m

Re: django version for production?

2008-02-05 Thread Massimiliano Ravelli
On 5 Feb, 14:45, Jarek Zgoda <[EMAIL PROTECTED]> wrote: > If anyone can afford running on trunk (as I do with my personal > projects), then there's no reason to run on 0.96. I agree: I'm running a very recent version of newforms-admin branch in my *production* site with no problem at all. Please

Re: Looking for a security/encryption programmer for small contract

2008-02-05 Thread Francis
Lets say I use pycrypto with AES, like this. obj = AES.new('mykey', AES.MODE_CFB) mytext = "Big secret" cipher = obj.encrypt(mytext) Can I use the same key or I have to change it everytime? Would this be sufficiently secure? Francis On 23 jan, 11:25, Francis <[EMAIL PROTECTED]> wrote: > Hi, >

Re: Django and Caching Pages

2008-02-05 Thread jon
boralyl wrote: > Jonathan, > > Thanks for your response. I first tested the site in firefox and > konqueror and had no problems. When using opera though I noticed it > wasn't requesting the page, as you had mentioned. The browser cache > was set to check every 5 hours on document requests. I c

Re: generic views

2008-02-05 Thread LMZ
do it like this: return object_list( request, **CATEGORY_DETAIL ) read about this: http://docs.python.org/tut/node6.html#SECTION00672 concrete for this example: >>> def parrot(voltage, state='a stiff', action='voom'): ... print "-- This parrot wouldn't", action, ... pri

Code upgrade

2008-02-05 Thread Chris
Hello, does anyone have a script that will upgrade django code from . 91 to .96. I know that there are upgrade scripts out there just not sure where I can obtain them. Would very much like to upgrade code repository to 96. thanks --~--~-~--~~~---~--~~ You received

Operate with privileges

2008-02-05 Thread mike
Perhaps this is a stupid question, but i was thinking of creating a django app that did a few Server administration tasks, add users, edit config files etc. Can anyone point me in the right direction as to how I would be able to execute django views with root permissions? Thx in advance. --~--~--

Re: Django and Caching Pages

2008-02-05 Thread boralyl
Jonathan, Thanks I'll check them out. On Feb 5, 12:12 pm, [EMAIL PROTECTED] wrote: > boralyl wrote: > > Jonathan, > > > Thanks for your response.  I first tested the site in firefox and > > konqueror and had no problems.  When using opera though I noticed it > > wasn't requesting the page, as yo

Re: Code upgrade

2008-02-05 Thread David Marquis
If you didn't make any change to the Django source base, you can simply download the latest release and install the new version. If needed, you could also download the latest development version through the Subversion repository. On 5-Feb-08, at 12:51 PM, Chris wrote: Hello, does anyone

Re: Code upgrade

2008-02-05 Thread James Bennett
On Feb 5, 2008 12:33 PM, David Marquis <[EMAIL PROTECTED]> wrote: > If you didn't make any change to the Django source base, you can > simply download the latest release and install the new version. > If needed, you could also download the latest development version > through the Subversion reposi

Re: Code upgrade

2008-02-05 Thread Chris
so does anyone have such a script on hand. I have partially written one that uses regular expressions to evaluate everything but I think that it is still quite a ways off from getting it to a working point. On Feb 5, 1:52 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Feb 5, 2008 12:33 PM,

Unicode error

2008-02-05 Thread Kristian Øllegaard
Hi there I just upgraded from version 0.96, where i without any problems were running my project. After upgrading, i get an error whenever i interact with the database (tried to read, add or edit). 'ascii' codec can't encode character u'\xd8' in position 0: ordinal not in range(128) Is there a

Re: Unicode error

2008-02-05 Thread Jacob Kaplan-Moss
On 2/5/08, Kristian Øllegaard <[EMAIL PROTECTED]> wrote: > Is there an obvious thing i did wrong? Have you heard about this error > before? This is because of the changes in Unicode handling after 0.96; read more here: http://code.djangoproject.com/wiki/UnicodeBranch#PortingApplicationsTheQuickC

Re: Unicode error

2008-02-05 Thread Kristian Øllegaard
Hi again Ok - my bad. Thanks a lot Regards Kristian On Feb 5, 2008 9:29 PM, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > On 2/5/08, Kristian Øllegaard <[EMAIL PROTECTED]> wrote: > > Is there an obvious thing i did wrong? Have you heard about this error > > before? > > This is because of th

Insert relational record

2008-02-05 Thread Aaron Fay
Hi List, First off, Django is wonderful :) Okay, I'm overriding a save method on a model, and need to jack into another model to add an entry into the db. Now if it was as simple as User, I could just create a new user, right? But the problem is I need to create an entry in a table that is

Improperly configured exception

2008-02-05 Thread Schmoopie
Trying to get manage.py runsever going, I get an exception raised of the following type Improperly configured Error while importing URLconf 'mysite.urls' but there is no explanation here as to what is wrong with the configuration. What could be causing this? --~--~-~--~~-

problem with own tags in templates

2008-02-05 Thread lis2
Hello. I read that many people have problem with tags in template, but nobody can help. Example error: "'test' is not a valid tag library: Could not load template library from django.templatetags.test, No module named test" test.py in templatetags: from django import template register = template

Re: templatetags and import path

2008-02-05 Thread Brian Luft
If I'm correct in my diagnosis, what's happening is that the django.templatetags package is altering the import path: #from django.templatetags.__init__.py for a in settings.INSTALLED_APPS: try: __path__.extend(__import__(a + '.templatetags', {}, {}, ['']).__path__) except ImportE

Re: Improperly configured exception

2008-02-05 Thread Jacob Kaplan-Moss
On 2/5/08, Schmoopie <[EMAIL PROTECTED]> wrote: > Improperly configured > Error while importing URLconf 'mysite.urls' > > but there is no explanation here as to what is wrong with the > configuration. What could be causing this? It probably means that your ROOT_URLCONF, `mysite.urls`, is missing

Re: Questions related to testing Django application using Sqlite

2008-02-05 Thread Jacob Kaplan-Moss
On 2/5/08, Manoj Govindan <[EMAIL PROTECTED]> wrote: > Recently I tried using Sqlite instead of Postgres as the database > engine for testing one of my django applications. > My observations follow: > > 1) Tests ran significantly faster[1]. Under Sqlite tests run in an in-memory database, so this

Re: problem with own tags in templates

2008-02-05 Thread Rajesh Dhawan
> I read that many people have problem with tags in template, but nobody > can help. I am not sure where you read that :) > Example error: > "'test' is not a valid tag library: Could not load template library > from django.templatetags.test, No module named test" What's the name of the Django

Re: Read-only connection to database. How to?

2008-02-05 Thread Julien
Thanks guys for the suggestions. However, what I'd like to have is that the site runs as per usual with a root user (with all priviledges), and that only one particular apps runs with a read-only user. Do I have to create a new connection object within my app code to override Django's, is it possi

Re: Tool recommendations

2008-02-05 Thread Roman Zechner
There are a lot of webframeworks out there from a lot of languages. It's a question in what area you want to use it. Coming from the Java side, I appreciate the simplicity of Django and I am currently using it for a few websites. It has some cool features, a great documentation and is really stra

Template tag parameter

2008-02-05 Thread [EMAIL PROTECTED]
Hello, I've made a tag with I want to call with a function name and parameter like this: {% tag "delete_wiki_entry" "Delete" "Are you sure you want to delete this wikiboard entry?" "delete_wikientry({{entry.name}})" % {{entry.name}} doesn't get replaced by the correct value, how can I do this?

Re: django version for production?

2008-02-05 Thread Kenneth Gonsalves
On 05-Feb-08, at 7:15 PM, Jarek Zgoda wrote: > some day it would not be feasible to port any application to "1.0". I > know personally many people still having their apps running on 0.91 > because of too large amount of work needed to port to any later > version. I have 5 old sites running on

Re: problem with own tags in templates

2008-02-05 Thread lis2
You have right. That was in my main folder so i forgett about it. Thank you very much On 5 Lut, 23:24, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > > I read that many people have problem with tags in template, but nobody > > can help. > > I am not sure where you read that :) > > > Example error: >

Extending Django's admin application

2008-02-05 Thread Brandon Taylor
Hello everyone, I'm a complete n00b with Django, but would like to take advantage of the built-in admin module for small freelance websites. Out-of-the- box, it's pretty freakin' awesome. But, of course, I'd like to extend it. In Rails, there are plugins, plugins and more plugins. One of those i

OneToOne Relationships

2008-02-05 Thread Vance Dubberly
The Documentation has said for as long as I can remember (a year+) that the semantics of a the OneToOne relationship is going to change soon. Any clue as to when this is going to change and/or what it's going to look like? -- To pretend, I actually do the thing: I have therefore only pretended

Re: Extending Django's admin application

2008-02-05 Thread Vance Dubberly
Using the FileField or ImageField will get your files uploaded. Image field is also nice enough to check that it's an image. http://www.djangoproject.com/documentation/model-api/#filefield http://www.djangoproject.com/documentation/model-api/#imagefield Image Field also requires PIL which is wh

Re: Extending Django's admin application

2008-02-05 Thread Brandon Taylor
Excellent, I already have that library installed from working through the book samples. Rails has several plugin websites, like www.agilewebdevelopment.com. Is there something similar for Django? My Google searches haven't come up with a lot in that regard. Thank you, Brandon On Feb 5, 7:58 pm,

Re: OneToOne Relationships

2008-02-05 Thread Malcolm Tredinnick
On Tue, 2008-02-05 at 17:51 -0800, Vance Dubberly wrote: > The Documentation has said for as long as I can remember (a year+) > that the semantics of a the OneToOne relationship is going to change > soon. Any clue as to when this is going to change Soon. > and/or what it's > going to look lik

Re: Markup Filters (restructuredtext)

2008-02-05 Thread Christian W. Koch
Craig, I went your way, and works just great! thanks a lot. I guess I was making things more complicated than they should. THANKS! =) On Feb 4, 10:52 pm, "Craig Ogg" <[EMAIL PROTECTED]> wrote: > On Feb 4, 2008 4:41 PM, Christian W. Koch <[EMAIL PROTECTED]> wrote: > > > I've been looking for

Re: django version for production?

2008-02-05 Thread Christian W. Koch
i'm no django expert, yet, but i use trunk. now, for production purposes i still use trunk because before i "svn up" on production i make sure that the site runs on my development box on the latest trunk. you do have a development environment, right? ;) On Feb 5, 6:57 am, Aljosa Mohorovic <[EMAI

User login form

2008-02-05 Thread eraoul
I'd like a simple, clean way to log users in to my django app. I've read the book and all the docs I can find, but I still don't understand what the right way to do this is. Sure, I can create a form like the simple one in the django book, but the example doesn't handle bad usernames and password

Re: Read-only connection to database. How to?

2008-02-05 Thread koenb
You could take a look at the multidb branch (specifically check out ticket #4747). It is a bit behind on trunk, but the basics should work. It allows you to define multiple connections, so you should be able to connect to the same db using different users. Koen On 5 feb, 23:47, Julien <[EMAIL PR