Re: Something like a mini Crystal Reports with Django

2007-08-05 Thread Mir Nazim
Cool cool cool We will be waiting. One request, I am unable to access the svn with http protocol due my ISP not ready to configure its Firewall to allow all http methods. So could you please set it up under https or svn+ssh Thanks On Aug 6, 6:47 am, "Ben Ford" <[EMAIL PROTECTED]> wrote: > Hi

Re: startproject errors with Ubuntu

2007-08-05 Thread James Bennett
On 8/5/07, john <[EMAIL PROTECTED]> wrote: > thks - the tutorial shows the .py extension and that was giving the > error. The file's name is 'django-admin.py', not 'django-admin', and the tutorial is correct; the problem was that you did not have the executable bit set on django-admin.py, and so

Re: startproject errors with Ubuntu

2007-08-05 Thread john
On Aug 5, 8:24 pm, ocgstyles <[EMAIL PROTECTED]> wrote: > django-admin.py is a python script that should be ran at the command > line: > > $ django-admin startproject myproject > > ..should work fine. > thks - the tutorial shows the .py extension and that was giving the error. So, can we get

Re: [OT] pydev

2007-08-05 Thread Derek Anderson
haha. yeah, i know, it was a rhetorical question... i do appreciate the detailed description tho! even if it does make me sound like a moron being schooled by a guy named nimrod. :-P Nimrod A. Abing wrote: > On 8/6/07, Derek Anderson <[EMAIL PROTECTED]> wrote: >> i was using the ubuntu

Django tutorial with SVN trunk: descriptor 'upper' requires a 'str' object but received a 'unicode'

2007-08-05 Thread Brian Duff
I'm trying to follow the django tutorial with the latest SVN trunk (I had to upgrade from 0.96 because there appears to be an issue with 0.96 and Oracle databases). At the point in http://www.djangoproject.com/documentation/tutorial01/ that it instructs you to "python manage.py sql polls", I

Re: an application with print on dot matrix printer

2007-08-05 Thread Tim Chase
> what is the nice way to provide a print function on a dot matrix > printer for django apps aside from generating a printer friendly page? My understanding is that there isn't any "nice way...aside from generating a printer friendly page". The web browser can render to a printer context.

Re: [OT] pydev

2007-08-05 Thread Nimrod A. Abing
On 8/6/07, Derek Anderson <[EMAIL PROTECTED]> wrote: > > i was using the ubuntu packages for eclipse and pydev...(why are they so > far behind?) That's because they take whatever is the latest version of software available at a particular point in time during the 6 month development cycle.

Re: Django tutorial with Oracle Database

2007-08-05 Thread Brian Duff
Ah... I guess it was maybe a bug that got fixed. I upgraded from 0.96 to the SVN trunk, and the problem went away. Thanks, Brian On Aug 5, 7:34 pm, Brian Duff <[EMAIL PROTECTED]> wrote: > Hi, > > I'm following the Django tutorial > athttp://www.djangoproject.com/documentation/tutorial01/ >

Django tutorial with Oracle Database

2007-08-05 Thread Brian Duff
Hi, I'm following the Django tutorial at http://www.djangoproject.com/documentation/tutorial01/ with an Oracle XE 10.2 database. cx_Oracle is installed and seems to be working fine. At the point where the tutorial instructs me to "python manage.py syncdb", I see: Creating table auth_message

Re: startproject errors with Ubuntu

2007-08-05 Thread ocgstyles
django-admin.py is a python script that should be ran at the command line: $ django-admin startproject myproject ..should work fine. On Aug 5, 12:43 pm, john <[EMAIL PROTECTED]> wrote: > On Aug 5, 6:43 am, "Jason Ribeiro" <[EMAIL PROTECTED]> wrote: > > > > > The 'python-django' package in

an application with print on dot matrix printer

2007-08-05 Thread james_027
hi, what is the nice way to provide a print function on a dot matrix printer for django apps aside from generating a printer friendly page? Thanks james --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: '_QuerySet' problem

2007-08-05 Thread SmileyChris
On Aug 6, 1:15 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 05-Aug-07, at 6:19 PM, Marco A. wrote: > > > >>> p.user > > p.User Umm, this is just as wrong. Doug's answer summed it up pretty well. --~--~-~--~~~---~--~~ You received this message because

Re: Something like a mini Crystal Reports with Django

2007-08-05 Thread Ben Ford
Hi guys, Thanks for the interest! I'll split it up from my main app and put it into SVN on my server. I'd really like comments on some of the design decisions I've made, I was thinking about it last night and I think I may have got a bit too clever! I'll post on here when I've got everything

Re: '_QuerySet' problem

2007-08-05 Thread Kenneth Gonsalves
On 05-Aug-07, at 6:19 PM, Marco A. wrote: > >>> p.user p.User -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Without Apache

2007-08-05 Thread [EMAIL PROTECTED]
I'd second the recommendation for lighttpd, and would suggest sqlite for the backend if you want to go slim and trim. I've worked with plenty of mssql servers and none of them ever brought to mind the word 'minimal'. Derek Willis On Aug 5, 3:50 pm, Parnell Springmeyer <[EMAIL PROTECTED]> wrote:

Re: DateField() , AttributeError: 'str' object has no attribute 'strftime'

2007-08-05 Thread Russell Keith-Magee
On 8/4/07, Frank Singleton <[EMAIL PROTECTED]> wrote: > > AttributeError: 'str' object has no attribute 'strftime' Hi Frank, You're the second person in recent history to report this problem - however, I've been unable to replicate it. The last user was on Windows, and I had mentally put it

Re: auth system - check if user already exists

2007-08-05 Thread Poromenos
That's what I do (well, I just check the username, since I can't think why you'd want to check the email). I don't think there's a better way, it's pretty straightforward... Poromenos On Aug 6, 12:42 am, Aljosa Mohorovic <[EMAIL PROTECTED]> wrote: > i'm currently looking at django.contrib.auth

Re: Admin shows "BlaBla object" for every item in lists instead of the actual names of the objects.

2007-08-05 Thread Kai Kuehne
Hi, On 8/6/07, TheMaTrIx <[EMAIL PROTECTED]> wrote: > > Thanks for the quick reply and it works perfectly. > > Would be good if this was added to the docs on the site, I saw this > was the way it was done in some old screencasts where they were still > calling models out of django.core and

Re: Admin shows "BlaBla object" for every item in lists instead of the actual names of the objects.

2007-08-05 Thread TheMaTrIx
Thanks for the quick reply and it works perfectly. Would be good if this was added to the docs on the site, I saw this was the way it was done in some old screencasts where they were still calling models out of django.core and after reading the official docs and seeing that the simplest way to

Re: Admin shows "BlaBla object" for every item in lists instead of the actual names of the objects.

2007-08-05 Thread Kai Kuehne
Hi Neo, On 8/5/07, TheMaTrIx <[EMAIL PROTECTED]> wrote: > > I have many tables with universal data I use across projects, alot of > them are tables with 1 column. > > One example of this is a table named "Continents" with the names of > all continents and subcontinents including the less known

Admin shows "BlaBla object" for every item in lists instead of the actual names of the objects.

2007-08-05 Thread TheMaTrIx
I have many tables with universal data I use across projects, alot of them are tables with 1 column. One example of this is a table named "Continents" with the names of all continents and subcontinents including the less known ones (like the Kerguelen continent) When I setup the admin to

date_hierarchy simple customization

2007-08-05 Thread Picio
Hello, Im running django .97 svn rev 5804, and I'd like to customize the date_hierarchy drill down to show only some records in thte admin change_list page "from a date" instead of searching the "exact date". Example: I need to see what i have done after 2006 march 22... So I drill this way 2006

auth system - check if user already exists

2007-08-05 Thread Aljosa Mohorovic
i'm currently looking at django.contrib.auth and wondering what is the correct way to check if user already exists? before i call User.objects.create_user() i want to know that user with submitted username and email doesn't exist. my current situation is that i call

Re: Repair Your (Microsoft) Operating System

2007-08-05 Thread Carl Holm
John Travolta wrote: > Tweak your Windows and speed it up > http://windowsxpsp2pro.blogspot.com/ > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Repair Your (Microsoft) Operating System

2007-08-05 Thread John Travolta
Tweak your Windows and speed it up http://windowsxpsp2pro.blogspot.com/ --~--~-~--~~~---~--~~ 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

proba

2007-08-05 Thread fritz
test --~--~-~--~~~---~--~~ 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 unsubscribe from this group, send email to [EMAIL PROTECTED] For more

Re: Without Apache

2007-08-05 Thread Parnell Springmeyer
On Sun, 2007-08-05 at 22:10 +0200, János Juhász wrote: > Dear Django Users! > > I would like to use Django for some intranet applications, but I > wouldn't like to install apache, pgsql, mysql and so. > I would like to install the minimal ingredients for a working > environment. WebServer:

Re: newforms errors translation

2007-08-05 Thread Nicola Larosa
Aljosa Mohorovic wrote: > i just replaced "hr" with "de" and error messages are in german. where > can i find if there is any support for my language Looking in django/conf/locale, the Croatian translation is indeed still missing. > and how can i submit small things like translation of error

Using order_by with a field from a different table

2007-08-05 Thread Greg
I'm running through some djagno API examples and I'm having a problem with how to order by a field in a different table. Here is what my models: class Blog(models.Model): name = models.CharField(maxlength=100) tagline = models.TextField() def __unicode__(self): return

Re: newforms errors translation

2007-08-05 Thread Aljosa Mohorovic
i just replaced "hr" with "de" and error messages are in german. where can i find if there is any support for my language and how can i submit small things like translation of error messages? http://www.djangoproject.com/documentation/i18n/ has no nice and simple example on how to start

Without Apache

2007-08-05 Thread János Juhász
Dear Django Users! I would like to use Django for some intranet applications, but I wouldn't like to install apache, pgsql, mysql and so. I would like to install the minimal ingredients for a working environment. I have a mssql 2000 server, so the database backend is fine. I would install only

Re: newforms errors translation

2007-08-05 Thread Aljosa Mohorovic
On Aug 5, 2:35 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 8/4/07, Aljosa Mohorovic <[EMAIL PROTECTED]> wrote: > > > i'm trying to find a way to translate newforms errors but i can't find > > it in docs. > > does anybody know if this is documented somewhere? > > Newforms error messages

Re: django app for managing sending email to users...

2007-08-05 Thread James Tauber
I've set up django-mailer at Google Code: http://code.google.com/p/django-mailer/ and written down a bunch of notes on the home page about use cases and functional requirements. If no one objects, we can continue discussion on this list, although I'm happy to start up django-mailer list

Re: Textile causing UnicodeDecodeError

2007-08-05 Thread Martin Gilday
Thanks that fixes it. On Aug 5, 6:12 pm, Lucky B <[EMAIL PROTECTED]> wrote: > from > here:http://64.233.169.104/search?q=cache:bswtnEOJ33QJ:douglasjarquin.com/... > > try textile.textile(str(self.source)) > > On Aug 5, 12:34 pm, Martin Gilday <[EMAIL PROTECTED]> wrote: > > > I have added

Re: Textile causing UnicodeDecodeError

2007-08-05 Thread Lucky B
from here: http://64.233.169.104/search?q=cache:bswtnEOJ33QJ:douglasjarquin.com/blog/2007/07/13/unicode-django-and-textile/+textile+unicode=en=clnk=3=us=firefox-a try textile.textile(str(self.source)) On Aug 5, 12:34 pm, Martin Gilday <[EMAIL PROTECTED]> wrote: > I have added textile.py to my

Re: [OT] pydev

2007-08-05 Thread Derek Anderson
i was using the ubuntu packages for eclipse and pydev...(why are they so far behind?) i've upgraded to the latest now, and haven't had a crash sense. thanks all. :) Nimrod A. Abing wrote: > Hello, > > What OS and JRE/JDK are you using? I'm on Linux with Eclipse Europa > running on

Re: startproject errors with Ubuntu

2007-08-05 Thread john
On Aug 5, 6:43 am, "Jason Ribeiro" <[EMAIL PROTECTED]> wrote: > The 'python-django' package in ubuntu's universe "just works" for me > and 0.96 is in the feisty-backports repository. Why not try that? > > Jason > > On 8/5/07, James Bennett <[EMAIL PROTECTED]> wrote: > > > > > On 8/5/07, john

Textile causing UnicodeDecodeError

2007-08-05 Thread Martin Gilday
I have added textile.py to my project dir and can successfully import it in the shell. I have extended one of my models with a save method which copies the content from one field, textiles it, then saves it another column. def save(self): import textile self.body =

Re: Can a ManyToManyField only shows certain records in an admin using edit_inline?

2007-08-05 Thread Greg
We'll I created a new function called r_col. That returns a value to my sandp field from within the Style Class. However, I'm not sure how to pass it the current value of the collection field from within the Style Class. Below are my model files: class Choice(models.Model): choice =

Discussion on django-developer-position-in-tampa

2007-08-05 Thread koom2020
PAKHostOnline.com offered Pakistan No.1 Web Hosting, DOMAIN Registration / Transfer, 99% UP-Time, 24/7 Technical Support at http://www.pakhostonline.com/ PAK Host Online(PHO) - Web Hosting, Free Domain Registration / Transfer, Website Builder & Web Marketing in Pakistan, Karachi, Lahore,

PAK Host Online(PHO) - Web Hosting, Free Domain Registration /Transfer, Website Builder & Web Marketing in Pakistan, Karachi, Lahore, Islamabad & Rawalpindi at http://www.pakhostonline.com/

2007-08-05 Thread koom2020
PAKHostOnline.com offered Pakistan No.1 Web Hosting, DOMAIN Registration / Transfer, 99% UP-Time, 24/7 Technical Support at http://www.pakhostonline.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

PAK Host Online(PHO) - Web Hosting, Free Domain Registration /Transfer, Website Builder & Web Marketing in Pakistan, Karachi, Lahore, Islamabad & Rawalpindi at http://www.pakhostonline.com/

2007-08-05 Thread koom2020
PAKHostOnline.com offered Pakistan No.1 Web Hosting, DOMAIN Registration / Transfer, 99% UP-Time, 24/7 Technical Support at http://www.pakhostonline.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Access request while cleaning fields

2007-08-05 Thread Todd O'Bryan
I'm going to answer my own question in case anyone searches in the future. And, eventually, I'll start thinking in Python and figure out these things before sending a message to the list. I'm afraid too much Java has warped me forever. I just added the request object as an attribute on the form

Re: value for choices arguments for newforms.MultipleSelectField

2007-08-05 Thread Peter Melvyn
On 2 Srp, 17:35, Nathan Ostgard <[EMAIL PROTECTED]> wrote: > You can use ModelMultipleChoiceField for this: > > items = > newforms.ModelMultipleChoiceField(queryset=Items.objects.all()) Hi Nathan, I use it this way, but I need to reduce the queryset for current user whom ID is contained in

Maps / Variables in template system.

2007-08-05 Thread [EMAIL PROTECTED]
Hi I'm working on a project, where I have several items in a database with x and y coordinates. I want to plot these out in such a way that if there is not an item for a space, it shows a blank image in the table, and a corresponding picture if there does exist an item. However, in the template

Re: '_QuerySet' problem

2007-08-05 Thread Doug B
A queryset is kind of like a list, you can slice it, access by index, or iterate through it. I'm not quite sure what you are trying to do, but to access the individual user objects you have to fetch them from the queryset somehow: users = User.objects.all() by index: print users[0].user print

Access request while cleaning fields

2007-08-05 Thread Todd O'Bryan
I'm trying to translate a Change Password page I wrote using oldforms into newforms and have hit a snag. I need to validate that the user types in his/her current password correctly and it seems like writing a clean_current_password() method in the form class is the easiest way to do that, since

Slug field prepopulated from more than one field?

2007-08-05 Thread Jarek Zgoda
Is it possible to get slug field prepopulated from more than one field? The docs say that yes, but I seem to not be able to get any prepopulation if I have prepopulated_from=('field1', 'field2') in my model. Should I file a ticket? I use SVN trunk (rev 5804). Cheers Jarek Zgoda

'_QuerySet' problem

2007-08-05 Thread Marco A.
Hi to all ! I doesnt undestand where is the problem whit Query set.. (or maybe what is query_set) If the models is : class User(models.Model): user = models.CharField(maxlength=12) passw = models.CharField(maxlength=20) I doest undestand this shell session : >>>

Re: startproject errors with Ubuntu

2007-08-05 Thread Jason Ribeiro
The 'python-django' package in ubuntu's universe "just works" for me and 0.96 is in the feisty-backports repository. Why not try that? Jason On 8/5/07, James Bennett <[EMAIL PROTECTED]> wrote: > > On 8/5/07, john <[EMAIL PROTECTED]> wrote: > > I created a symlink at /usr/local/bin to the

Tune up your Windows XP

2007-08-05 Thread John Travolta
Optimize your operating system, minimize background activities, repair registry base, uninstall unnecessary components, get rid of boring errors and make your operating system safer. http://windowsxpsp2pro.blogspot.com --~--~-~--~~~---~--~~ You received this

Re: startproject errors with Ubuntu

2007-08-05 Thread James Bennett
On 8/5/07, john <[EMAIL PROTECTED]> wrote: > I created a symlink at /usr/local/bin to the django django-admin.py > file under python2.5. If I go to my home directory and try to create > a new project I get a syntax error pointing at the end of > startproject. If I try " >>> /usr/lib/...

startproject errors with Ubuntu

2007-08-05 Thread john
On Ubuntu Feisty (7.04) I upgraded python2.5 via synaptic. I download the django 0.96 tarball, extracted into usr/local then installed with "sudo python setup.py install" The django files seem to be correctly installed under python2.5/site-packages and I can do "python" => python 2.5 ">>>

Re: Something like a mini Crystal Reports with Django

2007-08-05 Thread Mir Nazim
Ho ho, Its generating a lot of interest. On Aug 4, 3:18 pm, "Chris Hoeppner" <[EMAIL PROTECTED]> wrote: > Need another tester? Count me in. > > 2007/8/4, Mir Nazim <[EMAIL PROTECTED]>: > > > > > > > Me too me too. > > > Ben, Let us know if you need help with testing or some thing else. > > I