sr/lib/python2.5/site-packages/django/db/models/fields/__init__.py"
> in get_db_prep_value
> 353. return int(value)
>
> Exception Type: ValueError at /admin/grades/student/1/photos/desktop.png/
> Exception Value: invalid literal for int() with base 10:
> '1/photos
> Your urls.py could be capturing that entire string and passing it as a
> parameter that you are trying to cast to an integer.
>
> A bigger stack trace would be easier to track down the problem.
>
> On Sep 18, 8:34 am, Picio <[EMAIL PROTECTED]> wrote:
>> I hav
I have the same issue, tried:
Django 1.0 with sqlite3 (Wiindows)
Django 1.0 with Mysql 5.0 (Windows)
Django 1.0 with sqlite3 (Mac OS X)
Daniele
2008/9/18 silk.odyssey <[EMAIL PROTECTED]>:
>
> I am using an imagefield from the admin interface. I can upload images
> without problems but when I
Hello,
Im running django .97 svn rev 5804, and I'd like to customize the
date_hierarchy drill down to show only some records in thte admin
change_list page "from a date" instead of searching the "exact date".
Example:
I need to see what i have done after 2006 march 22... So I drill this way
2006
It helps.
Picio
2007/3/5, Michael Cuddy <[EMAIL PROTECTED]>:
>
> I've defined a custom manager for some of my models (similar to, but not
> exactly like filtering by settings.SITE_ID).
>
> Unfortunately, the Model's manager doesn't seem to get used in the
> admin
on the superduperguruLukeplant great hack)
4) wait for the new Admin Class (maybe 0.96 will come soon)
Bye
Picio
2007/3/1, zenx <[EMAIL PROTECTED]>:
>
> Hi,
>
> How could I filter the results of my admin change_list page. I know I
> can extend the change_list template but
Hello,
I have 0.95 working on my dev laptop.
I'd like to upgrade It to 0.96 removing the old version.
Which are the steps? (if many)
Some doc to point me out?
I appreceiate your help
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Sorry for the mistake:
class myCustomizedMan(models.Manager):
def get_query_set(self):
userid=threadlocals.get_current_user().id
return
super(myCustomizedMan,self).get_query_set().filter(your_user__id__exact=userid)
It was userid... ;) I'm tired!
2007/2/22, Picio <[EM
of the djangobook
3) try my little tric (based on the superduperguruLukeplant great hack)
4) wait for the new Admin Class (maybe 0.96 will come soon)
Bye
Picio
5) read this fantasti news letter every day
2007/2/22, Django <[EMAIL PROTECTED]>:
>
> Hi,
>
> Is it possible to customise t
Many many thanks, It helped me find the "js" admin feature !
I've not seen It before !
Useful!
Picio
2007/2/13, Benedict Verheyen <[EMAIL PROTECTED]>:
>
> John Sutherland schreef:
> > Hi all,
> >
> > Firstly, sorry for the cross-post.
> >
> > M
Hello,
I'm using 0.95 and I'd like to use the django admin date picker
(calendar.js) in my custom view. I saw that I have to use
DateTimeShortcuts.js and calendar.js but I'm not a
JavaScript expert. I can't figure out how to implement the widget in the page.
Which are the right and only
I have the same problem. I'm trying to figure how It does this way.
Please if you solved already, tell me how.
Thanks
Picio
2007/1/16, Jyrki Pulliainen <[EMAIL PROTECTED]>:
Hi there,
I've customized a voting application interface to show voting results
on a custom view in admin.
H
solve in a more light way.
Picio
--~--~-~--~~~---~--~~
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
Hello, dumb question:
which is the chance that patch #1435 will be integrated in trunk before 1.0?
How can I aplly this patch to my 0.95 trunk version of django?
thanks
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
method to execute SQL statement but it would be
better for me if there is any django built in method to do it.
I hope It's not a dummy question!
Thanks a lot.
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"D
meone help to find where I'm wrong? (If needed I can put my code
on pastebin)
Thanks in advance.
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
stuff.
Can someone help to find where I'm wrong? (If needed I can put my code
on pastebin)
Thanks in advance.
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
It's not a good thing to hack and customize the admin but when
you just have 1 or 2 things to change, It's not fair to rebuild
(against the DRY) another admin+1 little thing from scratch ! :)
Thanks a lot for your patience.
Please Help us.
Picio
2006/12/18, Daniel Kvasnicka jr. <[EMAIL PROTEC
Just courious if Is there anyone that have built or will build a CRM
or an ERP using Django?
Thanks
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
Gotcha!
For Linux you can try this:
http://www.carthage.edu/webdev/?p=14
It's on Pyhton 2.4 and, again look to free comments.
Picio
2006/11/17, Picio <[EMAIL PROTECTED]>:
> This is on Windows but the install procedure on Linux is similar.
> http://thinkhole.org/wp/2006/04/03/djang
This is on Windows but the install procedure on Linux is similar.
http://thinkhole.org/wp/2006/04/03/django-on-windows-howto/
This is the official how to
http://www.djangoproject.com/documentation/install/
Read all comments !
Picio
2006/11/17, BeagleBen <[EMAIL PROTECTED]>:
>
> H
You can also try to build It yourself following this, It's funny! ;)
http://www2.lamptraining.com/screencast/1
Picio
2006/11/16, Guillermo Fernandez Castellanos
<[EMAIL PROTECTED]>:
>
> There is a few examples if you look in the mailing list:
> http://code.djangoproj
Please consider also that:
using modelname._default_manager returns the name of the custom
manager correctly so
the manager is set well.
2006/11/16, doubtintom <[EMAIL PROTECTED]>:
>
> When a model contains (along with other fields):
> owner = models.ForeignKey(User, related_name="owner",
Hello,
Is there anyone that achieved to customize/filter the query set listed
in the Admin
"change list" page?
How do you do It?
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&
thing to hack and customize the admin but when
you just have 1 or 2 things to change, It's not fair to rebuild
(against the DRY) another admin+1 little thing from scratch ! :)
Please Help us.
Picio
2006/11/13, doubtintom <[EMAIL PROTECTED]>:
>
> Hi Picio, Luke and anyone els
This is what I have now, that is
-my code
-the two answers I got from the creator of our "Admin Hack Code" Luke.
I think we havo do a strict comparison between our and It's code.
My Django version is 0.95 official.
Hope this helps.
Picio
My Code:
http://paste.e-scribe.com/hold/2728/
Thanks Russell, I'm start thinking this way too, after the time spent
trying to hack the Admin. Hopefully I will obtain some results in a
week or two, with generic views, and of course now or in the future I'
need to begin building my application without relying on the Admin.
I Hope.
Picio
2006
Hello,
I'm searching for ways to filter query_set inside the admin interface,
without hacking It. Do you think is It possible through so template
tags?
Is there any article example you can point me out?
Thanks.
Picio
--~--~-~--~~~---~--~~
You received
your patience about all this posts I made.
Picio
--~--~-~--~~~---~--~~
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 unsubscri
Hello,
Is Ita possible to override the list_filter behaviour?
Where It resides?
Pico
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
> Do I Have to use a custom manipulator?
>
> Thanks in advance.
> Picio
>
Sorry I want to say CUSTOM MANAGER
:(
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" gro
inside the page that shows
all "Operazioni" records?
Do I Have to use a custom manipulator?
Thanks in advance.
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
.
Picio
--~--~-~--~~~---~--~~
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 PROTECTED
Hey,
I see a "1" at the end of the URL, when you think you will release the
"2" and so forth?
I was really impressed about how usefull was your screencast for me. I
saw It 3 times and I'm going to see It again because It's a good tool
to make my memory fresh!
Thanks.
Pi
Hello, can someone help?
I have a web app, that works pretty well just with the admin interface
! (very nice BTW)
This is a model I have:
class operation(models.Model):
descr= models.TextField()
data = models.DateField('giorno')
time_spent =
the admin app.
>
> Hope it helps,
>
> G
>
> On 11/3/06, Picio <[EMAIL PROTECTED]> wrote:
> >
> > Hello gys,
> > I'm probably falling again and again in some pitfall...
> > I want to add a new user with permission in the web admin interface.
>
min interface, create the user, add permissions
and PASTED the generated pw.
Trying to log in with the new password I got again the error stating
that my pw is not right.
Where I'm wrong?
thx
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscri
Hello Marcus,
now I have XChat running, on freenode server.
Do I have to register myself somewhere to use It?
Picio
2006/10/23, Marcus Mendes <[EMAIL PROTECTED]>:
>
> Hi,
> Just for start, you can use 'xchat'; choose freenode server , set
> nickname to you and try to c
to help.
Picio
--~--~-~--~~~---~--~~
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
Hello I hope this is not a DUMB question:
Is there a step by step guide about how to install an application
downloaded from the web?
Let's say you have someone putting his good django-powered app on the
web, under GPL.
You achieve to download it with svn.
What's next?
Picio
WoW thanks, I'll give it a try.
Is lighttpd setup more easy?
Picio
2006/10/11, Joseph Heck <[EMAIL PROTECTED]>:
> I've been using Apache+Mod_Python+Django on windows without any trouble at
> all. The biggest "trick" is to set the configuration to enable the
> mod_python
, 2006-10-10 at 12:01 +0200, Picio wrote:
> > Hello,
> > I saw in the official docs that It's not a good practice to use the
> > django embedded web server in any production envionment.
> > I have a little Intranet with 4 workstation and a home made server
> > (based on an
, my wife and two other friends working. There are no
performance concerns since the I app I built It's very simple and only
2 or 3 users may work on It at the same time.
So,
what are the risks you see in me using the django web server to deploy
a little web app?
Picio
to do all the configuration work to make them happy togheter! ;)
What I'm searching is a tool or a script or also some direction to
build this "package" myself.
Sorry if I speak in a bad way. And sorry for my english.
Picio
--~--~-~--~~~---~--~~
Yo
to Django.
Am I right? Feel free to correct me.
Picio
--~--~-~--~~~---~--~~
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
hello,
do you know about some kit to have:
a web server
python
postgres
and Django?
something like Wamp.
In other words is there any real PAID (made in AH) kit available?
thanks a lot
Picio
--~--~-~--~~~---~--~~
You received this message because you
Hello,
where can I find a simple guide about how to use CSS through the
"media" folder?
Thanks for any advice.
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
You mean I don't need to set
DJANGO_SETTINGS_MODULE = ?
Wow, this is good.Thanks
Picio
P.s.: Do you are the guy who built
woodlog? If yes, Is there a little guide to install it?
2006/9/15, limodou <[EMAIL PROTECTED]>:
>
> On 9/15/06, Picio <[EMAIL PROTECTED]> wrote:
> &
Hello,
If my project dir is /home/picio/blog
(where I have __init__.py, models and the other stuff)
what I have to set for DJANGO_SETTINGS_MODULE = ?
Thanks.
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
OK done it works well.
I've tried also:
python manage.py runfcgi help
and It went well.
Thanks a lot.
Picio
2006/9/14, Ivan Sagalaev <[EMAIL PROTECTED]>:
>
> Picio wrote:
> > Thanks Ivan, just done the install.
> > Is there a quick way to verify it's ok or do I have ju
Hello,
reading the documentation I saw that django has support for sqlite3,
does this means that I can use it (also) with sqlite2 version 2.8.16-1?
In other words does Django support earlier versions of sqllite?
If I pose thee wrong question, just in few word:
Which version of sqlite django
Thanks Ivan, just done the install.
Is there a quick way to verify it's ok or do I have just to finish to
read the doc at
http://www.djangoproject.com/documentation/fastcgi/ ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
rse django is already well set on the server.
I can also move to apache and mod_python but since lighttpd is doing
well It's job, I prefer to stay with It.
Thanks.
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&qu
sorry guys for the boring question, what is the meaning , exactly, of the
"magic removal"?
Thanks.
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to th
A,
It have to be simple.
I hope that I have not misunderstood the DRY
principle, but since I'm following a thread
where It seems people want to build a public
repositoryfo django apps.
thanks a lot.
Picio
--~--~-~--~~~---~--~~
You received this message because you are
"Mantua me genuit..."
Many many thanks.
Daniele
--~--~-~--~~~---~--~~
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
So It's only a matter of waiting until October?
You think It's a reliable promise?
2006/9/9, Jeremy Dunck <[EMAIL PROTECTED]>:
>
> On 9/9/06, Picio <[EMAIL PROTECTED]> wrote:
> >
> > What I don't understand is
> > if there will be a Open & Free Django Bo
What I don't understand is
if there will be a Open & Free Django Book
or not.
Do you know something about it?
Picio
2006/9/8, James Bennett <[EMAIL PROTECTED]>:
>
> On 9/8/06, Daniele Spino <[EMAIL PROTECTED]> wrote:
> > Apress will publish "Pro D
Hello,
Did you know if there is someone that installed Django on this cool
little device:
www.nslu2-linux.org
??
Ive one of those with lighttpd+fastCGI and I'd like to know something
about Django+Nslu2 before a try.
Thanks,
Picio
--~--~-~--~~~---~--~~
You
Hello, I'm a Django newbie, I finished right now the tutorial, I read
also other text coming from my docs dir in Django_0.95. Do you know if
there is some Book like what I see here
http://www.rubyonrails.org/docs
but of course for Django?
Can you give me any advice like where I have to go after
o see Django worked-example
videos for building e.g. a 'newspaper', wine-store, blog
and other practical applications."
So if one of you guys is interested in
I hope this request is not bad for anybody in the community, but feel
free to tell me if I have to cancel the request for some rea
start dive into
Django now at 0.95 time instead of waiting until 1.0?
Basics will change a lot after release 1.0?
Thanks for any advice.
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
T
Hello,
is there anyone that knows about any Italian translated Django
documentation?
I'm translating the basic tutorial (1,2,3,4) for myself, is it helpful
for anybody?
Let me know.
Thanks a lot
Picio
--~--~-~--~~~---~--~~
You received this message because you
63 matches
Mail list logo