Remove the fwdslash in front
image = models.ImageField(upload_to='toy_images/')
It will work
On 11/7/07, Stupid Dustbin <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> recently I decide to try out the ImageField but it gives me some
> problems.
>
> in my models it is
>
> image = models.ImageField(uplo
On Nov 5, 2007 9:00 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> i have a topic want to discuss with all:
> there is a option in django-registration : AUTH_PROFILE_MODULE =
> 'myuser.MyUser' which can be setted in settings.py, so you can access
> value of MyUser by get_profile.xxx.
This i
can somebody help me ?
On 11月6日, 上午11时00分, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> you know django-registration is a famous module(http://code.google.com/
> p/django-registration/).
>
> i have a topic want to discuss with all:
> there is a option in django-registration : AUTH_PROFILE_MO
On 07-Nov-07, at 10:14 AM, Stupid Dustbin wrote:
> image = models.ImageField(upload_to='/toy_images/')
upload_to='toy_images/'
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message because
Hi,
recently I decide to try out the ImageField but it gives me some
problems.
in my models it is
image = models.ImageField(upload_to='/toy_images/')
in my settings.py here are my media settings
MEDIA_ROOT = '/media/'
MEDIA_URL = MEDIA_URL = 'http://localhost:8000/media/'
ADMIN_MEDIA_PREFIX
Hi,
recently I decide to try out the ImageField but it gives me some
problems.
in my models it is
image = models.ImageField(upload_to='/toy_images/')
in my settings.py here are my media settings
MEDIA_ROOT = '/media/'
MEDIA_URL = MEDIA_URL = 'http://localhost:8000/media/'
ADMIN_MEDIA_PREFIX
I have my project and django in different dirs. But again, this page
seems to work perfectly except this error notification by mail.
On 7 нояб, 03:42, "helpmesue mailman" <[EMAIL PROTECTED]> wrote:
> error was django_src, in your temlate dir you have django_projects...typo
> somewhere in there
On Mon, 2007-11-05 at 15:29 +, Justin Bronn wrote:
> > (2) The gis branch should really use a better name than "NoField" here.
> > Not a lot of code calls get_internal_type() -- the main critical piece
> > being db_type(). In all the cases where django.contrib.gis overrides
> > get_internal_ty
On Tue, 2007-11-06 at 15:02 -0800, gordyt wrote:
> Howdy Folks!
>
> I've got a new project coming up that will generate gazillions (that's
> a technical term for a whole lot) of objects for certain objects in
> the model.
>
> Is it possible to get Django to use a really large integer type for
>
On Mon, 2007-11-05 at 19:21 -0800, Hugh Bien wrote:
> Hi all,
>
>
> I'm trying to clear the cache table. Here's the code I'm using with
> Python 2.5 and Django version 0.96:
>
>
> def clear_cache():
> from django.db import connection
> cursor = connection.cursor()
> cursor.execute
On Mon, 2007-11-05 at 12:00 -0800, ygneo wrote:
> I use Django 0.96 in a SuSE with Python 2.3.3.
>
> I'm getting this JavaScript error: "gettext is not defined" when I try
> to edit an object with date field in the admin site. I have seen that
> occurs when calendar.js is trying to populate the m
On Mon, 2007-11-05 at 10:57 -0800, Justin Bronn wrote:
> As Karen noted, I last merged on 10/26 to r6613 -- thus, the latest
> GeoDjango is more up-to-date than your latest checkout of trunk
> (r5988).
>
> > If the trunk and GeoDjango AREN'T currently compatible, would it be
> > possible for us t
error was django_src, in your temlate dir you have django_projects...typo
somewhere in there
On 11/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> I have a website, and keep getting this error tracebacks to my mail:
>
> Traceback (most recent call last):
>
> File "/home/clients/my_site/d
I have a website, and keep getting this error tracebacks to my mail:
Traceback (most recent call last):
File "/home/clients/my_site/django_src/django/core/handlers/base.py",
line 81, in _real_get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/clients/m
On 07-Nov-07, at 6:49 AM, [EMAIL PROTECTED] wrote:
> Sorry to be unclear, I mean blogs about django
then B-list is the best
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message because yo
On 06-Nov-07, at 11:22 PM, Lars Stavholm wrote:
>> ok, seriously, is there not something we can do about the porn spam?
>> some of us read this list at work on machine's we don't own. the
>> image
>> stuff is becoming a serious problem.
>
> I do believe that Google groups are filtering out cl
Sorry to be unclear, I mean blogs about django
On Nov 6, 3:02 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Nov 6, 2007 4:32 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > What are the best django blogs, can you guys tell me. Thanks
>
> Are you looking for blogs which write about Dj
On Nov 7, 2007 1:47 AM, Derek Anderson <[EMAIL PROTECTED]> wrote:
>
> ok, seriously, is there not something we can do about the porn spam?
> some of us read this list at work on machine's we don't own. the image
> stuff is becoming a serious problem.
Everyday I tag about 1-3 messages using GMail
On Nov 7, 9:32 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> What are the best django blogs, can you guys tell me. Thanks
High on my daily visit list is the Django community aggregator[1]
which displays django-related blog posts from various members of the
community.
[1] http://www.django
Ok, I found my problem.
Because I was storing a object into the session dictionnary, when I called
method to add, modify or delete object's value, the session didn't get
saved.
2007/10/31, Francis Lavoie <[EMAIL PROTECTED]>:
>
> But Isn't the same thing as saving the object in the
> request["se
On Nov 6, 2007 4:32 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> What are the best django blogs, can you guys tell me. Thanks
Are you looking for blogs which write about Django (and thus which
you'd want to read), or blog software written with Django?
--
"Bureaucrat Conrad, you are techni
Howdy Folks!
I've got a new project coming up that will generate gazillions (that's
a technical term for a whole lot) of objects for certain objects in
the model.
Is it possible to get Django to use a really large integer type for
the automatically-generated primary key, like a serial or bigseri
What are the best django blogs, can you guys tell me. Thanks
--~--~-~--~~~---~--~~
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
On 11/6/07, äL <[EMAIL PROTECTED]> wrote:
>
>
> Hello Karen
>
> I have the same problem as Greg has.
>
> If I try to use your code I got an "page not found" error.
> Here is my code:
>
> views.py
> ### CODE ###
> def Karateka_edit(request, karateka_id):
>
> from kav.info.models import Karateka
Michael Best wrote:
> Jay Klehr wrote:
>> Are the other lists powered by Google Groups? Are they as active as
>> Django's list?
>>
>> Perhaps you should direct your complaints to Google, as I don't think
>> the people on this list (or even the owners of the list) can do much
>> about it (aside
On 11/6/07, Mikkel Høgh <[EMAIL PROTECTED]> wrote:
>
> ...
> I wonder if this is a bug and should be reported...
I think it is a bug, and I have opened a ticket:
http://code.djangoproject.com/ticket/5884
Karen
--~--~-~--~~~---~--~~
You received this message beca
James Bennett wrote:
> On Nov 6, 2007 1:22 PM, Michael Best <[EMAIL PROTECTED]> wrote:
>> This is one of the few lists where I get spam in my gmail account at
>> all. I don't know why that is, it almost feels like there is no
>> filtering on the list by Google at all.
>
> I'm subscribed to a num
On Nov 6, 2007 1:22 PM, Michael Best <[EMAIL PROTECTED]> wrote:
> This is one of the few lists where I get spam in my gmail account at
> all. I don't know why that is, it almost feels like there is no
> filtering on the list by Google at all.
I'm subscribed to a number of Google Groups-based lis
Jay Klehr wrote:
> Are the other lists powered by Google Groups? Are they as active as
> Django's list?
>
> Perhaps you should direct your complaints to Google, as I don't think
> the people on this list (or even the owners of the list) can do much
> about it (aside from moderating every new
El Tue, 06 Nov 2007 10:28:39 -0800
Chris Brand <[EMAIL PROTECTED]> escribió:
>
> Gonzalo Delgado wrote:
> >
> > The question is: why doesn't something like this work:
> >
> > ticketform.fields['server'].queryset =
> > Server.objects.filter(users=request.user)
> > ?
> > It doesn't end up on
Very nice, thanks for the detailed response!
-Peter
On Nov 6, 12:53 pm, Karen Tracey <[EMAIL PROTECTED]> wrote:
> At 10:40 AM 11/6/2007, you wrote:
>
> >Hi All,
>
> >I tried writing some code to do table locking on a MySQL MyISAM
> >database. I used the code below, which seemed to work in basic
Gonzalo Delgado wrote:
>
> The question is: why doesn't something like this work:
>
> ticketform.fields['server'].queryset =
> Server.objects.filter(users=request.user)
> ?
> It doesn't end up on any error, but the rendered form doesn't filter out the
> server choices.. any clue?
>
>
Download [[ Banana Secret ]] : http://w14.easy-share.com/9247851.html
--~--~-~--~~~---~--~~
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 unsubsc
You could also add some functions to the models to add pull the
related data
class TagItem(models.Model):
...
def get_related_artists(self):
# pull the data
return data
That function is available in the template and can be called inline so
to speak.
Joe
On Nov 6, 12:40 pm, "[EMAIL PROTE
Are the other lists powered by Google Groups? Are they as active as
Django's list?
Perhaps you should direct your complaints to Google, as I don't think
the people on this list (or even the owners of the list) can do much
about it (aside from moderating every new user/post).
Jay
Jeffrey Jo
Jeffrey Johnson wrote:
> This is the ONE list where I consistently get porn spam in gmail. What gives?
The format of these porn spam's is new,
I do believe the filtering will take care
of it soon enough. Takes a few of these to
train the spam filter(s).
/L
> On Nov 6, 2007 9:52 AM, Lars Stavholm
On Tue, Nov 06, 2007 at 10:02:50AM -0800, Jeffrey Johnson wrote:
> This is the ONE list where I consistently get porn spam in gmail. What gives?
High demand on this list?
-Forest
--
Forest Bond
http://www.alittletooquiet.net
signature.asc
Description: Digital signature
This is the ONE list where I consistently get porn spam in gmail. What gives?
On Nov 6, 2007 9:52 AM, Lars Stavholm <[EMAIL PROTECTED]> wrote:
>
> Derek Anderson wrote:
> > ok, seriously, is there not something we can do about the porn spam?
> > some of us read this list at work on machine's we d
Derek Anderson wrote:
> ok, seriously, is there not something we can do about the porn spam?
> some of us read this list at work on machine's we don't own. the image
> stuff is becoming a serious problem.
I do believe that Google groups are filtering out close to 99%
of all spam (sign up for a
> About all you can do is mark it as spam and let that train Google's spam
> filter.
>
>
A mail client that doesn't automatically show images will help, too.
--B
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
On Nov 6, 2007 11:47 AM, Derek Anderson <[EMAIL PROTECTED]> wrote:
> ok, seriously, is there not something we can do about the porn spam?
> some of us read this list at work on machine's we don't own. the image
> stuff is becoming a serious problem.
About all you can do is mark it as spam and le
At 10:40 AM 11/6/2007, you wrote:
>Hi All,
>
>I tried writing some code to do table locking on a MySQL MyISAM
>database. I used the code below, which seemed to work in basic
>examples, but the code would complain of accessing a non-locked table
>whenever I made a more complex query such as
>obje
ok, seriously, is there not something we can do about the porn spam?
some of us read this list at work on machine's we don't own. the image
stuff is becoming a serious problem.
--
looking to buy or sell anything?
try: http://allurstuff.com
it's a classified ads service that
shows
> I've run into a problem trying to model something in Django
> and could use some advice. In a nutshell, I'm trying to
> relate a single table to multiple (other) tables using a
> single foreign key field and foreign key type. I'm aware of
> the manytomany relationship type of Django but I don'
I've run into a problem trying to model something in Django and could
use some advice. In a nutshell, I'm trying to relate a single table
to multiple (other) tables using a single foreign key field and
foreign key type. I'm aware of the manytomany relationship type of
Django but I don't think th
Some advances in my investigation about this error.
The problem seems to be in the characters codification. I don't know
if django or maybe apache are codifying badly the special characteres
in spanish needed for translations. The same error happened when I try
to translate title and branding in
Download Watch?? r u want Sex.Wmv ==> http://w14.easy-share.com/9248491.html
--~--~-~--~~~---~--~~
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
Thank you Karen, that was it.
I wonder if this is a bug and should be reported...
The origial error was an error in the {% cycle %}-tag...
Kind regards,
Mikkel Høgh
On Nov 6, 2:58 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> It would appear the Django template code is actually trying to ra
Download Family Sex.3gp : http://w14.easy-share.com/9248891.html
--~--~-~--~~~---~--~~
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
Hi All,
I tried writing some code to do table locking on a MySQL MyISAM
database. I used the code below, which seemed to work in basic
examples, but the code would complain of accessing a non-locked table
whenever I made a more complex query such as
objects.filter(__) saying
that the table __ wa
Can you open a python interpreter and import your application?
I place a sim link (ln -s) within the python site-packages directory
to my project directory and the django source directory.
J
On Nov 5, 4:37 pm, stranger <[EMAIL PROTECTED]> wrote:
> Hello I am using Fedora 7. I am using Django for
Hello Karen
I have the same problem as Greg has.
If I try to use your code I got an "page not found" error.
Here is my code:
views.py
### CODE ###
def Karateka_edit(request, karateka_id):
from kav.info.models import Karateka
try:
karateka = Karateka.objects.get(id = karateka_
> I need to be able to query an object that has a set of related
> objects - the query is to find which objects contain the same
> set of query objects. For example the main object could be a
> research paper and the related object would be a set of topics
> that the papers could contain.
This
Am Dienstag, 6. November 2007 07:00 schrieb Matti Haavikko:
> Here's an alternative solution - it's based on the idea that the
> handlers are added to the logger only once. (getLogger returns the same
> logger instance each time).
>
> import logging
> logger=logging.getLogger("dws")
> if not logge
Hi,
I need to be able to query an object that has a set of related
objects - the query is to find which objects contain the same set of
query objects. For example the main object could be a research paper
and the related object would be a set of topics that the papers could
contain.
clas
Great answer, thank you!
On Nov 5, 5:17 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> The latest roundup on thread safety of Django is that although it was
> not designed for thread safety initially, the only known
> multithreading problem has been fixed some time back. As such,
> numerous pe
Hi,
>From Django Book:
"syncdb command is a simple sync of your models to your database.
It looks at all of the models in each app in your INSTALLED_APPS
setting".
But you can uses --settings option for manage.py.
./manage.py syncdb --settings=mysettings
where mysettings.py contains only your
Hello there,
I'm using Django 0.96 here. I've got a couple of models
related by a ForeignKey that look more or less like this:
class Server(models.model):
name = models.CharField(maxlength=20)
users = models.ManyToManyField(User)
class Ticket(models.model):
des
I don't know if this was asked before, but I can't seem to find an
answer
I want to syncDB for a specific application in my site.
Something like when you do
python manage.py sql MyApplication
and it only generates the SQL for that application.
Can I do something like:
python manage.py syncdb My
Hi Manakel,
On Nov 6, 11:53 am, Manakel <[EMAIL PROTECTED]> wrote:
> This web application had a Authorization model at the Field level.
> []
> TASK has a progress status field and a due date field
> realisator user can only change the status field
> owner can change both the status field
By the way Karen, thanks for the help.
joe
--~--~-~--~~~---~--~~
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, se
Before I was using pydev 1.2.5 with eclipse 3.2 with mylar. Now I
just upgraded to eclipse 3.3 and pydev 1.3.10. Debugger is working,
now I can click on classes, it just takes me there.
If try to install pydev 1.3.10 from eclipse install manager, then you
will get mylar package error. Just dow
Hello Everybody,
I'm kind of new to Django (less than 1week now).
I have the task to migrate an existing web application to django.
This web application had a Authorization model at the Field level.
If i take a TASK model for demonstration.
TASK has a progress status field and a due date
Hi. When there is a server error (error 500 returns) the template
context processors don't seem to be doing anything (not passed to the
template).
I have this template context processor:
import llcom.settings
def site_context(request):
""" Add URL prefixes from settings file to request cont
Hi. When there is a server error (error 500 returns) the template
context processors don't seem to be doing anything (not passed to the
template).
I have this template context processor:
import llcom.settings
def site_context(request):
""" Add URL prefixes from settings file to request cont
problem solved..
it lies on the django.po
i havent remove the
#, fuzzy
mark.. thats why its not translated
link:
http://groups.google.com/group/django-users/browse_thread/thread/e8476fa11cefc2b7
Notice that the message in question is marked as "fuzzy". That means
the
translation does not qu
66 matches
Mail list logo