Re: Permission

2005-08-05 Thread A
Just "change" Group for Role and you have a basic RBAC: Users from group A has the permissions assigned to that group. I will look into the code in the following days and see if I can have some fun ;-) Thanks for the reply. A.

Re: Permission

2005-08-05 Thread Jacob Kaplan-Moss
On Aug 5, 2005, at 3:14 PM, A wrote: I am exploring Django for the first time, and I like what I see. Great work. Thanks! Looking at the security model, it is a RBAC ( Rol Based Access Control ). I have already a CBAC ( Context Base Access Control ) for a web application in another framework

Re: Planet Django

2005-08-05 Thread [EMAIL PROTECTED]
I have a django specific feed available here http://www.socialistsoftware.com/?cat=4&feed=rss2

Permission

2005-08-05 Thread A
Hi, I am exploring Django for the first time, and I like what I see. Great work. Looking at the security model, it is a RBAC ( Rol Based Access Control ). I have already a CBAC ( Context Base Access Control ) for a web application in another framework and I would like to know how hard will be to

Re: Lookup API for models: how it works?

2005-08-05 Thread Maniac
xtian wrote: It uses Python's ability to define functions which can accept arbitrary parameters. ... Now it's pretty clear. Thanks, xtian!

Re: i18n support?

2005-08-05 Thread A
Never mind. Sorry, for some reason the search turn nothing for i18n. I saw the thread about this. A.

Re: Are multiple projects posible?

2005-08-05 Thread gheorghe
My goal is to see if I can use django in my environment wich is IIS/ASP/MSSQLServer to try to migrade some of my current python applications from my own not as good MVC model to django. I was able to build a working (at least for me) database wrapper for my ADO/MSSql Server and now I'm trying to u

i18n support?

2005-08-05 Thread A
How can I have a Django site in multiple languages? A.

Re: Are multiple projects posible?

2005-08-05 Thread gheorghe
I guess my problem is that I wanted to use django more as a library then as a web framework, so the answer is that I can only use one database per django running instance?. Another reason for my trying to use it as a library was because I wanted to see if I can insert an existing connection (like

Re: Are multiple projects posible?

2005-08-05 Thread Clint Ecker
Are you using the built-in development server or mod_python? In mod python you'd just vhost another dir and set the "SetEnv" module to the different project. If you want to do it with two development servers, just start another terminal instance and do the runserver mode with the --settings comm

Are multiple projects posible?

2005-08-05 Thread gheorghe
I want to have 2 apps that use 2 distinct databases in one django instalation There is only one SETTINGS_MODULE and that only takes 1 database. Is it posible?

Re: problen in result of tutorial 2 Django

2005-08-05 Thread Adrian Holovaty
On 8/5/05, Alvaro Hernandez <[EMAIL PROTECTED]> wrote: > I follow tutorial 1 and 2, when I try to show in my browser > http://127.0.0.1:8080 only have this error Hi Alvaro, Try going to http://127.0.0.1:8080/admin/ instead of http://127.0.0.1:8080 . Adrian

Re: auth problem

2005-08-05 Thread Adrian Holovaty
On 8/5/05, Krzysztof Drozd <[EMAIL PROTECTED]> wrote: > password maked with my app and createsuperuser for admin is equal but > wen i make a password for a new user i can't log in - why? > i get: "Please enter a correct username and password. Note that both > fields are case-sensitive." A user is

Re: Lookup API for models: how it works?

2005-08-05 Thread Adrian Holovaty
On 8/5/05, xtian <[EMAIL PROTECTED]> wrote: > It uses Python's ability to define functions which can accept > arbitrary parameters. Great explanation, xtian. I've added a "How this is possible" section to the DB-API docs. http://www.djangoproject.com/documentation/db_api/ Adrian

Re: problen in result of tutorial 2 Django

2005-08-05 Thread Alvalitro
Don't worry, I solve the problem yet!

problen in result of tutorial 2 Django

2005-08-05 Thread Alvaro Hernandez
Hi * I follow tutorial 1 and 2, when I try to show in my browser http://127.0.0.1:8080 only have this error There's been an error: Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py", line 57, in get_response callback, param_dict = reso

auth problem

2005-08-05 Thread Krzysztof Drozd
it's a problem with auth. if i add a new user to django i must give him a new password (not raw but md5 hash) i have a small app to do this. my admin user has paswword maked with django-createsuperuser and user has my password. password maked with my app and createsuperuser for admin is equal bu

Re: Planet Django

2005-08-05 Thread hernan43
This is gonna be sweet! --Ray

Re: Lookup API for models: how it works?

2005-08-05 Thread xtian
It uses Python's ability to define functions which can accept arbitrary parameters. If you define a function as def func(*args, **kwargs): # args and kwargs can be any identifier - it's the *s that do the trick print args print kwargs ...then when the function is called args will b

Lookup API for models: how it works?

2005-08-05 Thread Maniac
Hello! First, let me express obligatory excitement about Django. It's fantastic! When programming with Delphi I always dreamed about some tool that would generate classes representing DB tables in language syntax. For it be possible to write just 'poll.pub_date', not 'poll.fieldbyname('pub_d

Re: Downloading the djangoproject.com site code

2005-08-05 Thread PythonistL
I use http://tortoisesvn.tigris.org/ It seems much more better for my XP