Re: Database Engine: MS SQL?

2005-09-01 Thread Eugene Lazutkin
I'll help to debug it.

Re: Help on M2MField

2005-09-01 Thread Leo
Maybe I use a poor example to show the question here. Let me use the real question to explain what troubles me: Here are an object need localization information, for example it's name is different from one country to another country. In this case i use a seperate table to store translations( incl

limit_choices_to users in a specific group

2005-09-01 Thread scottpierce
I am writing a little assignments app for my homeschooled children where I and their mother can post assignments with a due date, etc... My model looks like this so far: from django.models.auth import User from django.models.auth import users from django.models.auth import groups class Assignme

Re: Help on M2MField

2005-09-01 Thread Matthew Marshall
On Thursday 01 September 2005 06:13 am, Leo wrote: > class People(Model): > first_name = ManyToManyField (Name) > last_name = ManyToManyField (Name) I might be misunderstanding the situation, but why are you using ManyToManyField instead of ForeignKey? (Sorry I don't know the answer to

Re: associating permissions with groups in the model

2005-09-01 Thread scottpierce
OK, got it. Now I feel stupid for overlooking that one. I now see where you set the groups and permissions (don't know how I overlooked that one), but I would still like to set this somewhere other than TTW. I will likely discover the means 10 minutes after this post. I'm sure I can use inher

associating permissions with groups in the model

2005-09-01 Thread scottpierce
I believe I am missing something in regards to the subject (or else I wouldn't be posting this right!). You can set permissions in the model. And you can set a user to a group in the admin as well as create a new group. The docs also talk about setting a user to a group and that user inheriting

Re: iterative data model development

2005-09-01 Thread Adrian Holovaty
On 9/1/05, Rachel Willmer <[EMAIL PROTECTED]> wrote: > Next question, I'm building up a data model iteratively e.g. write a > bit of it, fix the errors caused by my lack of experience with Django, > go back and write some more... > > Is there an easier way to do this than deleting the database ea

Re: iterative data model development

2005-09-01 Thread Rachel Willmer
On 01/09/05, Sebastien Fievet <[EMAIL PROTECTED]> wrote: > Django is not a release product. So, some features are not implemented > yet. Just leave their some time, and be patient ;) Not hassling, just asking :-) I think this is a *great* product, released or not... I'm just trying to understan

Re: iterative data model development

2005-09-01 Thread Maniac
Sebastien Fievet wrote: Django is not a release product. So, some features are not implemented yet. Just leave their some time, and be patient ;) The question is wether it is planned at all. I failed to find it in Django's ticket system: All enhancements: http://code.djangoproject.com/qu

New mailing list: django-updates

2005-09-01 Thread Adrian Holovaty
Hi all, I've created a new mailing list, django-updates, that sends out a message each time a change is made to the Django codebase or ticket system. It's a read-only mailing list. Its Google Groups page is here: http://groups.google.com/group/django-updates Adrian -- Adrian Holovaty holovaty

Re: iterative data model development

2005-09-01 Thread Sebastien Fievet
Django is not a release product. So, some features are not implemented yet. Just leave their some time, and be patient ;)

Re: initial data

2005-09-01 Thread Sebastien Fievet
Great. Nice shot !

Re: Admin login Problem (not the one in the FAQ)

2005-09-01 Thread igor
Quoting "J. Davis" <[EMAIL PROTECTED]>: > > # echo "password" | md5sum > > Can anyone suggest how else I might troubleshoot this? You should use: echo -n "password" | md5sum Igor.

Re: Admin login Problem (not the one in the FAQ)

2005-09-01 Thread J. Davis
That did the trick. Thanks Adrian! -Jake

Re: Admin login Problem (not the one in the FAQ)

2005-09-01 Thread Adrian Holovaty
On 9/1/05, J. Davis <[EMAIL PROTECTED]> wrote: > To create the password I paste in the output from the following > command: > > # echo "password" | md5sum > > Can anyone suggest how else I might troubleshoot this? It appears the md5sum shell command doesn't generate the same output as Python's

Admin login Problem (not the one in the FAQ)

2005-09-01 Thread J. Davis
Hello, I'm greatly enjoying this excellent project. However, I have a problem with users created through the admin web interface being able to log into the admin site. I get "Please enter a correct username and password." Even though all users have "is_active" and "is_staff" set to True. It's defi

Re: Database Engine: MS SQL?

2005-09-01 Thread [EMAIL PROTECTED]
Great news!!!

Re: Django documentation search engine

2005-09-01 Thread Adrian Holovaty
On 9/1/05, Rachel Willmer <[EMAIL PROTECTED]> wrote: > To help me get to grips with Django quickly, I created a search engine > of the documentation. > > On the off-chance this is useful to others, I've made it available at > That's pretty

Re: initial data

2005-09-01 Thread Adrian Holovaty
On 9/1/05, Rachel Willmer <[EMAIL PROTECTED]> wrote: > is there a django way to set up the tables with the initial data I > want? or should I just do this using a postgres script? Yes, there is a way to do this, although it's currently not documented. Just create an "sql" directory within your ap

Re: backing up application/data

2005-09-01 Thread Adrian Holovaty
On 9/1/05, Rachel Willmer <[EMAIL PROTECTED]> wrote: > But one thing I'm not sure about, what's the recommended way of > backing up a live django application? Obviously I can use svn for the > python code, but is there a special django way to dump/restore the > data? Or should I just use the exist

Django documentation search engine

2005-09-01 Thread Rachel Willmer
To help me get to grips with Django quickly, I created a search engine of the documentation. On the off-chance this is useful to others, I've made it available at Comments, brickbats, etc welcome... Rachel

Re: initial data

2005-09-01 Thread Bryan L. Fordham
On Thu, Sep 01, 2005 at 07:33:56AM -0400, Jason F. McBrayer wrote: > > On Thu, 2005-09-01 at 10:15 +0100, Rachel Willmer wrote: > > is there a django way to set up the tables with the initial data I > > want? or should I just do this using a postgres script? > > You could either do it with a pos

Re: Database Engine: MS SQL?

2005-09-01 Thread Jeremy Dunck
On 9/1/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > Ah, I'd lost track of that one. Yes, that'll definitely be reviewed > soon. I don't have access to MS SQL, though, so somebody else will > have to help test it. Is anybody willing to help? The more, the > better. I have access to SQL server.

Feature Request

2005-09-01 Thread Suhku Huh
Hi, During reading and playing with django tutorials and documents, I've found that every user who has modify / delete permission can modify / delete items other user had created. It may be acceptable in some situations but there is other situations that users should modify / delete items of

Re: iterative data model development

2005-09-01 Thread Maniac
Rachel Willmer wrote: Next question, I'm building up a data model iteratively e.g. write a bit of it, fix the errors caused by my lack of experience with Django, go back and write some more... Is there an easier way to do this than deleting the database each time so the right tables/columns ge

Re: initial data

2005-09-01 Thread Jason F. McBrayer
On Thu, 2005-09-01 at 10:15 +0100, Rachel Willmer wrote: > is there a django way to set up the tables with the initial data I > want? or should I just do this using a postgres script? You could either do it with a postgres script, or you could write a python script that imports your models, insta

Re: Database Engine: MS SQL?

2005-09-01 Thread Boffbowsh
Here's a free cut-down version, MSDE: http://www.microsoft.com/downloads/details.aspx?FamilyID=413744D1-A0BC-479F-BAFA-E4B278EB9147&displaylang=en

initial data

2005-09-01 Thread Rachel Willmer
is there a django way to set up the tables with the initial data I want? or should I just do this using a postgres script? Rachel

iterative data model development

2005-09-01 Thread Rachel Willmer
Next question, I'm building up a data model iteratively e.g. write a bit of it, fix the errors caused by my lack of experience with Django, go back and write some more... Is there an easier way to do this than deleting the database each time so the right tables/columns get created? Rachel

backing up application/data

2005-09-01 Thread Rachel Willmer
I've just started looking at Django, and so far I'm very impressed with it. But one thing I'm not sure about, what's the recommended way of backing up a live django application? Obviously I can use svn for the python code, but is there a special django way to dump/restore the data? Or should I j