Hi.
are you running in 'debug' or 'production' mode?
debug caches alot of informatin about SQL quierues
On 17/06/2006, at 2:52 PM, [EMAIL PROTECTED] wrote:
>
> Hi all,
>
> I've been writing some code that populates our mysql db's through
> django. I have about 55 MB of pickled data (translating
on each poll add something like
user = models.ForeignKey(User, null=True, blank=True)
in the update/create views add something like
if request.user.is_anonymous():
return redirect_to_login(request.path)
try:
poll = Poll.objects.get( id= id )
except Compa
I avoid this issue by using a 'live preview' and let them use bbcode/
markup/textile only and stripping out ALL html.
On 21/06/2006, at 9:28 AM, Jay Parlar wrote:
>
> On 6/20/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>
>> LiveJournal as a well-evolved HTML filter, but it's in perl.
>> http:/
Hi Arthur.
I do something similar to this.
I chose to implement it in middleware
http://svn.zyons.python-hosting.com/trunk/zilbo/common/text/
middleware/Markup.py
in a nutshell, if the 'description' field exists it will create the
description_html field in the post, which would get applied by
ments and feedback are most welcome.
either on the list, email or here: http://gypsyjobs.com/forum/the-
site-itself/
regards
Ian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To pos
; Don't use the built-in USER? Where should the Rate be stored? What
> other var's would you want to have tracked (keeping in mind this is
> trying to be a small simple app)?
features ?
for me multi-currency and PDF invoice generation.
but you may just want to use SQL-ledger of O
http://www.djangoproject.com/documentation/models/get_or_create/
?
but yeah.. besides from using get_or_create, the exception route is
probably the easiest route.
On 27/06/2006, at 4:58 PM, Tyson Tate wrote:
>
> In one of my apps, I need to check and see if a row already exists
> based on a u
Hi Poromenos.
you can set up a context processor to do this.
check out
http://svn.zyons.python-hosting.com/trunk/zilbo/common/utils/
context_processors.py
for 2 simple ones and
http://svn.zyons.python-hosting.com/trunk/zilbo/settings.py.tmpl
(the very bottom)
on how to configure it
regards
Ian
anyone in django land integrated mailing lists with django ?
regards
Ian
--~--~-~--~~~---~--~~
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@googlegro
On 29/06/2006, at 7:12 PM, Malcolm Tredinnick wrote:
>
> On Thu, 2006-06-29 at 13:45 +1000, Ian Holsman wrote:
>> anyone in django land integrated mailing lists with django ?
>
> I'm tempted to ask (quietly, and just to myself) "how hard could it
> be?&quo
try
/accounts/login/?next=/foobar
?
On 03/07/2006, at 5:03 AM, bsdlogical wrote:
>
> Luigi Pantano wrote:
>
>> try this
>>
>> from django.http import HttpResponseRedirect
>>
>> ... ...
>>
>> def login(request):
>>''' some code to put here '''
>>return HttpResponseRedirect("index.htm")
>
hi Joe.
you'll need to do 2 things (as far as I can tell)
1. store your local user's timezone
2. write a custom filter which does the work
then use
{{ object.create_date|convert_tz user.local_timezone }}
or something like that.
On 04/07/2006, at 8:04 AM, Joseph Heck wrote:
>
> Is there a way
ld set up 2 separate settings
files and make the updates go to a separate host with more access
controls on it.
but for the apps I'm writing now that isn't applicable.
regards
Ian
>
> Nate
>
> >
--~--~-~--~~~---~--~~
You received this
I created a mix between the date-based generic view and the object-
list view which I call 'history_view' (http://svn.zyons.python-
hosting.com/trunk/zilbo/common/utils/views/filter.py )
it allows you show things starting from/ending on a specific date.
an example of this is
http://economy-cha
app/templatetags/ ?
On 07/07/2006, at 1:11 PM, Kenneth Gonsalves wrote:
>
> hi,
> in pre MR, custom templatetags directory was placed in the same level
> as the views.py file and it used to work. In post MR, django cannot
> find these tags. Where do i put them. Putting them in the django/
> temp
I've been using mysql with Django for about a 8 months and have never
had any issues with it.
I chose mysql as I am more familiar with it. others are more familiar
with postgreSQL.
choose the one you are more comfortable with.
regards
ian.
On 07/07/2006, at 4:17 PM, Thomas Ashelford
guys...
this is turning into a religious debate.
I think the question has been answered.
both are excellent choices.
and in the hands of an expert can be made to shine.
On 08/07/2006, at 8:18 AM, Geert Vanderkelen wrote:
>
> Don Arbow wrote:
>> On Jul 7, 2006, at 3:35 AM, Kenneth Gonsalves wro
On 08/07/2006, at 12:32 PM, Iain Duncan wrote:
>
>
>
> Jay Parlar wrote:
>> Probably WebFaction (formerly python-hosting.com) would be your best
>> bet: http://www.webfaction.com/shared_hosting
>
> That looks sweet. Anyone else have any feedback on these guys?
Remi (the owner of webfaction) act
while I don't advocate developer's hitting production .. it happens,
and can make life easier
may I suggest you just set up a sudo command to bounce the server?
I would also make it so you have 2 code-bases and the command would
switch to the 'fresh' one.
ie
the script would do something li
congrats Sandro.
it looks great.
I'd be interested to hear what you (and others) think were the
biggest obstacles you had and how you overcame them.
regards
Ian
On 09/07/2006, at 2:25 AM, Sandro wrote:
>
> http://www.archlinux.org has just redesigned their site which is now
&
my experiences have been vastly different to yours James.
I found the attitudes of the admins to be very blasé.
with a 'what do you expect for a shared host' type response.
I would recommend going with someone who actually wants the business
and knows how to support django.
On 09/07/2006, at 9:
I actually started writing a queueing system a while back (and lost
it during a hard drive crash)
I recommend you look at hugo's stuff.jobcontrol package https://
simon.bofh.ms/django-projects/stuff/trunk/jobcontrol/
as a base.
regards
Ian
On 09/07/2006, at 6:07 PM, wiz wrote:
>
Perform is a tool to help you diagnose your performance and QA issues within your Django application.you can find out more about it here: http://zilbo.com/@perfmonI've decided to charge $20 for it. People using it for debugging open source projects can get it for free. regardsIan
--~--~-~--
Thanks Jeremy.
I'll add that feature shortly.
On 10/07/2006, at 6:06 AM, Jeremy Dunck wrote:
>
> On 7/9/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
>> you can find out more about it here: http://zilbo.com/@perfmon
>
> On the log detail screen, and if the response
Hi Gullermo.I've done the same thing here:http://svn.zyons.python-hosting.com/trunk/zilbo/common/utils/middleware/lastseen.pyby the looks of it you are forgetting to actually store it.ie request.session['sysvortex_last_visit'] = datetime.datetime.now() cheersIan.On 09/07/2006, at 11:56 PM, Gu
request.COOKIE.get('foo',None)
should do the trick
On 10/07/2006, at 6:05 PM, Tom Davis wrote:
>
> Okay, this is a pretty simple question with probably a "duh" answer,
> but I read the docs page on sessions and it doesn't specify, so here
> goes:
>
> Say I have some php (or whatever) page that
Hi Favo,
It's free if you work on a OSS project.
regards
Ian
On 11/07/2006, at 12:21 AM, favo wrote:
>
> Ask very carefully, Do you want to make it OS?
> If you feel not happy with the question, just ignore it please.
>
>
> >
--~--~-~--~~~---
will benefit from this additional exposure.
Thanks to everyone who has helped create these great projects and
continue working on them. Special thanks to Kevin and Adrian for
offering feedback.
If you catch any issues with this article, please send me an email and
I will get a fix in.
regards,
Ian
why not use a GUID ?
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/163604
On 13/07/2006, at 8:08 AM, Jay Parlar wrote:
>
> On 7/12/06, Don Arbow <[EMAIL PROTECTED]> wrote:
>>
>> On Jul 12, 2006, at 8:56 AM, Jay Parlar wrote:
>>>
>>> Is there a better way to do this? More specifically,
Hi Iain.
in your apache config do something similar to
http://svn.zyons.python-hosting.com/trunk/zilbo/conf/zyons.conf.tmpl
and that will let the apache handle the 'images' area of your site
instead of django.
On 14/07/2006, at 12:02 PM, Iain Duncan wrote:
>
> I'm setting up a sight on webfa
On 7/14/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
>
> On Jul 14, 2006, at 1:18 PM, Adrian Holovaty wrote:
> > Some folks benchmarked Symfony, Ruby on Rails and Django. Django was
> > the fastest.
>
> By over 30% -- hell yeah!
>
That's awesom
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
is this a test of django vs pylons or a test of mod_python vs wsgi ?
a pre-test showing a serving a simple static page through both of
them (also 15k) would highlight
if django's templating engine is indeed faster than pylons.
(and it might convince the pylons team to use mod-python instead of
http://zilbo.com/@perfmon captures this kind of information on a per-
request basis.
On 18/07/2006, at 12:06 PM, Malcolm Tredinnick wrote:
>
> On Mon, 2006-07-17 at 18:44 -0700, Scott Chapman wrote:
> [...]
>> p.s. Any chance this could be added to the Admin interface. It's the
>> intuitive
I do something similar to Kenneth.the other approach is to use something like OpenID, and make it somebody else's problem.On 19/07/2006, at 3:16 PM, Kenneth Gonsalves wrote:On 18-Jul-06, at 9:20 PM, va:patrick.kranzlmueller wrote: next problem with my user registration process:how do I send the pas
Hi Tony.Thanks for giving Zyons a whirl.'popular_objects' is part of the 'counter' app which tracks what people are viewing.you don't need it installed for the rest of the app to run.that being said.he SQL you are showing me doesn't seem to contain the 'group by' command which looks like it is pres
didn't 'diss' it at all.bugs happen.have you tried running the SQL directly from the mysql command prompt?it doesn't cause an error on mysql 5.0.16 or 5.1.11;(maybe the trackback will help.On 19/07/2006, at 7:56 PM, tonemcd wrote:Sorry Ian, I didn't mean to dis
hmm..the SQL shouldn't be that complex.. it's pretty standardcan you try running it without the date ?or perhaps changethe with content_type_id in (30) to content_type_id = 30On 19/07/2006, at 8:10 PM, tonemcd wrote:Ian,I think that's it - it definitely causes an SQL error on MySQL4.1.18-standard.D
try order by 3 descOn 19/07/2006, at 8:40 PM, tonemcd wrote:I dug around a little, href=""http://archives.neohapsis.com/archives/mysql/2005-q2/1966.html">http://archives.neohapsis.com/archives/mysql/2005-q2/1966.html">thishelped a lot - and I found that this works (4.1.18-standard);mysql> select co
is there a similar decorator to cache the output of a tag?regardsIanOn 20/07/2006, at 6:28 PM, Axel Steiner wrote:Hi, It looks like the right way to deal with this is to implement per pagecaching, but that doesn't look too simple to me. I hope that someonewill prove me wrong by posting some simple
cific folder in my template path which overrides any project-specific ones.that way if site #4 wants to do something crazy it goes in site_4_templates/.regardsIan --Ian Holsman[EMAIL PROTECTED]http://economychat.com discussion on the economy and economics in general
--~--~-~--~~---
27;s the main reason I chose to develop my first app in Django, instead of Rails, and from then I've been hooked. --Ian Holsman[EMAIL PROTECTED]http://economychat.com discussion on the economy and economics in general
--~--~-~--~~~---~--~~
You received this message b
n learn about ContentTypes fromhttp://www.djangoproject.com/documentation/models/generic_relations/and also from the code of django.contrib.comments Thank you very much for this one! I'll try to figure it out.regards,Uros --Ian Holsman[EMAIL PROTECTED]http://
ow how to get the errors at this case? Is there an easy way tooutput the debug to somewhere manually? --Ian Holsman[EMAIL PROTECTED]join http://gyspsyjobs.com the marketplace for django developers
--~--~-~--~~~---~--~~
You received this message because you are
OSS classified application in another language that hasmost of the features you like, and see how it works if you are looking for the business logic.There are several OSS applications in django land if you want to see how models/views/urls interact.regardsIanTim --Ian Holsman[EMAIL PROTECTED]
arnham wrote:I am messing with feeds for the first time with Django and waswondering if there is anyway to do authentication (i.e. grab thesession) from inside the my Feed class? I followed the high levelframework example from the documentation page if that helps inunderstanding how I implemen
SolR http://incubator.apache.org/projects/solrmight be worth a look.. I think there is a python interface for it.regardsIan.On 24/07/2006, at 1:08 PM, Vizcayno wrote:Hi:Do your have news about the promising MerQuery?I was looking for some good open software Search Engine API (index andsearch) for
ur own views, then you may be using plain Context objects,
and your context processors won't be executed at all.
--
Regards,
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&qu
On 08/07/2006, at 12:12 AM, Jan Claeys wrote:On do, 2006-07-06 at 17:03 -0400, Jay Parlar wrote: On 7/6/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: If I were to write a backwards compatable patch, is it something you'dbe willing to put in? I'm thinking along the lines of a keywordargument 'allow
Hz, 256 MB, postgresql-8.1.4 or postgresql-8.0., fresh svndjango.Every url takes 60 or more seconds to load.For comparison, Zope takes 2-3 sec.How speed up it? --Ian Holsman[EMAIL PROTECTED]http://VC-chat.com It's what the VC's talk about
--~--~-~--~~~---~-
pen source.. other people don't have this restriction.regardsIanOn 28/07/2006, at 6:28 PM, and_ltsk wrote:hi Ian, you have to give us a bit more >information. what does your app actually do in that 60 >seconds? personally it sounds like your database >isn't tuned... but I'
could it be that you only have 256M on the machine? --Ian Holsman[EMAIL PROTECTED]http://economy-chat.com It's what the economists talk about
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django users&q
isting database (not
that I've actually tried this).
Basically, you can use the admin tool to create the models.py file
from an existing database, rather than doing it the other way around.
Check out the documentation at
http://www.djangoproject.com/documentation/legacy_databases/ for a
star
e in
vim, when you are using it interactively. It is not required in a
.vimrc file.
--
Regards,
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
you might want to do this 'work' when the user actually requests the page in question, not when you generate the one he is looking at.for example have 2 views defined in urls.pygetnext/(object-id)/getprev/(object-id)/and have these 2 views do the calculation on what is 'next' and issue the 301 redi
have a look at http://svn.zyons.python-hosting.com/trunk/zilbo/common/counter/and the blog entries I wrote about this yesterday: http://zyons.com/blog/status/a-better-stat-page/ and http://zyons.com/blog/status/where-have-you-been/it is a more general approach than what you propose, as it tracks mu
vim.mainly because it works on nearly any platform I need to go into.and my fingers are trained after years of using it.On 02/08/2006, at 9:29 AM, Joseph Heck wrote:On the Mac, I used TextWrangler (http://www.barebones.com/products/textwrangler/ also free, from Bare Bones Software) and liked it sig
On 8/1/06, toth anna <[EMAIL PROTECTED]> wrote:
> What are you using for editing sources?
If you're a native vim speaker, I have a version compiled for OSX,
using the native Aqua interface, off of my homepage here:
http://ian.casa.cavewallarts.com/vim.html
Ian Clelland
<
Hi Gen-Nan.you can override the template that the admin app uses to generate the listing page if that helps.so for example in my performance monitoring app, I created a template admin/perf/log/change_list.htmland put that file in my template directory.now when i click on the 'perf/log' model in the
Hi Jay.I have a similar issue.I have stuff in http://zyons.com, which is open source, and another set of apps which build on top of it which run on multiple hosts. (http://gyspsyjobs.com & http://car-chatter.com for example)the way I set it up is:project/ common/ app1/ templates app2/ templat
On 02/08/2006, at 10:29 PM, Jay Parlar wrote:On 8/2/06, Ian Holsman <[EMAIL PROTECTED]> wrote: and obviously not all the sites are identical (they have different hostnamesand possibly different things enabled for that site) .. they go in thesite_NN directory.I usually have a group of '
I just came across this presentation: http://domscripting.com/presentations/xtech2006/which describes a new layer/methodolgy on how ajax should be implemented.I personally would think implementing something like this would be a step forwardand we could then argue about if mochikit or dojo or yui or
y use for models and fields?
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
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
{% else %}
Not today's poll
{% endif %}
On a list page, you are probably already iterating over the
"object_list" variable -- you should be able to access the
was_published_today method in a similar manner, for each element of
that set.
Ian Clelland
<[EMAIL PROTECTED]>
--
an
instance of A -- although you could certainly make it do that.
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send ema
I'm just glad we'vefinally fixed the "Add user" thing.Adrian-- Adrian Holovatyholovaty.com | djangoproject.com --Ian Holsman[EMAIL PROTECTED]join http://gyspsyjobs.com the marketplace for django developers
--~--~-~--~~~---~--~~
You received this mess
On 04/08/2006, at 3:37 PM, Malcolm Tredinnick wrote:On Fri, 2006-08-04 at 15:13 +1000, Ian Holsman wrote:[...] I like the idea of a change password view, could I twist your arm a bit and make it a 'generate random passwordand email it to the user view' instead of 'set password'
t-Away” license provides no protection for anyone if the donated software causes harm.ie.. even if you didn't mean it, if I used a piece of public domain code in a app I write and it fails,i can still go after the person who wrote it and sue them.thanks.. that makes my chest feel much lighter.
sourceforge.net/CocoaMySQL was abandoned a while back ;-(.another developer started updating it, and called it CocoaMySQL SBG http://www.theonline.org/cocoamysql/I recommend using that version instead of the original.. regardsIaj-joh --Ian Holsman[EMAIL PROTECTED]http://zyons.com/ build a
ariables that were collected in the main URLconfand use them to build my queryset? --Ian Holsman[EMAIL PROTECTED]http://VC-chat.com It's what the VC's talk about
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "
object_id = models.IntegerField(_('object ID'), db_index=True)???Django version from SVN-trunk 3534.Regards,Dirk-- --Ian Holsman[EMAIL PROTECTED]http://peopleintopoker.com/ -- where the poker people go
--~--~-~--~~~---~--~~
You received this message because yo
the code.regardsIanOn 08/08/2006, at 2:45 AM, jeffmikels wrote:Thanks for your help. I ended up creating a view to do the work. If thedata is simple enough and just plain text, is there a compelling reasonto use AddManipulator or other manipulators instead of justobject.save()? --Ian Holsman[EMAIL P
personally I would DES encrypt their email address.that way you have a contact if something goes wrong.On 11/08/2006, at 3:01 AM, Jyrki Pulliainen wrote:On 8/10/06, Felix Ingram <[EMAIL PROTECTED]> wrote: On 8/10/06, hernan43 <[EMAIL PROTECTED]> wrote: Nowadays(is that a word?) a lot of fancy web s
Hi Dirktryhttp://svn.zyons.python-hosting.com/trunk/zilbo/common/utils/middleware/SafePost.py(it uses stripogram)It doesn't remove all the exploits to be sure, but it raises the bar a bit.regardsIan.On 12/08/2006, at 8:06 AM, Bryan Chow wrote:What exactly are you trying to achieve with Strip-o-Gram
sIan-- Renéhttp://www.applinet.nl --Ian Holsman[EMAIL PROTECTED]http://med-chatter.com/ it's about the medicine
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to
te without having to resort to trickery in django.otherwise you could write some middleware to do the same thing as well I think.On 15/08/2006, at 10:47 AM, a wrote:can you point out how to do this in django and in pythonthanks a bunch --Ian Holsman[EMAIL PROTECTED]http://car-chatte
rks in cherryPy and PythonPaste from behind the firewall, so Iknow it's not a port issue.I'm sure I'm missing something simple. Please let me know what urlparameter to set to access my page from a remote machine.Thank you,Gloria --Ian Holsman[EMAIL PROTECTED]join http://gypsyj
import app1.views. Error was: No module
> named utils.strings
If you want to be able to import files like this, you will need a file
in the utils directory called __init__.py. You can leave the file
empty, but it has to be there for python to recognise the directory as
a package.
Reg
write without having to resort totrickery in django.otherwise you could write some middleware to do the same thing aswell I think.On 15/08/2006, at 10:47 AM, a wrote: can you point out how to do this in django and in pythonthanks a bunch --Ian Holsman[EMAIL PROTECTED]http://car-chatter.com/ where ca
ith a patch to address this problem
( http://code.djangoproject.com/ticket/2534 ). If this patch is
applied to the django source, then your models will work as you expect
them to.
--
Regards,
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
You received th
at Apache is running under (www-data on my Debian
systems, for example). Double-check the directory ownerships and
permissions, and see if you can get it to work with a FileField in a
simple model.
Regards,
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~
;low level socket stuff" I've seen is about setting timeouts and doing Async IO.regardsIan --Ian Holsman[EMAIL PROTECTED]join http://gypsyjobs.com the marketplace for django developers
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hi.does anyone know of a python module/interface to allow me to determine what state a given IP# is in?(Open source preferably) --Ian Holsman[EMAIL PROTECTED]http://VC-chat.com It's what the VC's talk about
--~--~-~--~~~---~--~~
You received this messa
.pyc files in subversion. also how do you guyshandle different settings.py files amongest developers.--Ian Holsman[EMAIL PROTECTED]http://med-chatter.com/ it's about the medicine
--~--~-~--~~~---~--~~
You received this message because you are subscribe
aren't semaphores inter-process (not cross process)?try using a file handle instead..regardsIan.On 16/08/2006, at 11:49 AM, Daniel Poelzleithner wrote:Hi,I have a function that generates a tile for a google map overlay andwrites it to disc so later requests can simply use the file. Due thenature of
ally, our PhotoField class also supports thumbnail generation,
although we generate them dynamically, rather than saving them at
upload time.
Regards,
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
You received this message because you are subscribed
t hard-coding the name.
>
> Is it possible to access the table name of a model from one of it's
> methods?
>
> Thanks.
>
>
> (I'm using Django 0.95, btw)
>
--
Ian Holsman
[EMAIL PROTECTED]
join http://gypsyjobs.com the marketplace for django developers
--~
re probably better off leaving them
in a media directory, and letting Apache handle them, and just live
with the URL bar showing the real location.
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
its fields, and the exact structure of your urls.py
file.
--
Regards,
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
would this actually work?
I thought this would have been evaluated when you start up the
process, and the show_dict is first called.
not on every request (which is what they want I'm guessing)
regards
Ian.
On 17/08/2006, at 5:30 AM, [EMAIL PROTECTED] wrote:
>
> Do I need to impo
oid having to tinker with the backend
source, is to override the get_internal_type method of my custom
fields. By default, it returns the name of the class it is called
from, but you can override that to return the string "ImageField" and
the database table will be created correctly.
d when the user is deleted, you could alter the ticket table in
your database. Just make sure that the user_id column explicitly says
"on delete cascade", and the database will take care of deleting
tickets automatically.
Regards,
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~
*hope* that web developers know this, and know how to
> do this already...
>
> --
> "May the forces of evil become confused on the way to your house."
> -- George Carlin
>
> >
--
Ian Holsman
[EMAIL PROTECTED]
http://zyons.com/ build a Community with Django
evurandom.org/
> Web Developer, Naples News http://www.naplesnews.com/
> Samba Team http://
> www.samba.org/
>
--
Ian Holsman
[EMAIL PROTECTED]
http://VC-chat.com It's what the VC's talk about
--~--~-~--~~~---
the value is stored in the database. (Override the
get_internal_type method to return "IntegerField" at the very least)
Regards,
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
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
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, t
nt, like assign the tickets to
another user, you will have to write a custom view (and possibly a
custom manipulator) to do this. In that case, you would not want to
delete users using the built-in admin interface at all, but use your
custom view instead.
Regards,
Ian Clelland
<[EMAIL PROTECTED]
On 20/08/2006, at 8:13 AM, Jay Parlar wrote:
>
> Ian Holsman makes the source of zyons.com available.
this powers a couple of different websites:
- http://gypsyjobs.com
and
- http://garden-gossip.com
being 2 examples.
regards
Ian
>
> As well, Jeff Croft makes the source for lost-
te:
>
> I'm still having this problem (neglected it for a while, but now is
> the
> time I MUST solve it). Has anybody here a suggestion in which
> direction
> to search?
>
>
> >
--
Ian Holsman
[EMAIL PROTECTED]
http://garden-gossip.com/ -- what's in you
301 - 400 of 638 matches
Mail list logo