I've been having some very strange issues with the
django.views.generic.date_based views and was wondering if anyone had
some insight as to what the problem may be. I'm using the latest SVN
on MacOS X 10.4.7 with MySQL 5.0.22 and Python 2.4.3.
I've built a simple date-based app that works f
Hi All:
I'm starting to work on a webmail app in Django. I came across an
improved version of
imaplib1 that uses threads for some of the calls to the IMAP server.
Will this cause
problems in a Django / mod-python / Apache scenario? Or should I stick
to plain imaplib?
David Blewett
1: http://www
On 7/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hello again.
>
> Sorry for the lack of information. I'm using Linux (kubuntu). I see
> that the site-packages directory (in /usr/lib/python2.4/site-packages)
> contains a "Django-0.91-py2.4.egg/" directory so I assume you mean that
> one
Nick,
> Cool, this actually works with yielding, thank you very much.
>
Glad that it worked (I didn't try it out)
> You don't seem to be THAT new too django:)
>
I am. Just started a few days ago. But since I had to find a way how to
use Django with a normal CGI interface I had to dig into t
Thanks both for your help.
I've also dropped the database and started again and this time I saw
the option to create the super user login/pass that I probably
skipped by being to impatient.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are
On 7/15/06, webd0012 <[EMAIL PROTECTED]> wrote:
> Also, I want to have more than one type of place. Is subclasses the
> right way to do this? I tried (for "Park" as shown below), but get an
> error in the admin that says "'Place' object has no attribute
> 'has_benches'".
Model subclassing is un
Hello again.
Sorry for the lack of information. I'm using Linux (kubuntu). I see
that the site-packages directory (in /usr/lib/python2.4/site-packages)
contains a "Django-0.91-py2.4.egg/" directory so I assume you mean that
one.
There is, however, another file: "/usr/bin/django-admin.py". I'm
gu
I'm not sure the best way to do this.
I want to have "class Place". "Places" can be listed by either
specific "City", or by a specific "Section" of a city.
list_places_by_city
list_places_by_citysection
Also, I want to have more than one type of place. Is subclasses the
right way to do this?
On 7/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I just installed Django but made the mistake of installing the 0.9
> version. I then came across some text on the website that discouraged
> using this.
>
> So I want to uninstall the version I previously installed but the
> problem is t
I just installed Django but made the mistake of installing the 0.9
version. I then came across some text on the website that discouraged
using this.
So I want to uninstall the version I previously installed but the
problem is that I don't find any uninstall script and I don't know what
files the
On 7/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I've also looked in the doc which says:
> ---
> Just run this command:
>
> python /path/to/django/contrib/auth/create_superuser.py
> ---
> but if I do it I have:
> EnvironmentError: Environment variable DJANGO_SETTINGS_MODULE is
> undefine
> the import statement worked fine but not the create_user:
> AttributeError: type object 'User' has no attribute 'create_user'
Whoops, that should be User.objects.create_user()
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
Jeremy Osterhouse wrote:
> Yes, you missed something, but you aren't the first! If you have
> django.contrib.auth in your INSTALLED_APPS (should be there by default,
> I think), and ran manage.py syncdb, then it should have prompted you
> for a superuser account username and password.
>
> If you d
Jeremy Osterhouse wrote:
> Yes, you missed something, but you aren't the first! If you have
> django.contrib.auth in your INSTALLED_APPS (should be there by default,
> I think), and ran manage.py syncdb, then it should have prompted you
> for a superuser account username and password.
>
> If you
Hi,
I'm following this tutorial http://cavedoni.com/2005/django-osx
and when I'm installing mod_python I get this error from 'make'
apxs:Error: Command failed with rc=65536
my installation pf Apache 2 is in a different place '/library/apache2'
not 'usr/local/apache2'
(but I did change the conf
Yes, you missed something, but you aren't the first! If you have
django.contrib.auth in your INSTALLED_APPS (should be there by default,
I think), and ran manage.py syncdb, then it should have prompted you
for a superuser account username and password.
If you did that, but don't remember what you
On 7/15/06, learner404 <[EMAIL PROTECTED]> wrote:
> The problem is I that I don't remember to give any login/pass to django
> and my mysql login/pass doesn't help either.
When you ran 'manage.py syncdb' you should have been prompted to
create an administrative account.
--
"May the forces of evi
Nick wrote:
> Martin,
>
> Cool, this actually works with yielding, thank you very much.
By the way remember that this response generation happens after the
moment when Django considers the response handled. This means that if
you, say, use any DB related functionality when generating response
Hello,
I've co the latest version of django through the svn repository and I'm
using mysql on a Ubuntu box (local PC).
I did part 1 of the tutorial and it works great but on part 2 I'm
supposed to just "login" into django administration on
http://127.0.0.1:8000/admin/
The problem is I that I don
FireBug http://www.joehewitt.com/software/firebug/ is is great for
debugging XmlHttpRequests. I shows you the posted var, the returned
headers and the return body. So you will see the django errors, just
not rendered in html.
Check out this screenshot
http://www.joehewitt.com/software/firebug/s
Martin,Cool, this actually works with yielding, thank you very much.You don't seem to be THAT new too django:)Kind Regards,Nick ParrinOn 7/15/06,
Martin Glueck <[EMAIL PROTECTED]> wrote:
Nick,I'm new to Django so if I'm wrong here, I hope that somebody willcorrect me.> I'm wondering, is it pos
There is:
http://code.djangoproject.com/wiki/FormField
Chris
--~--~-~--~~~---~--~~
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 f
Nick,
I'm new to Django so if I'm wrong here, I hope that somebody will
correct me.
> I'm wondering, is it possible in django to write out data to the client
> (maybe via HttpResponse?) in an ubuffered way, so that you feed the data as
> it comes in django to the end user. I figured it's not
Thanks guys, I'll try it out, it seems very good.
Nebojsa, don't worry about the self promotion, thanks for sharing. :)
Enrico
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
Sorry, I found the error myself:
I was mistaken concerning the value
for my_apps in AUTH_PROFILE_MODULE
uli
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
Hi All:
I'm starting to work on a webmail app in Django. I came across an improved version of
imaplib1 that uses threads for some of the calls to the IMAP server. Will this cause
problems in a Django / mod-python / Apache scenario? Or should I stick to plain imaplib?
David Blewett
1:
http://w
Am Samstag, 15. Juli 2006 15:12 schrieb PythonistL:
> Not sure I fully understand.
> Can you please explain a little more?
>
> Do you mean that
> p.gallery.created
> should work( where p is my photo object)?
exactely - you might want to take a look at
http://www.djangoproject.com/documen
Hi,
in need of an extended user model I followed the
little tutorial on
http://www.b-list.org/weblog/2006/06/06/django-tips-extending-user-model:
1. I created a model
2. I added AUTH_PROFILE_MODULE ='my_apps.my_model_name' to my setting
But when I try to get the data from my extension (like
u.
Hi,I'm wondering, is it possible in django to write out data to the client (maybe via HttpResponse?) in an ubuffered way, so that you feed the data as it comes in django to the end user. I figured it's not possible because you need to return the HttpResponse object for the client to get data.
I'm t
Not sure I fully understand.
Can you please explain a little more?
Do you mean that
p.gallery.created
should work( where p is my photo object)?
Thank you for help
L.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
> >>> p.gallery_id.created_id
>
> Traceback (most recent call last):
> File "", line 1, in ?
> AttributeError: 'long' object has no attribute 'created_id'
>
> Where is a problem?
your photo object "p" has an attribute "gallery" which references a gallery
object (the one with id=p.gallery_id) an
NikI,
thank you for your help. I tried
>>>p=photos.get_object(id__exact='18')
then
>>> p.gallery_id.created_id
Traceback (most recent call last):
File "", line 1, in ?
AttributeError: 'long' object has no attribute 'created_id'
Where is a problem?
When I tried
>>> p.gallery_id
I received
27
hi,
> but how can I find a user for a particular photo?
wanted_user = particular_photo.gallery.created
--
cheers,
Nikl
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
I have the following model
#
class User(meta.Model):
Login=meta.CharField(maxlength=50,unique=True)
Password=meta.CharField(maxlength=30,blank=True)
class Gallery(meta.Model):
Title = meta.CharField( maxlength=80)
Description = meta.TextField(_("Description"), bla
thanks malcolm, that´s what I supposed.
as for now, it´d be cool to refer to django/forms/__init__.py within
the documentation. that might help a lot.
patrick
Am 15.07.2006 um 11:33 schrieb Malcolm Tredinnick:
>
> Hi Patrick,
>
> On Sat, 2006-07-15 at 11:05 +0200, patrickk wrote:
>> answering
Hi Patrick,
On Sat, 2006-07-15 at 11:05 +0200, patrickk wrote:
> answering to myself: it does work with a TextField - is that
> explained somewhere?
>
>
> Am 15.07.2006 um 10:55 schrieb patrickk:
>
> >
> > Ok. I´m trying to use a Custom Manipulator now (which seems to be
> > very easy).
> >
answering to myself: it does work with a TextField - is that
explained somewhere?
Am 15.07.2006 um 10:55 schrieb patrickk:
>
> Ok. I´m trying to use a Custom Manipulator now (which seems to be
> very easy).
>
> But, I´m getting a strange error:
> 'module' object has no attribute 'CharField'
>
Ok. I´m trying to use a Custom Manipulator now (which seems to be
very easy).
But, I´m getting a strange error:
'module' object has no attribute 'CharField'
class RegistrationManipulator(forms.Manipulator):
def __init__(self):
self.fields = (
forms.CharField(field_na
maybe http://zyons.com will do what you need (or provide a base for
it at least)
On 15/07/2006, at 4:06 AM, Joe Murphy wrote:
>
> Yup, I caught that earlier today, it's a good start. I think the
> details that matter here are the timeline, ease-of-use by a
> non-technical audience, and hacking
On 15-Jul-06, at 1:41 PM, Nebojsa Djordjevic wrote:
>> How hard would be to create a "custom" ImageField for this?
>> It could be used in many other models in my project, and could
>> even get
>> included in the Django package.
>
>
> Try http://trac.studioquattro.biz/djangoutils/wiki/Thumbnail
Enrico wrote:
> Hi,
>
> I'm trying to resize an image automatically after the upload. Maybe
> Django should have this by default, but until there I'll try myself...
>
> I got it working sucessfully, but I don't know if this is the best way,
> the image is processed every time I save the object,
41 matches
Mail list logo