Hi
I am curious as to why this post/ticket was closed with not follow up:
http://code.djangoproject.com/ticket/3953
http://groups.google.com/group/django-updates/browse_thread/thread/acb2d1895d5fcf83/2c33d28fe3acc186?hl=en&lnk=st&q=ORA-00911%3A+invalid#2c33d28fe3acc186
I have just downloaded the
Hi
It works for me,
Did you add your application to the settings.py as per a previous
step ?
On Dec 5, 3:36 pm, andy baxter <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> I've been working my way through the django tutorial. I'm really
> impressed with what django can do, but I've hit a problem - I'm
Oracle is working brilliantly now based on my tests. This is a great
addition!
On Nov 30, 7:36 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On 11/30/07, Da Martian <[EMAIL PROTECTED]> wrote:
>
>
>
> > Aha, so there is a fix? Its just not in 0.96.1? That was indeed going to
> > be my very nex
Hi
Just a quick one, if you wish to keep your django instance data
seperate from your production data and still use all the nice nifty
ORM and admin interface, you can just add synonyms to your django
user, then make the following change from USER_TABLES to USER_OBJECTS
in the db code and it all
Hi
I have come back to Django after a short break and am finding the new
trunk with the old MR branch a lovely tool indeed :-) Kudos.
I am trying to balance the development and maintance time going forward
with the development time now with run time performance.
I really like the way the admin
Hi
My company is looking for me to outline there web apps strategy going
forward, and of course they want tried and tested which means websphere
and J2EE or possibly .NET.
I of course want something better and django stands out. Its mostly for
interactive apps, as opposed to static content, so m
Yes thats very helpfull.
Thanks,
Hi
In the Reporter/Article example on the Django site, to get the reporter
of an article requires you to call the a method:
reporter = article.get_reporter()
Is there some reason this isnt dont automactically for you on as
follows on attr access:
reporter = article.reporter
?
This would b
Thanks,
Luke Plant wrote:
> On Sat, 14 Jan 2006 13:31:52 -0000 ChaosKCW wrote:
>
> > In the Reporter/Article example on the Django site, to get the
> > reporter of an article requires you to call the a method:
> >
> > reporter = article.get_reporter()
> >
Mostly I agree with that statement. If you going to use the attribute,
then you need to use it. You have to take a hit at some point.
I rember using a world class ORM tool in jaav that allowed join fetches
for first elvel attributes for perfroamnce. While I dont expect that of
this api for some
Hi
I have looked all over the roadmap etc.. and cant find any dates on the
features.
The most important feature for me is the transaction support in the ORM
layer.
Does anyone have any ideas on the progress or timeline for this ?
Thanks,
Hi
I have read the web services link and done some research but nothing
stands out.
I am interested in designing and application around the web services
model. That is I want the core backend functions as standalone in that
they can be hooked up via any front end ie XML-RPC or SOAP etc..
eve
Hi
I would like to ask about three things:
1) can you access the session user object from the model _pre_save
2) can you subclass a model.
3) app level db
Example of what I want:
class Audited_Model(meta.Model):
audit_created = meta.DateTimeField('Date and Time this account
was created',
PS the project and app level DB would also allow for creater scalablity
and better seperation of concerns.
One last question, is it possible to add a glboal hook into the ORM
layer ala SOX requiremens i the USA. To proide an audit of any
transaction ?
Hi
Following the tutorials and they worked fine on the standalone dev
server. When we move them to apache and mod_python. we get the login
screen fine, but apon login, we get:
Mod_python error: "PythonHandler django.core.handlers.modpython"
Traceback (most recent call last):
File "/usr/lib/p
Is it possible the to have syntax error which works on windows on the
local server, but is a syntax error on mod python ?
I will take a look and see if I can spot anything,
Thanks,
Yes all it says is pending.
Thanks,
I wasnt sure from the documentation if subclassing would do a
"inheritance" DB thing like many ORM tools support, or simply combine
the two classes as I was hoping for.
yes, they are. i will try the setup from scratch.
--~--~-~--~~~---~--~~
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 gro
Thanks,
I may look at accessing the cursor directory for TP stuff.
S
--~--~-~--~~~---~--~~
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 uns
Its a trade off, I chose the magic removal branch, because the
syntactical changes really appeal to me. The models are a lot cleaner
and DB API too.
However it does have problems. And when 0.92 comes out you will have to
change to the new syntax anyways. So if your starting from scratch like
me,
Thanks for the all the posts, I will look into them all thouraghly.
Might take some time as this is a sapre time project :-)
Thanks again,
S
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Hi
Please can someone help. I am following Tutorial4 for generic views,
plus adapting it to the magic removal instructions on the wiki page.
As far as I can tell i followed the instructions exactly, But I get an
error stating that 'model' is not a valid paremeter to the view.
I am sure its somth
Thanks, I had a look at the code and worked that out.
Just one question, I have used model.objects, not model.objects.all().
It appears to work and makes more sense to me. Any comments?
Thanks,
Stephen
--~--~-~--~~~---~--~~
You received this message because yo
Hi
I have updated the Magic Removal Branch Wiki with information on using
Querysets and generic views.
Thanks,
C
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
Hi
Is there some documentation on the "Sites" functionality. I have seen
it, but not seen any docs ?
Thanks,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
A dumb question, but will objects.all() cause any kind of performance
hit ?
I mean when the code appends QuerySet.filter(pk=object_id), will it
condense that to a SQL statement that returns one object or reutrn all
obejcts then do the PK query ?
Thanks,
--~--~-~--~~~--
Hi
Thanks for your responses. Thats what I thought, just wanted to make
sure. The all() just seems unitutive to me, but given that Djangos
syntax is so easy, a little bit of something here and there is no
biggie.
Thanks again.
PS I just posted a patch for the generic views on the developers lis
True, but I have found it forces me to look at django code more, which
helps me learn it more. Guess its not for everyone.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
>(On a side note, I could use the ability to have custom
>non-Model-Fields (ie, not persisted in the database, only used in the
>save() ChangeLog generation) in the Admin, is there an existing way to
>do this?)
Could you use properties for this? Properties are in the Magic Removal
Branch I believ
Hi
For anyone working on the Backend for Oracle, There is a free version
of oracle now, called Oracle XE.
I found one post from last year on this, but cant seem to add to it.
I am interested in any progress on this, and could be willing to test
any code any has developed.
Thanks,
C
--~--~-
Sorry forgot link, here it is:
http://www.oracle.com/corporate/press/2006_feb/oraclexega-022806.html?msgid=4645616
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
>They way I would enivsage adding this functionality to Django would be
>that in your model you specify, for each Model object (=table), that it
>is to be versioned. Versioning would automatically add a '_version'
>column to the generated DDL, and the standard Django save() routines
>would take ca
Yes, true, its a matter of trade offs. With a verison you add
irrelavant data to your table schema. But potentially gain some
performance. I tend to like my tables clean and relevant. Just a
personal preference.
Plus it means the locking can work regardless of the table schema.
Once you have to
Hi
One of the great design philosohies I love about Django is the
decoupling. However when trying to use the template engine on its own,
the import refers the django setttings module env variable, which turn
should point to a settings.py which in turn is part of a project ?
This seems coupled to
>Great minds think alike/Fools never differ :-) Check out:
> http://code.djangoproject.com/ticket/1321
>
Lol, yip.
I agree whole heartedly with the premise of this ticket. The ORM and
the Template Engine rock, and I have need of both outside a web
framework.
For my standalone app I am left with
Whats the problem with faking a user ?
I would reccomend during you LDAP auth code you simple create a user in
django.users if it doesnt already exit. This can be compeltly
transparent to the user, they will never know.
I tend to like to have to setup users to my small admin sites, cause
everyon
>Another issue that would create problems is
>adding users to LDAP directly -- Django wouldn't know about those users
Yes, but you create the user in django on login attempts to django
sites.
If LDAP auth successfukl:
search user DB
if not found:
add usert to db based on ldap pertmissi
I have started using pyScripter from MMM-Experts
(http://mmm-experts.com/Products.aspx?ProductId=4)
I have found this an excellent little IDE to work with. The only issue
I have is the default font, but other than changing that in the
options, its quick, fats simple to use, has tabs (( a must for
Hi
I am wondering what I need to do in order to get the admin site to
enforce the maxlength property. I am using the MR Branch.
I have a model with a CharField where maxlength=3. I goto in admin. It
shows a huge box ie way more than 3 charcaaters, allows you to enter
more than 3 characters and d
How can I see SQLs generated from an application. I have read the
previosu topics on this, but they no longer seem to apply to MR branch.
Well I cant find the table with all the queries anyways.
I am trying to use limit_choices_to on a foreignkey and it just doesnt
seem to do anything.
I have a
Agreeded, I am trying to use OneToOne in MR branch and get the same
problems.
I have:
class Employee(models.Model):
user = models.OneToOneField(User, verbose_name='Employees User ID')
...
And get the following error when trying to view the object in admin:
Request Method: GET
Req
PS Using ForeignKey works fine. So that my solution for now.
--~--~-~--~~~---~--~~
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 fr
This patch works:
http://groups.google.com/group/django-developers/browse_thread/thread/e784f1e5fde630ed/b7920dba4b69e455#b7920dba4b69e455
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To pos
That is definatly not the problem.
OneToOne just doesnt work with User.
--~--~-~--~~~---~--~~
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 un
Hi
If the form element is set correctly I have to question why it saved
more than 3 characters to the DB and then retrieved those same
characters back again. I would have to dig deeper to see exactly what
is going on which is why I posted the question first, under the idea
that other people have
Glad you solved it, PS the patch wasnt done by me BTW. Kudos to Luke.
--~--~-~--~~~---~--~~
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 unsub
Hi
Are you using the MR Branch for the OneToOne on User ?
Thx,
S
--~--~-~--~~~---~--~~
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 unsub
Hi
I am trying to get the list_filter to work with a ForeignKey field in
the admin site.
It works fine with with a standard charfield with choices, but when I
move those values out into a seperate model and add the filter fields
in to the list I dont get filters on the right hand side. I searche
That would be why yours works, this is specific to MR as stated above.
--~--~-~--~~~---~--~~
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 unsu
Sweet, thanks alot. A welcome addition.
--~--~-~--~~~---~--~~
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 e
51 matches
Mail list logo