Mod_Python and everything loaded, Apache serving HTML files without using Django first

2010-11-01 Thread The End
I've finally got mod_python and mysqldb working with apache (long story short, can't install wsgi for various reasons and i'm using python 2.4.3... for various reasons...). However Now when i load up the home page (just typing 'localhost' into firefox) i get the literal HTML representation of ind

Re: Using localflavor with admin?

2010-11-01 Thread Victor Hooi
heya, Thanks for your answer - I posted a reply (doesn't seem to work for non-US), however, it doesn't seem to have appeared on the web-version of Groups, so I thought I'd email you directly, just in case you missed it and happened to know. Thanks, Victor Hmm, I'm actually trying this Australian

Reverse Query Name Clash?

2010-11-01 Thread Victor Hooi
Hi, I'm getting a error about reverse query name clashes with my models. We have a Django app to manage conferences and conference attendees. In our models.py, two of the models we have are: 1. Person, representing people attending people attending a conference. Each person also has a "church"

Re: Using localflavor with admin?

2010-11-01 Thread Victor Hooi
heya, Hmm, I'm actually trying this Australian localisation. However, the weird thing is, there's a US models.py: http://code.djangoproject.com/browser/django/trunk/django/contrib/localflavor/us/models.py But there's no such models.py for other countries. E.g., for Australia: http://code.djang

Re: Mongo and the Admin

2010-11-01 Thread Russell Keith-Magee
On Tue, Nov 2, 2010 at 9:15 AM, Vitaly Babiy wrote: > Hey guys, > I know there has been work done with nosql I was wondering if the admin > works with mongo yet? Yes, with an if; no, with a but :-) In trunk/stable, the answer is no. The ORM doesn't work with MongoDB yet, so there's no chance tha

Mongo and the Admin

2010-11-01 Thread Vitaly Babiy
Hey guys, I know there has been work done with nosql I was wondering if the admin works with mongo yet? Thank, Vitaly Babiy -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To u

django app to support installation of qr code decoder

2010-11-01 Thread CreativeConvergence
Hi, I'd like to know if someone is already working on a django application (under BSD or MIT license) to help first time qr-code users select a qr-code reader compatible with their smartphone. Frédéric (Qr-Code are 2D Barcodes with high density and they can encode URL. They are very usefull for g

How can I pre-filter the content that goes into the ModelAdmin.filter_horizontal

2010-11-01 Thread codingJoe
Tricky little problem here. I am using horizontal_filter to assign a massive amount of students to their advisors. The horizontal filter works, but I see students from the entire district.How can I pre-filter the data going into the filter_horizontal widget to only show students at the Advisor

xml-rpc

2010-11-01 Thread Lic . José M . Rodriguez Bacallao
is possible tu run xml-rpc code from django_xmlrpc project through django test server (python manage.py runserver)? -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica - Todos somos muy ignorantes, lo que ocurre es que no t

Re: about file uploading

2010-11-01 Thread Lic . José M . Rodriguez Bacallao
thanks, I was reading this url right now!!! On Mon, Nov 1, 2010 at 2:49 PM, James wrote: > You can use webdav to help accomplish that goal. > > See: > http://stackoverflow.com/questions/492307/uploading-big-files-over-http/1499819#1499819 > > (from the link Cal provided) > > -james > > On Mon, N

Re: about file uploading

2010-11-01 Thread James
You can use webdav to help accomplish that goal. See: http://stackoverflow.com/questions/492307/uploading-big-files-over-http/1499819#1499819 (from the link Cal provided) -james On Mon, Nov 1, 2010 at 2:19 PM, Lic. José M. Rodriguez Bacallao wrote: > with webdav can I uploading a file, interr

Re: Repost Admin Site Without Graphics

2010-11-01 Thread Robbington
Hi, By 'with out graphics' do you mean no css or Javascript? If so you want to make sure the value for these 3 varibles are correct as its not governed by the templates list. MEDIA_ROOT = ' /var/www/django_project/media' # Where media is the copied folder of admin media or a symbolic link if you

Re: Cherokee for home developing

2010-11-01 Thread Max Countryman
For example, if you are using uWSGI 0.9.2.6 you can use an XML document similar to this: /srv/python-environments/voxinfinitus/ /srv/python-environments/ DJANGO_SETTINGS_MODULE=voxinfinitus.settings django.core.handlers.wsgi:WSGIHandler() 6 /tmp/cherokee/voxi-live.so

Re: Cherokee for home developing

2010-11-01 Thread Karim Gorjux
On Mon, Nov 1, 2010 at 21:21, Max Countryman wrote: > Karim, I would set it up using a UNIX socket. Then all you have to do is rm > the socket path. :) There is no need to kill uWSGI in that case. Let me study that, because there is always a newbie side in me that sometimes scream out :D If this

Re: Cherokee for home developing

2010-11-01 Thread Max Countryman
Karim, I would set it up using a UNIX socket. Then all you have to do is rm the socket path. :) There is no need to kill uWSGI in that case. On Nov 1, 2010, at 3:13 PM, Karim Gorjux wrote: > On Sun, Oct 31, 2010 at 01:27, Max Countryman wrote: >> Yes, absolutely. :D Good luck! > > Max, I'm try

Re: about file uploading

2010-11-01 Thread Lic . José M . Rodriguez Bacallao
with webdav can I uploading a file, interrupt it the then resume the upload again starting from an offset of the previously uploading file ? On Mon, Nov 1, 2010 at 1:54 PM, James wrote: > WebDav will not work for you? > -james > > On Mon, Nov 1, 2010 at 1:37 PM, Lic. José M. Rodriguez Bacallao >

Re: Cherokee for home developing

2010-11-01 Thread Karim Gorjux
On Sun, Oct 31, 2010 at 01:27, Max Countryman wrote: > Yes, absolutely. :D Good luck! Max, I'm trying with uwsgi and Cherokee. Seems to work, but if I edit the code, I have to kill the uwsgi process to see the modification on the browser. Is that normal? -- K. Blog Personale: http://www.karimbl

Re: about file uploading

2010-11-01 Thread James
WebDav will not work for you? -james On Mon, Nov 1, 2010 at 1:37 PM, Lic. José M. Rodriguez Bacallao wrote: > yes, I saw that page but this is a complete application, I need > someting with source code for mimifiying in django > > On Mon, Nov 1, 2010 at 1:35 PM, Cal Leeming [Simplicity Media Ltd]

Trying to determine the duplicate SQL queries from my view code

2010-11-01 Thread Matteius
In this case there is no form POST data so that code gets skipped. I started profiling with the django_debugger_toolbar and my SQL data results are at the bottom. There are duplicate SQL select statements for handin_course and auth_user which doesn't make sense to me as I understand how views sho

Repost Admin Site Without Graphics

2010-11-01 Thread octopusgrabbus
Sorry for reposting a previous question, but Google temporarily blocked my access to Groups for going back too far, too fast in this group to find my original post. My admin site works, but without graphics. I've done the following to fix this. TEMPLATE_DIRS = ( # Put strings here, like "/ho

Re: about file uploading

2010-11-01 Thread Lic . José M . Rodriguez Bacallao
yes, I saw that page but this is a complete application, I need someting with source code for mimifiying in django On Mon, Nov 1, 2010 at 1:35 PM, Cal Leeming [Simplicity Media Ltd] wrote: > Here, let me google that for you.. > http://www.radinks.com/upload/plus/resume.php > http://www.google

Re: about file uploading

2010-11-01 Thread Cal Leeming [Simplicity Media Ltd]
Here, let me google that for you.. http://www.radinks.com/upload/plus/resume.php http://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=http+upload+resume Please make sure you make reasonable attempt to find the answer yourself on Google, ot

about file uploading

2010-11-01 Thread Lic . José M . Rodriguez Bacallao
hi folks, I need to develop an application for uploading big files but one requirement is that I must be able to resume a partially uploaded file. How can I achieve this with django, any ideas? -- Lic. José M. Rodriguez Bacallao Centro de Biofisica Medica -

Re: 2D map application: performance and design question

2010-11-01 Thread Lars Ruoff
Ok, thanks all, So following Bill's advice, i did: >python manage.py shell >>> import game.models >>> list(game.models.Location.objects.filter( \ ... x__gte=34, \ ... x__lte=46, \ ... y__gte=24, \ ... y__lte=36)) ...and the result showed up instantly! So it seems DB is not the issue. Will

Re: table namespace hygiene: should I try to rename auth_* tables, or should I use a separate database?

2010-11-01 Thread Alex
I poked around a little, and it looks like MySQL actually does support foreign keys across databases. I guess my questions are: As long as the separate databases are not explicitly distributed eg. to different machines or different CPUs, is there any disadvantage to joining or constraining across

Re: Aggregates are giving the wrong numbers for .annotate()? What am I doing wrong?

2010-11-01 Thread Tom Evans
On Fri, Oct 29, 2010 at 6:30 PM, Jumpfroggy wrote: > Hi all, > > I've been working in django for a while now, but am still wrapping my > head around the more complex queryset features. > > I have something like this: > > class Foo: >    name = CharField() >    bars = ForeignKey(Bar) >    widgets =

Re: odd apache issues

2010-11-01 Thread Matthew Stroud
I have found the issue, it appears that I didn't have the compression development libraries installed while compiling mod_wsgi. After installing those and recompiling, the issue has gone away. Thanks for the help. On Oct 28, 2010, at 3:07 PM, kicker wrote: > I'm having an odd issue when I star

Re: Is mod_wsgi web application container?

2010-11-01 Thread Frank Wiles
On Mon, Nov 1, 2010 at 10:41 AM, funcrush wrote: > Hi all :) > Recently, I made REST API that getting a post and deploy it with > Apache (django + mod_wsgi..) > But maybe, mod_wsgi is not container like tomcat (If I was wrong, > please tell me..) > (I don't know what I need exactly but..) > Could

Re: Apache config. admin page displays without stylesheets

2010-11-01 Thread Frank Wiles
On Sun, Oct 31, 2010 at 6:14 PM, elliot wrote: > Django runs as expected using manage.py runserver, but when I run it > from apache certain files are not found. > > This is because the apache user has a different base directory than > the user running manage.py.  So, I added absolute paths to my >

Re: Using formsets with multiple models

2010-11-01 Thread Matt Conrad
On Fri, Oct 29, 2010 at 11:58 AM, Bill Brigham wrote: > On a questionnaire, you have one or more questions which will require > either an essay answer or multiple choice answers. When creating a new > questionnaire, I would like to show a textarea for the Question.text > common to both types, a r

Is mod_wsgi web application container?

2010-11-01 Thread funcrush
Hi all :) Recently, I made REST API that getting a post and deploy it with Apache (django + mod_wsgi..) But maybe, mod_wsgi is not container like tomcat (If I was wrong, please tell me..) (I don't know what I need exactly but..) Could I use mod_wsgi as web application container? Sorry for poor Eng

Re: 2D map application: performance and design question

2010-11-01 Thread Bill Freeman
My experience with Django debug toolbar is that it makes things slow all by itself. I have done a couple of apps that use the equivalent query, using PostgreSQL, without noticing a performance issue, with everything running on a Linux server. 1. Have you tried timing the query by hand? That is,

Re: django-voting url pattern

2010-11-01 Thread Sithembewena Lloyd Dube
Thanks Daniel, makes sense. Also, I was making the mistake of thinking that I had to create a separate view, forgetting that I am calling the one supplied by django-voting. That correct? On Mon, Nov 1, 2010 at 3:45 PM, Daniel Roseman wrote: > On Nov 1, 1:23 pm, Sithembewena Lloyd Dube wrote: >

Re: Executing ssh scripts with django

2010-11-01 Thread Knut Ivar Nesheim
On Mon, Nov 1, 2010 at 3:17 PM, Marc Aymerich wrote: > I've never heard before about configuration management systems. Now I just > read something about it on wikipedia and seems to be useful when you have a > lot of similar servers. In my organization we have only one web server, one > DB server

Re: Filtering Admin Inlines

2010-11-01 Thread derek
Its not clear if you want to filter the choices before the form is displayed, or dynamically in the browser? On Oct 26, 7:29 pm, Lllama wrote: > Hello all, > > I've got an admin site that includes some inlines. These in turn > contain a ChoiceField. I'd like to filter the choices based on an > at

Re: ImportError: Could not import settings 'flyp.settings' (Is it on sys.path? Does it have syntax errors?): No module named flyp.settings

2010-11-01 Thread Tom Evans
Perhaps try sending the same question another 3 times in an hour, that always encourages people to help you. > ImportError: Could not import settings 'flyp.settings' (Is it on > sys.path? Does it have syntax errors?): No module named flyp.settings Is it on sys.path? Does it have syntax errors?

Re: Editing user profiles via "inlines" breaks password management in admin site

2010-11-01 Thread derek
Update: seemingly the "two stage" is the way to do it. I have not managed to get any alternative methods to work (and there are more pressing problems :) On Oct 27, 9:07?am, derek wrote: > Actually, it seems more complex... ?you now have a 2 stage operation > to carry out what should be a relati

Re: Executing ssh scripts with django

2010-11-01 Thread Andrej
> I'm developing an ISP control panel for my organization. a bit off topic on Django and ISP. Look at the NOC Project http://www.nocproject.org/ > NOC is an Operation Support System (OSS) for the Telco, > Service provider and Enterprise Network Operation Centers (NOC). > Written in Python languag

Re: minimum system requirements

2010-11-01 Thread Peter Herndon
On Oct 31, 2010, at 9:50 PM, Javier Guerra Giraldez wrote: > On Sun, Oct 31, 2010 at 12:10 PM, Peter Herndon wrote: >> but I would not expect that single VPS to be able to handle more than a very >> small number of visitors at once. > > only if you consider several dozens "a very small number

ImportError: Could not import settings 'flyp.settings' (Is it on sys.path? Does it have syntax errors?): No module named flyp.settings

2010-11-01 Thread sami nathan
MY system path is D:\Python25\Lib\site-packages\django\bin\admin.py;D:\Python25;D:\Program Files\Subversion\bin:D:\Python25\Lib\site-packages\django;D:\Python25\Lib\site-packages\django\bin\flyp;D:\Python25\Tools;D:\Python25\Lib\site-packages\django\bin\flyp\settings; my LOCATION looks like this

Re: Executing ssh scripts with django

2010-11-01 Thread Marc Aymerich
Hi Knut, many thanks for your recommendations, I'll follow them!. All you've comment has a lot of sense :) I've never heard before about configuration management systems. Now I just read something about it on wikipedia and seems to be useful when you have a lot of similar servers. In my organizati

Re: Free Blog built on Django and run in AppEngine

2010-11-01 Thread Sithembewena Lloyd Dube
Thanks Russ! On Mon, Nov 1, 2010 at 3:53 PM, Russell Keith-Magee wrote: > On Mon, Nov 1, 2010 at 9:43 PM, Sithembewena Lloyd Dube > wrote: > > > > Could somebody please take care of this idiot?? Spammed me after my > response to a thread post. > > > > I've just banned the account. > > Interesti

Re: Free Blog built on Django and run in AppEngine

2010-11-01 Thread Russell Keith-Magee
On Mon, Nov 1, 2010 at 9:43 PM, Sithembewena Lloyd Dube wrote: > > Could somebody please take care of this idiot?? Spammed me after my response > to a thread post. > I've just banned the account. Interestingly, he was mailing list members directly, not spamming the list. This is an approach tha

Fwd: ImportError: Could not import settings 'flyp.settings' (Is it on sys.path? Does it have syntax errors?): No module named flyp.settings

2010-11-01 Thread sami nathan
-- Forwarded message -- From: sami nathan Date: Mon, Nov 1, 2010 at 6:42 PM Subject: ImportError: Could not import settings 'flyp.settings' (Is it on sys.path? Does it have syntax errors?): No module named flyp.settings To: django-users@googlegroups.com MY system path is D:\Pytho

Re: django-voting url pattern

2010-11-01 Thread Daniel Roseman
On Nov 1, 1:23 pm, Sithembewena Lloyd Dube wrote: > Hi all, > > I have django-voting installed and am trying to get through the 'recipe'.  I > have a url pattern which (I expect) should route voting actions to a view. > > Problem is, which view or views should handle this? The URL pattern is as >

Re: Free Blog built on Django and run in AppEngine

2010-11-01 Thread Sithembewena Lloyd Dube
Could somebody please take care of this idiot?? Spammed me after my response to a thread post. On Mon, Nov 1, 2010 at 3:19 PM, dipti seni wrote: > >> * DO YOU LIKE LOVE MARRIAGE >> ? >> * >> >> >> Free Register

Re: Howto crypt forms in Django?

2010-11-01 Thread ckar...@googlemail.com
Hi Cal, thanks for your informations. Now it's clear. Christian On 1 Nov., 13:27, "Cal Leeming [Simplicity Media Ltd]" wrote: > Hi Christian, > > Can I just also mention, that relying on encrypted forms (based on a > static key from the server) is not very good practice. > > At the very most, y

django-voting url pattern

2010-11-01 Thread Sithembewena Lloyd Dube
Hi all, I have django-voting installed and am trying to get through the 'recipe'. I have a url pattern which (I expect) should route voting actions to a view. Problem is, which view or views should handle this? The URL pattern is as follows: (r'^videos/(?P\d+)/(?P*up|down|clear)*vote/?$',

ImportError: Could not import settings 'flyp.settings' (Is it on sys.path? Does it have syntax errors?): No module named flyp.settings

2010-11-01 Thread sami nathan
MY system path is D:\Python25\Lib\site-packages\django\bin\admin.py;D:\Python25;D:\Program Files\Subversion\bin:D:\Python25\Lib\site-packages\django;D:\Python25\Lib\site-packages\django\bin\flyp;D:\Python25\Tools;D:\Python25\Lib\site-packages\django\bin\flyp\settings; my LOCATION looks like this

Re: Free Blog built on Django and run in AppEngine

2010-11-01 Thread Sithembewena Lloyd Dube
Hi Hudar, I haven't checked out the code for this, but the interface looks nice and clean. Will try to give it a squeeze later. Thanks! On Mon, Nov 1, 2010 at 7:45 AM, Hudar wrote: > Hi, > > > I just released a source code of my own blog as open source (called > 'MeBlog'). Built the blog in dja

Re: Howto crypt forms in Django?

2010-11-01 Thread Cal Leeming [Simplicity Media Ltd]
Hi Christian, Can I just also mention, that relying on encrypted forms (based on a static key from the server) is not very good practice. At the very most, you can rely on it for client side obfuscation, but don't ever rely on it for security. An SSL certificate is almost certainly the way

Re: 2D map application: performance and design question

2010-11-01 Thread Javier Guerra Giraldez
On Mon, Nov 1, 2010 at 5:55 AM, Cal Leeming [Simplicity Media Ltd] wrote: > 9 out of 10 times, the bottleneck is usually the database true, but 8.7 of those 9 are about how the database is used, and not about the engine choice. simply changing SQLite won't improve significantly the one-user case

Re: Add admin action to Django User

2010-11-01 Thread Enrico
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from django.contrib.auth.models import User class MyUserAdmin(UserAdmin): actions = ['my_action'] def my_action(self, request, queryset): # stuff here... admin.site.unregister(User) admin.site.regist

Re: Add admin action to Django User

2010-11-01 Thread Karim Gorjux
Maybe you'll find this also useful: http://www.theotherblog.com/Articles/2009/06/02/extending-the-django-admin-interface/ -- K. Blog Personale: http://www.karimblog.net -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, se

Re: table namespace hygiene: should I try to rename auth_* tables, or should I use a separate database?

2010-11-01 Thread Scott Gould
> If not, I could create a new database, and devote it to the django > stuff. Is that a good solution? Are there significant disadvantages to > using a separate mysql database just for the django stuff? Is there > maintenance overhead for the dba? (I don't know.) Are there any > disadvantages, say,

Re: 2D map application: performance and design question

2010-11-01 Thread Lars Ruoff
Hi Lukasz, see my answer to Daniel. Replacing images by text didn't speed up things much. Is there any other test/profiling that i should do? Would taking the systime before and after the query give me some hints? I'll try this later... On Nov 1, 12:39 pm, Łukasz Rekucki wrote: > On 1 November 20

Re: Add admin action to Django User

2010-11-01 Thread Karim Gorjux
On Mon, Nov 1, 2010 at 05:03, Django-learner wrote: > Hi, I want to add an customized action to user management in django > admin site. I can see that only delete selected user is available, how > can I add more to that? Did you try to google that? This is my **first** result: http://docs.django

Re: Howto crypt forms in Django?

2010-11-01 Thread ckar...@googlemail.com
Okay , thank you all. Christian On 1 Nov., 12:45, Jirka Vejrazka wrote: > > is there a way not to send form data in plain-text format? I've found > > jCryption for PHP ("In short words jCryption is a javascript HTML-Form > > encryption plugin, which encrypts the POST/GET-Data that will be sent >

Re: Howto crypt forms in Django?

2010-11-01 Thread Jirka Vejrazka
> is there a way not to send form data in plain-text format? I've found > jCryption for PHP ("In short words jCryption is a javascript HTML-Form > encryption plugin, which encrypts the POST/GET-Data that will be sent > when you submit a form."). Is there a way to crypt data without using > SSL?

Re: 2D map application: performance and design question

2010-11-01 Thread Łukasz Rekucki
On 1 November 2010 10:59, Lars Ruoff wrote: > Hello, > > first of all, these are my first steps with Django, and i only have > limited experience with Python, so please be patient. > > I'm using it for what is intended to be a browser game in the future. > The main part of the game is a zoom view

Re: 2D map application: performance and design question

2010-11-01 Thread Lars Ruoff
Hi Daniel, you are right that images are being loaded. But i gave it a try and replaced the images by text. Still the page takes about 3 seconds to load. Lars On Nov 1, 12:30 pm, Daniel Roseman wrote: > It's a bit hard to tell without knowing how the slowness appears. What > exactly is slow? >

Re: 2D map application: performance and design question

2010-11-01 Thread Lars Ruoff
Ok, but that said, the database isn't that big here. (Well, i guess) There are currently 4800 entries in the "Location" table. Is this too much for SQLite already? May it be the query in locations = Location.objects.filter( \ x__gte=center_location.x-half_x, \ x__lte=center_loc

Re: Howto crypt forms in Django?

2010-11-01 Thread ckar...@googlemail.com
No, no SSL, no HTTPS. Just client side and server side decryption/ encryption. On 1 Nov., 12:22, What you get is Not what you see wrote: > Using https connection? > > On Mon, Nov 1, 2010 at 1:19 PM, ckar...@googlemail.com < > > ckar...@googlemail.com> wrote: > > Hi everybody, > > > is there a way

Re: 2D map application: performance and design question

2010-11-01 Thread Daniel Roseman
On Nov 1, 9:59 am, Lars Ruoff wrote: > Hello, > > first of all, these are my first steps with Django, and i only have > limited experience with Python, so please be patient. > > I'm using it for what is intended to be a browser game in the future. > The main part of the game is a zoom view on a tw

Re: Howto crypt forms in Django?

2010-11-01 Thread What you get is Not what you see
Using https connection? On Mon, Nov 1, 2010 at 1:19 PM, ckar...@googlemail.com < ckar...@googlemail.com> wrote: > Hi everybody, > > is there a way not to send form data in plain-text format? I've found > jCryption for PHP ("In short words jCryption is a javascript HTML-Form > encryption plugin, w

Howto crypt forms in Django?

2010-11-01 Thread ckar...@googlemail.com
Hi everybody, is there a way not to send form data in plain-text format? I've found jCryption for PHP ("In short words jCryption is a javascript HTML-Form encryption plugin, which encrypts the POST/GET-Data that will be sent when you submit a form."). Is there a way to crypt data without using SSL

Re: 2D map application: performance and design question

2010-11-01 Thread Cal Leeming [Simplicity Media Ltd]
Hi Lars, Unless you are doing some *really* intense Python code in your business logic, then 9 out of 10 times, the bottleneck is usually the database, especially if you are using Python. Cal On Mon, Nov 1, 2010 at 9:59 AM, Lars Ruoff wrote: > Hello, > > first of all, these are my first steps

2D map application: performance and design question

2010-11-01 Thread Lars Ruoff
Hello, first of all, these are my first steps with Django, and i only have limited experience with Python, so please be patient. I'm using it for what is intended to be a browser game in the future. The main part of the game is a zoom view on a two-dimensional map of fields. I'm currently using

Add admin action to Django User

2010-11-01 Thread Django-learner
Hi, I want to add an customized action to user management in django admin site. I can see that only delete selected user is available, how can I add more to that? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: cannot setup database

2010-11-01 Thread Robbington
Silly question, but are you setting the path to your database file or to the Sqlite3 executable? Just seems an odd name to use as your database file, if using sqlite3 I would normally create a database named closely to my project name. my_project.db or something. -- You received this message be

Re: cannot setup database

2010-11-01 Thread Daniel Roseman
On Nov 1, 7:24 am, sami nathan wrote: > My setting file looks like this ... > DATABASES = { >     'default': { >         'ENGINE': 'django.db.backends.sqlite3', # Add > 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. >         'NAME': > 'D:\Python25\Lib\site-packages\django\bi

Re: Django admin for call center support?

2010-11-01 Thread Knut Ivar Nesheim
I've used the django admin for the user interface to a warehouse management system. The system managed some million pairs of shoes. In my experience the admin is a bit different than what most people expect it to be. On the other hand, it took my users 10 minutes to get accustomed to the system. I

Re: Executing ssh scripts with django

2010-11-01 Thread Knut Ivar Nesheim
Hi, I would strongly suggest looking into using Celery or some other form of message queue. In general you want to decouple the logic of the web app, such as validating domain names, writing to the database, with operations that has real-world important side effects. Once you split these, the sys

Re: cannot setup database

2010-11-01 Thread sami nathan
My setting file looks like this # Django settings for flyp project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_em...@domain.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postg