Re: Satchmo

2007-07-22 Thread kbochert
!SOLVED! For any other SVN clueless out there, the site www.instantdjango.com has a zip package that includes version .97 of Django (as of 5 Jul ). Unzip to a temporary dir and replace site- packages/django Thanks Karl On Jul 22, 8:43 pm, kbochert <[EMAIL PROTECTED]> wrote: > I was

Re: mod_python problem?

2007-07-22 Thread nick feng
Hi Hames, I am not sure about your request,but I suggest you to update your http.conf SetHandler python-program PythonPath "['/var/www/django/'] + sys.path" PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE mysite.settings PythonDebug On If you

Re: mod_python problem?

2007-07-22 Thread Graham Dumpleton
On Jul 23, 2:35 pm, "James McManus" <[EMAIL PROTECTED]> wrote: > I am having two problems using django on an Apache server, with mod_python. > The first problem I found a solution, but it may be causing other problems. > In mysite/urls.py I am not able to use the ^ in: > > (r^'polls/',

Re: Satchmo

2007-07-22 Thread James Bennett
On 7/22/07, kbochert <[EMAIL PROTECTED]> wrote: > If I do install it, will I be able to use it? The Satchmo site has > zips for 'those who have trouble using svn'. If you professionals have > trouble, what chance have I? The biggest problem with SVN that I've seen is not SVN itself, but

Re: Satchmo

2007-07-22 Thread kbochert
Yes I have downloaded it. What am I supposed to do with .lib and .h files? On Jul 22, 9:49 pm, "John Shaffer" <[EMAIL PROTECTED]> wrote: > On 7/22/07, kbochert <[EMAIL PROTECTED]> wrote: > > > That seems to get me a bunch of .h and .lib files -- then what!! > > Here's a direct >

Re: Satchmo

2007-07-22 Thread kbochert
That seems to get me a bunch of .h and .lib files -- then what!! On Jul 22, 9:23 pm, "John Shaffer" <[EMAIL PROTECTED]> wrote: > The subversion windows binaries are available > here:http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=81... > > You want the "svn-win32-1.4.4.zip"

Re: Satchmo

2007-07-22 Thread kbochert
A year or two ago I installed that M$ msi stuff and got very scared at the changed behavior of my computer and removed it (I think, mostly). I may just have been paranoid, but I would rather avoid downloading anything from M$. If I do install it, will I be able to use it? The Satchmo site has

Re: Satchmo

2007-07-22 Thread John Shaffer
On 7/22/07, kbochert <[EMAIL PROTECTED]> wrote: > That seems to get me a bunch of .h and .lib files -- then what!! Here's a direct link: http://subversion.tigris.org/files/documents/15/38212/svn-win32-1.4.4.zip --~--~-~--~~~---~--~~ You received this message

mod_python problem?

2007-07-22 Thread James McManus
I am having two problems using django on an Apache server, with mod_python. The first problem I found a solution, but it may be causing other problems. In mysite/urls.py I am not able to use the ^ in: (r^'polls/', include('mysite.polls.urls')), It causes a 404 error. I do not have this problem

Re: Satchmo

2007-07-22 Thread Forest Bond
On Sun, Jul 22, 2007 at 09:35:37PM -0700, kbochert wrote: > > Just looked that up. Perhaps that's the best option... of course that > means I have to install M$ installer, install Tortoise and start using > windows explorer. Not exactly user-friendly. Isn't this standard operating procedure for

Re: Satchmo

2007-07-22 Thread kbochert
Just looked that up. Perhaps that's the best option... of course that means I have to install M$ installer, install Tortoise and start using windows explorer. Not exactly user-friendly. Am I wrong in thinking that a member of the Django team (or most Django users with access to a website) could

Re: Satchmo

2007-07-22 Thread John Shaffer
The subversion windows binaries are available here: http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100=8100=8100 You want the "svn-win32-1.4.4.zip" file. TortoiseSVN might be easier to work with: http://tortoisesvn.tigris.org/

Re: Django db-api or raw SQL: getting top 10 blog posters

2007-07-22 Thread Patrick
On Sun, 22 Jul 2007 21:59:56 -0500, James Bennett wrote: > On 7/22/07, Patrick <[EMAIL PROTECTED]> wrote: >> What would be the most efficient way to get 10 top authors using Django >> db-api? Or should I switch to raw SQL to handle this query? > > The most efficient way would be to use raw SQL.

Installing with Cari.net dedicated server : HELP NEEDED!!

2007-07-22 Thread EternalTomorrow
I was wondering if anyone had any advice for installing Django on Cari.net I have SSH access to my server and have successfully intalled Django using the instructions, but wanting to know what i need to updated in my httpd.conf file ... to work with my virtual hosted domains. I have been

Re: Satchmo

2007-07-22 Thread Ben Ford
Can't you just use tortoise SVN or something similar...? On 23/07/07, kbochert <[EMAIL PROTECTED]> wrote: > > > I was hoping to try Satchmo, the Django shopping cart. > > Unfortunately, it uses 'DecimalField' which is only available in the > SVN versionof Django. I'm using Win2k, so to get the

Satchmo

2007-07-22 Thread kbochert
I was hoping to try Satchmo, the Django shopping cart. Unfortunately, it uses 'DecimalField' which is only available in the SVN versionof Django. I'm using Win2k, so to get the svn version I must install SVN, which means that I have to install APR, which is only available as source, which means

Re: How to display all my post data

2007-07-22 Thread Doug B
Assuming you just want to debug and are using the dev server you can just do "print request.POST" and it will show up on the dev server console. The results aren't all that pretty, but usable. --~--~-~--~~~---~--~~ You received this message because you are

latest django version

2007-07-22 Thread james_027
Hi, I would like to use the latest django version. i am trying to use tortoise SVN to get the latest version, but iam always getting this error Error * REPORT request failed on 'http://code.djangoproject.com/svn/ django/trunk/django' REPORT of 'http://code.djangoproject.com/svn/

Re: Django db-api or raw SQL: getting top 10 blog posters

2007-07-22 Thread James Bennett
On 7/22/07, Patrick <[EMAIL PROTECTED]> wrote: > What would be the most efficient way to get 10 top authors using Django > db-api? Or should I switch to raw SQL to handle this query? The most efficient way would be to use raw SQL. There are a couple queries like that on djangosnippets.org to get

Django db-api or raw SQL: getting top 10 blog posters

2007-07-22 Thread Patrick
Hi, I have a small issue, which I'm not sure how to handle using Django db-api. This is part of my Blog model: class Post(models.Model): author = models.ForeignKey(User) ... What would be the most efficient way to get 10 top authors using Django db-api? Or should I switch to

Re: Advertisement Management

2007-07-22 Thread Carl Karsten
Steve wrote: > Does anybody know about a publicly available ad management program > written using Django that I could easily drop into my project? If > there isn't one, I could always write my own, but if there's one > already started I'd rather not reinvent the wheel. > The "drop into my

How to display all my post data

2007-07-22 Thread Greg
I want to know what variables were 'POST' to my view. I have the following function def addto(request): if request.method == 'POST': s = Style.objects.get(id=request['size_id']) c = Choice.objects.get(id=request['prsdfdfice_id']) assert

reverse pagination

2007-07-22 Thread Amit Upadhyay
Hi, You are all aware of object pagination, search results, your photo on flickr, stories on reddit, all have a next page/previous page paradigm. Django makes it trivially easy to create such pages by providing object_list generic view. There are some problems with the current implementation of

Advertisement Management

2007-07-22 Thread Steve
Does anybody know about a publicly available ad management program written using Django that I could easily drop into my project? If there isn't one, I could always write my own, but if there's one already started I'd rather not reinvent the wheel.

suggestion for sql error handling

2007-07-22 Thread Andrey Khavryuchenko
Hi! Sometimes we all get sql errors from our code. Nevertheless the traceback kind of File "/usr/lib/python2.4/site-packages/django/db/models/query.py", line 242, in count cursor.execute("SELECT COUNT(*)" + sql, params) File

Re: meta path_info, yet again

2007-07-22 Thread Graham Dumpleton
On Jul 19, 7:56 pm, Bram - Smartelectronix <[EMAIL PROTECTED]> wrote: > hello everone, > > a while back I mailed about a problem with path_info. Basically I'm > having the same problem and the previous fix we discussed no longer works. > > I'm getting this behavior: > > http://www.com/a/=>

Re: Flash Message template tag

2007-07-22 Thread rtconner
Are you talking about the Authentication message system found here? http://www.djangoproject.com/documentation/authentication/#messages One of the features of flash messages in other frameworks I've used .. is that as soon as the message gets rendered it is deleted from the session. It's been

Re: Wanted A PERSON design a software (account number, the password producer )

2007-07-22 Thread rtconner
On Jul 22, 9:17 am, Derek Anderson <[EMAIL PROTECTED]> wrote: > Tim Chase wrote: > > Or, if you're away from the web, [...] > > because his secretary prints out and hand-delivers his emails? ;-P That was funny. :P --~--~-~--~~~---~--~~ You received this message

File upload using Flash

2007-07-22 Thread [EMAIL PROTECTED]
Hi all, some time ago, probably on this list, someone posted a link to a component in Flash with which you could do file upload from Django. The component featured a progress bar. Does anybody have a link to it? Thanks, Lorenzo --~--~-~--~~~---~--~~ You

Re: refreshing won't reload page

2007-07-22 Thread Florian Apolloner
On Jul 22, 10:01 pm, "Evan H. Carmi" <[EMAIL PROTECTED]> wrote: > Florian Apolloner wrote: > > After editing your code, you will need to touch fcgi file > > Can you be more explicit. I know the location of a lighttpd.sh init > file. But I am not sure if there is a fcgi file somewhere? > > Evan

Re: refreshing won't reload page

2007-07-22 Thread Evan H. Carmi
Florian Apolloner wrote: > After editing your code, you will need to touch fcgi file Can you be more explicit. I know the location of a lighttpd.sh init file. But I am not sure if there is a fcgi file somewhere? Evan --~--~-~--~~~---~--~~ You received this

Re: i18n on win 32 : make_message.py doesn't find anything to translate

2007-07-22 Thread Ramiro Morales
On 7/22/07, koenb <[EMAIL PROTECTED]> wrote: > > Check ticket 4899. It is the newline thing. The extra chr(13) under > Windows breaks the fix from the ticket. > Oops. Yes I've just found the same, it seems I broke it under win32 with the mod using itertools.dropwhile(). Find attached to that

Re: Wanted A PERSON design a software (account number, the password producer )

2007-07-22 Thread Derek Anderson
Tim Chase wrote: > > This is also why I prefer mercurial (hg) as my version-control. > Svn is nice if you're connected to your central repository all > the time, but I also like to be able to use my version-control > while I'm disconnected...yet still be able to sync up to a main > repo. I

Startup help !!bug!!

2007-07-22 Thread kbochert
Seems unlikely but heres some detail on the problem reported in 'Startup help' An exception was being raised in loading.py:get_app(app_label, emptyOK = False) This function was being called twice, the second time with an empty app_label and emptyOK False. It seems that

Re: Wanted A PERSON design a software (account number, the password producer )

2007-07-22 Thread Tim Chase
>> Or, if you're away from the web, [...] > > because his secretary prints out and hand-delivers his emails? ;-P Or, as I frequently do, download my email before going offline (whether on a plane, on a bus, at a site without network access, etc). Reading through the email offline, it's nice

Re: 4 arguments (5 given), in part 4 of tutorial

2007-07-22 Thread James McManus
Thanks! On 7/22/07, Collin Grady <[EMAIL PROTECTED]> wrote: > > > If you're using 0.96, you must follow the 0.96 tutorial instead, at > http://djangoproject.com/documentation/0.96/tutorial04/ > > > > > --~--~-~--~~~---~--~~ You received this message because you

Re: i18n on win 32 : make_message.py doesn't find anything to translate

2007-07-22 Thread koenb
Check ticket 4899. It is the newline thing. The extra chr(13) under Windows breaks the fix from the ticket. Koen --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: 4 arguments (5 given), in part 4 of tutorial

2007-07-22 Thread Collin Grady
If you're using 0.96, you must follow the 0.96 tutorial instead, at http://djangoproject.com/documentation/0.96/tutorial04/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: edit_inline and empty models

2007-07-22 Thread Collin Grady
Don't set a FileField or ImageField as core=True, it won't work as expected. Maybe make the alt text core=True instead, or require a name for the model? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: i18n on win 32 : make_message.py doesn't find anything to translate

2007-07-22 Thread Carl Karsten
olivier wrote: > Hi Carl, > > Actually, it seems like the header stripping on line 122 of make- > message.py is too aggressive and removes all lines of the output of > xgettext. > > I replaced : > > msgs = '\n'.join(dropwhile(len, > msgs.split('\n'))) > > by: > >

Startup help

2007-07-22 Thread kbochert
Just starting. I have followed the polls tutorial up to where it suggests 'python manage.py sql polls' To see the sql generated for the polls app. I get an error message that ends with: django.core.exceptions.ImproperlyConfigured: App with label could not be found If I try 'python

Re: foreign key on database not created with models referencing from other application

2007-07-22 Thread james_027
Thanks russ I greatly appreciate it!, I'll just wait for the fix. cheers, james On Jul 22, 11:01 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 7/22/07, james_027 <[EMAIL PROTECTED]> wrote: > > > > > the profile table's dell has constraint clause in it, while the > > cellusage table

Re: refreshing won't reload page

2007-07-22 Thread Florian Apolloner
After editing your code, you will need to touch fcgi file, and then lighty will restart python and reimport everything... On 21 Jul., 22:39, "Evan H. Carmi" <[EMAIL PROTECTED]> wrote: > Hello, > > I am running Django with lighttpd. I will make a change in the code and > try and refresh the page

Re: Wanted A PERSON design a software (account number, the password producer )

2007-07-22 Thread Derek Anderson
Tim Chase wrote: > Or, if you're away from the web, [...] because his secretary prints out and hand-delivers his emails? ;-P --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

prepare() on oldforms.CheckboxSelectMultipleField not working properly?

2007-07-22 Thread Daniel Kvasnicka jr.
Hi people, I've built a user registration form based on the example from Django Book (http://www.djangobook.com/en/beta/chapter12/ -- Handling Registration). I extended the form with several additional fields, two of them being CheckboxSelectMultipleFields. The problem is that after calling:

Re: foreign key on database not created with models referencing from other application

2007-07-22 Thread Russell Keith-Magee
On 7/22/07, james_027 <[EMAIL PROTECTED]> wrote: > > the profile table's dell has constraint clause in it, while the > cellusage table has no constraint clause only key clause is only tells > that it is index. That appears to be the effect of ticket #2720 [1] that I mentioned earlier. The

4 arguments (5 given), in part 4 of tutorial

2007-07-22 Thread James McManus
I am doing the Django tutorial. I have got everything to work up to the point in Part 4, where I replace: from django.conf.urls.defaults import * urlpatterns = patterns('mysite.polls.views', (r'^$', 'index'), (r'^(?P\d+)/$', 'detail'), (r'^(?P\d+)/results/$', 'results'),

Re: Null=True not respected by admin?

2007-07-22 Thread Russell Keith-Magee
On 7/22/07, sagi s <[EMAIL PROTECTED]> wrote: > > I created a table where some of the fields have null=True since it's > okay for them to be empty. > Looking at the schema in mysql this option was correctly translated > into the DB's schema, however when I try to add an entry via the admin >

Re: How to communicate with Authorize.net?

2007-07-22 Thread Chris Moffitt
The url for satchmo is - http://www.satchmoproject.com The module that sends data to authorize.net is here- http://www.satchmoproject.com/trac/browser/satchmo/trunk/satchmo/payment/modules/authorizenet/processor.py -Chris --~--~-~--~~~---~--~~ You received this

Re: Script works in django and in manage.py but doesn't anywhere else

2007-07-22 Thread Kai Kuehne
Hi Russel, On 7/22/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > You need to set up your PYTHONPATH. Your project should be in your > PYTHONPATH, so that Django can import your project, and the apps in > that project. Your script has an explicit workaround for this problem > with

Re: i18n on win 32 : make_message.py doesn't find anything to translate

2007-07-22 Thread olivier
Hi Carl, Actually, it seems like the header stripping on line 122 of make- message.py is too aggressive and removes all lines of the output of xgettext. I replaced : msgs = '\n'.join(dropwhile(len, msgs.split('\n'))) by: lines =

Null=True not respected by admin?

2007-07-22 Thread sagi s
I created a table where some of the fields have null=True since it's okay for them to be empty. Looking at the schema in mysql this option was correctly translated into the DB's schema, however when I try to add an entry via the admin interface I get errors on those fields saying that 'This field

Re: How to communicate with Authorize.net?

2007-07-22 Thread Christian Hoeppner
Greg escribió: > Is there any documentation on how to send form data to a Authorize.net > from within a Django view? > > Thanks > > > --~--~-~--~~~---~--~~ > You received this message because you are subscribed to the Google Groups > "Django users" group. > To

Re: Wanted A PERSON design a software (account number, the password producer )

2007-07-22 Thread Tim Chase
>> Who may help me to design a software? I want an account number, the >> password producer (because I do not have means to think of quite good >> account number password) > > If I understand you correctly, I think you're looking for a random > password generator. Just search Google for

What AT, Earthlink, and AOL don't want you to know.

2007-07-22 Thread wpjam
Unlimited T1 Mobile Wireless Internet for $19.95 a month! Everyone will want this! Not WiFi... Not WiMAX... ...Meet the next Generation of T1 Wireless Broadband ...Unlimited T1 Mobile Wireless Internet As compared to any existing mobile wireless Internet or wireless broadband

Re: Wanted A PERSON design a software (account number, the password producer )

2007-07-22 Thread Tyson Tate
On Jul 22, 2007, at 12:15 AM, Alvin wrote: > Who may help me to design a software? I want an account number, the > password producer (because I do not have means to think of quite good > account number password) If I understand you correctly, I think you're looking for a random password

Wanted A PERSON design a software (account number, the password producer )

2007-07-22 Thread Alvin
Who may help me to design a software? I want an account number, the password producer (because I do not have means to think of quite good account number password) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Google's Disappointing Quarter

2007-07-22 Thread suntzu
The search giant's second-quarter earnings lagged analysts' predictions. One reason: the tight labor market for tech workers Google made no apologies on July 19 for missing analysts' earnings expectations in the second quarter. Simply put, Google executives said they overspent on luring quality

Re: Using the enumerate() function in a loop?

2007-07-22 Thread Clarence Huang
On 7/22/07, Clarence Huang <[EMAIL PROTECTED]> wrote: > > I am the Django users member? You have not told me? If is, may tell me > your here some people to meet the formula design? If some can help me to > design an account number, the password producer? (Because I each time all do > not have

Re: Using the enumerate() function in a loop?

2007-07-22 Thread Clarence Huang
I am the Django users member? You have not told me? If is, may tell me your here some people to meet the formula design? If some can help me to design an account number, the password producer? (Because I each time all do not have means to find out a quite good account number, password)

Re: Using the enumerate() function in a loop?

2007-07-22 Thread Stefan Matthias Aust
Greg, 2007/7/22, Greg <[EMAIL PROTECTED]>: > Does anybody know how I can get the list position so I can put it in > the url? Search for "forloop.counter0" on http://www.djangoproject.com/documentation/templates/#for -- Stefan Matthias Aust

Re: Which database, and why?

2007-07-22 Thread Nicola Larosa
Tim Chase wrote: > I think it's this historical baggage of non-ANSI-compliance for MySQL > that dings it to a lower status than PostgreSQL. As the newer, more > compliant versions of MySQL begin to be more available on hosting > services, this gap will close. MySQL developers made many wrong