+1 for HTTPS access. On 5/8/06, Mr. P <[EMAIL PROTECTED]> wrote:
Apologies for dredging up a (slightly) old thread, but I have the sameproblem.Again it is not a policy problem but a technological one, and easilysolved. Our proxy here does not support the WebDAV extensions needed
for SVN access but
On 5/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I'm trying to modify Manager querysets but I'm unable to make the...
"c:\python24\lib\site-packages\django-0.91-py2.4.egg\django\db\models\manager.py",Hi,You're using an old version of Django - v0.91 doesn't contain any of the new Queryset log
I'm trying to modify Manager querysets but I'm unable to make the
example (Person, Men, Women) from Django Model Reference page to work.
When I call
Person.men.all()
I get this error:
Traceback (most recent call last):
File "", line 1, in ?
File
"c:\python24\lib\site-packages\django-0.91-py
According to the docs:
"The semantics of one-to-one relationships will be changing soon, so we
don't recommend you use them. If that doesn't scare you away, keep
reading."
It scares me a bit. Can anyone expand on the "changing semantics" or
point me to an existing discussion?
Thanks
--~--~---
I am porting an app to the latest SVN trunk of Django and am running
into a problem with the admin interface not currectly processing
objects which are subclasses of a more generic model. I've written up a
small testcase model that demonstrates this problem:
from django.db import models
class Tic
Hey everyone!
As you may or may not know (or are sick of hearing about) ... I've
been dabbling on a web-game for a while now. It's called "My Dark
Secret" and it's an online Murder Mystery Dinner Party game. You get
to participate in a murder mystery as a murderer or a suspect. Your
challenge is
I posted this in MySQLdb's tracker but it seems it has to do with
Django. I have a view with one field being a time difference, computed
as sec_to_time(unix_timestamp(end)-unix_timestamp(start)). MySQL
specifies that the return type is TIME, whose values may range from
'-838:59:59' to '838:59:59'
Thanks for the tip! I will check it out when I get home this evening.
I'll keep my fingers crossed that this will help me get django
going... I've been wanting to start playing with Django for an
upcoming project but am not a sys admin and can't get my box setup.
*bangs head against the wall*
I b
>
> This is actually along the lines of some of the big-picture admin
> changes I've been thinking about. Another side effect is that if each
> app has it's own dashboard/changelist/filters, it also opens up the
> actual index page for some additional functionality.
>
Yes, this would be a very ni
On 5/6/06, Paulo <[EMAIL PROTECTED]> wrote:
> 4. "python manage.py runserver" and "python manage.py init" start
> throwing errors
> -- my MYSQL DB is setup
> -- settings.py has the correct db info entered
>
> "python manage.py runserver" gives me quite a few errors:
> "bash-3.00$ python manage.py
On 5/5/06, Petar MariƦ <[EMAIL PROTECTED]> wrote:
> class Paper(models.Model):
> # ...
> submited_on = models.DateField(
> auto_now_add=True,
> )
> # ...
>
> The above will spit out:
> Exception Type: ValueError
> Exception Value:year is out of range
> Except
http://code.djangoproject.com/ticket/1810
have fun ;)
btw ... how are people running the test suite? Do you make a custom
test_settings.py module and keep it somewhere on your pythonpath?
That's what I was doing but it would be nice if there were default
settings that just started everything
> In my urls.py I use
> (r'^shop/(?P.*?)/','shopproject.apps.shop.views.shop.Index')
> but also
> (r'^TradeOffice/','shopproject.apps.shop.views.shop.TradeOffice'),
>
> so that I can not change simply
> (r'^shop/(?P.*?)/','shopproject.apps.shop.views.shop.Index')
> into
> (r'^(?P.*?)/','shopproj
I have a shop application where a user register the NameOfShop and the
new shop is created for him.
If he wants to see his shop he must use URL something like
http://www.domain.com/shop/NameOfShop
Is there a possibility to make the URL shorter that is - to remove
shop name-.
for example to
Hi,
I'm having a problem with the template {% include .. %} tags. I'm using
the svn trunk. Here's a simplified version of what I'm trying to do:
base.html
-
http://www.w3.org/1999/xhtml";>
...
(basic common css)
{% block extra_css %}{% endblock %}
{% block jscript
Joey ,
Thank you for the explanation
Best regards,
L.
--~--~-~--~~~---~--~~
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
On 5/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I've created the following model:
>
> class Place(models.Model):
> name = models.CharField(maxlength=100)
>
> class Continent(Place):
> pass
>
> class Country(Place):
> superLocal = models.ForeignKey(Continent)
>
> In the inte
This is actually along the lines of some of the big-picture admin
changes I've been thinking about. Another side effect is that if each
app has it's own dashboard/changelist/filters, it also opens up the
actual index page for some additional functionality.
On 5/8/06, Rudolph <[EMAIL PROTECTED]> w
Apologies for dredging up a (slightly) old thread, but I have the same
problem.
Again it is not a policy problem but a technological one, and easily
solved. Our proxy here does not support the WebDAV extensions needed
for SVN access but doesn't interfere with an HTTPS connection at all,
allowing
On 5/8/06, Michael Radziej <[EMAIL PROTECTED]> wrote:
> Wade Leftwich wrote:
> > I work for a magazine publishing company that has 150 websites for 75
> > different mags. Quite often we create an application and present the
> > same data structures via 50 different HTML layouts.
> >
> > We've had
Wade Leftwich wrote:
> I work for a magazine publishing company that has 150 websites for 75
> different mags. Quite often we create an application and present the
> same data structures via 50 different HTML layouts.
>
> We've had a lot of success using Zope thru-the-web (TTW) templates for
> th
Hello,
I work for a magazine publishing company that has 150 websites for 75
different mags. Quite often we create an application and present the
same data structures via 50 different HTML layouts.
We've had a lot of success using Zope thru-the-web (TTW) templates for
this kind of thing, so peop
Hi, I'm a Django hacker based in London working with a start-up,
we've got a big project coming up and we're after one or two
developers to help out.
The start-up is moblogUK. We're a moblogging community at http://
moblog.co.uk/ . The project will be building on that. It will last
about
No, never have
--~--~-~--~~~---~--~~
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 PROTEC
You may need to define the return value with the following:
def __repr__(self):
return "%s" % ('Whatever value you want to return, such as
self.name')
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django use
Hi Folks,
So I have a question about how best to implement a permission structure
for an app I'm writing.
The app is a way of automating running commands on different servers.
So my command model looks like this:
class Command(models.Model):
command_type = models.ForeignKey(CommandType)
On 5/8/06, PythonistL <[EMAIL PROTECTED]> wrote:
>
>
> From Parent function I call Child function and I would like the
> Child function to
> show ChildResponse, see.
> return render_to_response('ChildResponse',) in Child function
>
> But it does NOT work.
> Only Parent response is shown.see.
>
Hi folks,
I have the same problem here. (version 0.95)
Have you found where the problem was?
Thanks, x0nix
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email t
I have
#
def Parent(request):
print "I am in parent"
Child(request)
return render_to_response('ParentResponse',)
def Child(request):
print "I am in child"
return render_to_response('ChildResponse',)
#
>From P
Hi,
+1 for a per-app page which by default lists all models of the app.
Then the bread crumbs should also have another level: home > app-name >
model-name which makes sense since you could have models with the same
name but in different apps.
Rudolph
--~--~-~--~~~--
30 matches
Mail list logo