it is exactly that but I have difficulties to explain it in with my bad
English level ;-) !
any idea ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
On 8/18/06, Nathan R. Yergler <[EMAIL PROTECTED]> wrote:
>
> Are you sure your url configuration is correct? Sounds like your
> problem isn't in the catalog function at all.
Are you sure the file is readable by your web server user?
--~--~-~--~~~---~--~~
You
Hi, according to the docs, I should be able order by a field in another
table like below, but for some reason I can't get it to work. I'm new
to django. Thought I'd give it a shot as I've primarily been using
Ruby on Rails.
views.py:
products = Product.objects.order_by('products_brand.name',
On 8/2/06, neuruss <[EMAIL PROTECTED]> wrote:
> > Is there anything you've forgotten to tell us? You really did just do
> > "django-admin.py startproject site", then "cd site", edit a couple of
> > lines inside settings.py and then "manage.py runserver"?
>
> No, I didn't edit any line.
> The
Are you sure your url configuration is correct? Sounds like your
problem isn't in the catalog function at all.
Mike wrote:
> Please bear with me as I continue to learn and struggle. We installed
> ElementTree and started tinkering around with it, but we are still
> having problems when we try
Please bear with me as I continue to learn and struggle. We installed
ElementTree and started tinkering around with it, but we are still
having problems when we try to have the view pass anything to the
templates. The code has been stripped down to:
from sputnik.utils.elementtree.elementtree
On 8/18/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 8/18/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote:
> > Why not use the same suffix syntax (or subset thereof) for other
> > django queries ie. __istartswith, __iexact, etc, instead of creating a
> > new one?
>
> This is a valid
On 8/18/06, david83 <[EMAIL PROTECTED]> wrote:
> After my last django update, page's auto-refresh after having an item
> doesn't work any more.
>
> Something changed in django which could caused this problem ?
Hey david83,
I can't think of anything that may have caused this problem. Could you
Ian Clelland wrote:
> I would have thought that this would have been automatic -- normally
> Django does a good job of telling me, when I delete an object, about
> any other objects related to it which will also be deleted.
Ok, I am sorry, but I am still confused! :(
First, I am using sqlite...
On 8/18/06, Mike <[EMAIL PROTECTED]> wrote:
> We read through and experimented with a variety of tutorials
> (since we're all still very new to python) and found several approaches
> that seem to work when written in the shell. Adding them to django
> however has proved to be very difficult.
I haven't tried this in particular, but I can tell you that the
ElementTree API for doing XML processing in Python is going to be
considerably simpler for something like this. ElementTree is available
at http://effbot.org/zone/element-index.htm, and will be in the standard
library starting with
On 8/18/06, Mike <[EMAIL PROTECTED]> wrote:
>
> We have been creating a content management system in Django which
> (despite a few learning bumps) has gone swimmingly. Now, we have
> reached an impasse. We have some applications running elsewhere on the
> site whose xml data we need to access and
On 8/18/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote:
> Why not use the same suffix syntax (or subset thereof) for other
> django queries ie. __istartswith, __iexact, etc, instead of creating a
> new one?
This is a valid point. One small argument in favor of the current
syntax is that
We have been creating a content management system in Django which
(despite a few learning bumps) has gone swimmingly. Now, we have
reached an impasse. We have some applications running elsewhere on the
site whose xml data we need to access and display from a django view
function. We read through
Thanks... that fixed it. I don't know how I missed that.
It's always the simple things.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
On 8/18/06, Tim Shaffer <[EMAIL PROTECTED]> wrote:
> RECURRENCE_CHOICES = (
> ('1', 'Daily'),
> ('2', 'Weekly'),
> ('3', 'Monthly'),
> ('4', 'Yearly'),
> )
>
> class Event(models.Model):
> title = models.CharField(maxlength=50)
> recurrence =
I have a model that holds events... simplified, it looks like this:
RECURRENCE_CHOICES = (
('1', 'Daily'),
('2', 'Weekly'),
('3', 'Monthly'),
('4', 'Yearly'),
)
class Event(models.Model):
title = models.CharField(maxlength=50)
recurrence =
On 8/18/06, themak <[EMAIL PROTECTED]> wrote:
>
> What is the best way to go about creating a user registration view in
> django, should I use create my own custom manipulator and create_user,
> or should I use an add manipulator, or is there already a user
> manipulator?
It should be plain
What is the best way to go about creating a user registration view in
django, should I use create my own custom manipulator and create_user,
or should I use an add manipulator, or is there already a user
manipulator?
--~--~-~--~~~---~--~~
You received this
Hello.
I think there is a problem in django.contrib.admin.models code:
string slice ("object_repr[:200]") doesn't respect multibyte encodings
(UTF8).
class LogEntryManager(models.Manager):
def log_action(self, user_id, content_type_id, object_id,
object_repr, action_flag,
Op wo, 16-08-2006 te 10:17 +1000, schreef Ian Holsman:
> does anyone know of a python module/interface to allow me to determine
> what state a given IP# is in?
Don't depend on those GeoIP (etc.) databases mentioned to be always
correct...
--
Jan Claeys
Exactly... and on that note: http://www.whitehouse.gov/robots.txt
--~--~-~--~~~---~--~~
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
Thanks, that's very helpful, and sounds very likely to be the problem.
I'll give it a try and see what I can come up with...
May take a little while but I'll post back once I have a resolution one
way or the others.
Cheers, Tom
--~--~-~--~~~---~--~~
You
Thanks Malcom. That's sorta what I expected to hear. I'm still trying
to work out the best way to do what I want to do (mostly static
websites with django's awesome templates and the occasional reusable
django app plugged in).
Maybe writing views for each page and setting those types of
u guys rock!!!
--~--~-~--~~~---~--~~
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
On Fri, 2006-08-18 at 12:14 +0900, Sean Schertell wrote:
> Hi folks,
>
> Okay, so I got my little staticpages app working (thanks adrian), and
> now I can happily throw sometemplate.html in my templates/ directory
> and I can view the page at mysite/sometemplate. Great! And it extends
> my
Some php projects had to cope with that.
I can remember phpbb : http://isc.sans.org/diary.php?date=2004-12-21
But many other projects suffered from this .
> is there enough advantage to be had by
> parsing the HTML response of a google search, that malware writers
> would bother to write that,
Seems to me that robots.txt is the first place I'd look if I was looking
to cause some trouble. :)
Jay
Ian Clelland wrote:
> I always
> assumed that all they would do is connect over port 80, and try to
> retrieve something like /admin/, or another platform-specific resource
> over http, and
On 8/18/06, Ian Clelland <[EMAIL PROTECTED]> wrote:
> I'm actually curious though -- is there enough advantage to be had by
> parsing the HTML response of a google search, that malware writers
> would bother to write that, rather than just trying IPs at random?
Yup.
The 'Santy' worm[1] (which
On 18/08/2006, at 4:39 PM, Ian Clelland wrote:
>
> On 8/17/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
>> this is how various worms spread in the past. they did a google
>> search for a specific 'feature'
>> and then with a known vulnerability in hand, they would attack that
>> site, put their
Maciej,
Thank you for help.
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 group, send email to
On 8/17/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
> this is how various worms spread in the past. they did a google
> search for a specific 'feature'
> and then with a known vulnerability in hand, they would attack that
> site, put their worm on it, and repeat.
Ian,
Do you know of worms that
On 8/17/06, 一首诗 <[EMAIL PROTECTED]> wrote:
>
> Hi all!
>
> Django provides a Ip Address Field. But actually it's a CharField with
> some IP formate check.
You can definitely subclass db.models.Field, or you can subclass any
of its subtypes, such as IntegerField or IPAddressField. You might
want
33 matches
Mail list logo