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
>
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
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)
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
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 wrote
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/
>
e 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 message because you are subscribed to the Google Groups
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
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")
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?"
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@google
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
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
gt; 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 OFBIZ (or quickbooks) they
are pretty easy to use, and cheaper than writing
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 post to
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
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.
>>
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
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
hi lawgon.
what version of SVN are you using? (I can do a update on my box)
someone else was reporting the same error a couple of days ago on irc.
On 14/06/2006, at 12:37 PM, lawgon wrote:
>
> hi,
> on a new ubuntu machine i tried to do an svn co and am getting the
> following error:
>
> svn:
Hi Sanjay.
unfortunately Django doesn't support composite primary keys.
what I do in these case is put a auto-incremented key on orderItems
and make a unique index on orderID, item#, and that seems to work ok
(for me)
regards
Ian
On 13/06/2006, at 8:00 PM, Sanjay wrote:
>
>
Hi Daniel.
I'm doing this right now on http://zyons.com and http://economy-chat.com
the trick is to use the directive
'pythoninterpreter XYZ' in each virtual host
regards
ian
On 13/06/2006, at 7:49 AM, [EMAIL PROTECTED] wrote:
>
> Hi.
>
> I'm planning to run two sites off the same D
to help with this kind of thing I have added the following to the end
of main urls.py
(r'^(?P.*)$', 'django.views.static.serve',
{'document_root': '/magik/zilbo/htdocs/' } ),
which is telling django if you don't match something, just try and
serve a file.
in my apache config I force
another option you might want to look at is using SolR - http://
incubator.apache.org/projects/solr.html , which is a search server
which uses lucene.
you could then use a regular HTTP client to communicate with it.
On 09/06/2006, at 9:36 AM, mamcxyz wrote:
>
> I think that complicate a
I am using the universal distro python and it works well. (with mysql
5.1.9)
On 08/06/2006, at 2:19 PM, Greg Harman wrote:
>
>
> Corey Oordt wrote:
>> I have MacBook, and although it was a challenge to get everything up
>> and running, I ended up using darwinports to install apache 2, mysql
of this great software... I hope
this article gains the project some additional exposure.
regards,
Ian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
e as a opportunity to lure more developers
into the django community, than a learning exercise for a developer
(which of course is also a great reason to build one in itself)
regards
Ian
>
> Bryan
>
> 1. http://www2.jeffcroft.com/2006/may/02/django-non-programmers/
>
> &
have you tried searching the mod-python archives?
http://modpython.org/pipermail/mod_python/
it sounds like a mod-python specific issue, so you are probably get a
better response over there.
regards
Ian
On 31/05/2006, at 8:59 AM, [EMAIL PROTECTED] wrote:
>
> Well the solution I wa
are you planning on open sourcing this?
if so I'd be glad to help as I have a similar app for a client.
On 31/05/2006, at 6:53 AM, Scott Finnie wrote:
>
> Looking for some advice on how to handle my little problem, all help
> gratefully appreciated.
>
> Apologies it's quite long.
>
> Story
would it make sense for you 4-5 blog writers to join up together and
write up a common blog app?
it seems like such a waste of resources for all of you.
On 31/05/2006, at 6:40 AM, wam wrote:
>
> I've recently been updating my site to be entirely django powered. As
> others have done, I
I'm guessing it can't find one of the DLL's it requires to load.
OR
you haven't got the loadmodule line correct.
On 31/05/2006, at 6:52 AM, [EMAIL PROTECTED] wrote:
>
> I've read the documentation on the django site, I've searched google
> and I've tried the one solution that I managed to find,
I would also set up the apache instance to limit access to the admin
pages 's to certain IP ranges. (say of your ISP)
On 28/05/2006, at 1:13 PM, James Bennett wrote:
>
> On 5/27/06, Jay Parlar <[EMAIL PROTECTED]> wrote:
>> I'm just wondering what most people do about encrypting their Admin,
Hi Luke.
what license is this code under?
On 27/05/2006, at 12:03 PM, Luke Plant wrote:
>
> On Friday 26 May 2006 22:37, Jacob Kaplan-Moss wrote:
>
>> Looking forward to seeing your code,
>
> OK, you can now get it here:
>
> http://files.lukeplant.fastmail.fm/public/python/
>
just as an aside, I've also written a similar tagging app, which
covers about 70% of the same functionality as Luke's
personally I'd love a 'standard' tagging app in contrib which
combines the best of both worlds, as it seems like this functionality
is what most users:
a) want
b) struggle
On 26/05/2006, at 7:15 AM, Jeremy Dunck wrote: Note that if you are stuck on Windows, Apache + mod_python + MySQL + Django works very well. Doesn't pre-forking apache on windows scale badly due to window's high process startup cost? I guess it'd depend how often you recycle your httpd
st to access one
row.
For more information about the amazing Django QuerySets, check out this link:
http://www.djangoproject.com/documentation/db_api/
This section discusses slicing specifically:
http://www.djangoproject.com/documentation/db_api/#limiting-querysets
Hope that helps,
ian
On 5/25/06
On 25/05/2006, at 3:11 AM, Bill de hÓra wrote:
>
> tomass wrote:
>>
>
> I actually like that solution (among other things it scales on a
> cluster
> without hammering a central db or having to distribute sessions).
> But if
> you want you could store data on the server and pass a form
your not understanding reverse proxying.
the ':3000' is not visible to the outside.
IIS would need to forward the request to the port and then push the
response back to you
something like this http://www.saltypickle.com/Home/16 is what I am
talking about
On 24/05/2006, at 8:38 AM, [EMAIL
On 24/05/2006, at 8:08 AM, [EMAIL PROTECTED] wrote:
> re.
>
> So, what are the alternatives? (excluding getting a linux box)
you can run apache2.2 on windows quite well.
if IIS has a proxy type solution you could just run apache2.2 on a
separate port and have it handle the django side of
I'm using mysql.
if you paste the actual compiler error (either on list or privately)
I'll try to help.
regards
Ian
On 22/05/2006, at 8:06 PM, Oliver Kiessler wrote:
>
> thanks for the hint. I have Django with MacPython-2.4.3 running now.
> what database adapter are you using
I'm running it fine.
I used the following: http://www.python.org/ftp/python/2.4.3/
Universal-MacPython-2.4.3.dmg
On 22/05/2006, at 6:14 PM, Oliver Kiessler wrote:
>
> hi there,
> I have been playing around with Django this weekend but I couldn't get
> it installed on my Intel Mac running OSX
try adding
alias /media/ c:\django\contrib\admin\media\
in your apache config and see if that helps.
On 22/05/2006, at 12:20 PM, keukaman wrote:
>
> Thank you. I'm a rookie at Django, Python, & Apache. I'm running this
> on my XP laptop just to learn this. I have a couple of follow up
>
just as a followup to this.
Scott was using the 'old pre-MR merge' version of this code, when he
updated to the up2date version it worked for him
regards
Ian
On 19/05/2006, at 10:15 PM, Scott Anderson wrote:
>
> Thanks for the reply, Ian.
>
> I have those libraries installed. I
127.0.0.1] (localhost [127.0.0.1])
by circe.holsman.net (Postfix) with ESMTP id C20B01C5D8C
for <django-users@googlegroups.com>; Sun, 21 May 2006 08:50:04 +1000
(EST)
Mime-Version: 1.0
Content-Type: text/plain
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
, and allow you to share common things like
user-id's across both.
regards
Ian
On 21/05/2006, at 2:30 AM, Luke Plant wrote:
>
> On Thursday 18 May 2006 23:20, Rob Hudson wrote:
>
>> Based on my virtual hosts, can I have the production site list:
>> SetEnv DJANGO_SETTINGS_MO
ey)
original = manipulator.original
if request.POST:
# code here exactly like for AddManipulator
else:
errors = {}
new_data = original.__dict__
# generate and present form just like AddManipulator
Regards,
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~
to pass. The save method has
to take the fields from the new_data dictionary, assign them to fields
in the original object, and call original.save().
Alternately, I think you could subclass yourmodel.ChangeManipulator,
and override the methods in there that you need to change, but I've
never tried i
her implementers some time.
Well, this thread likely won't stay active on the mailing list for
very long; you should look at creating a node on the Django cookbook
(at http://code.djangoproject.com/wiki/CookBook) with some sample
code.
Regards,
Ian Clell
ave
constructed yourself would be to have a template loader which searched
some sort of dictionary of previously-build template objects, but I
don't think that's available in django right now.
I'd love to be proven wrong, however. That would come in handy in so
many
al purpose
library that has no Django dependencies.
Maybe we can model (or at least learn from) the Perl OnlinePayment
library that is here:
http://420.am/business-onlinepayment/
I have also collected a few other links here:
http://del.icio.us/imaurer/creditcards
-ian
--~--~-~--~~--
gt; g = (x**2 for x in range(10))
>>> g
>>> g.next()
0
>>> g.next()
1
>>> g.next()
4
Check out http://www.python.org/dev/peps/pep-0289/ (Generator Expressions)
--
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
You rec
ays of doing this:
http://groups.google.com/group/django-users/browse_thread/thread/93c024f1523f5323/6bea5b407797e597
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&qu
dmin index uses the verbose_name_plural attribute,
rather than verbose_name.
Bryan's right, you don't generally have to specify verbose_name, if
it's the same as your class name, but until version 2593, you had to
specify verbose_name_plural.
Update your local copy of m-r, and it should work without an explicit
M
s
nothing else in the class. That should be enough to get model into the
admin screens.
Regards,
Ian Clelland
<[EMAIL PROTECTED]>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
value = self.nodelist.render(context)
cache.set(cache_id, value, float(self.expire_time))
return value
Obviously you need to have cache enabled for this to work:
http://www.djangoproject.com/documentation/cache/
--
Ian Maurer
--~--~-~--~~~-
and are correct. I have also tried setting and unsetting
the DATABASE_HOST, but get the error message either way.
Any help would be appreciated.
thanks,
ian.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"D
there is no 'functionality' inside of django which does scheduling
automatically, or helps you with scheduling.
what people are doing is just writing python scripts and then
scheduling them via cron.
you could possibly also use the event scheduler in mysql 5.1 as well
if you like.
regards
Ian
Pick a application which is done nicely in some other language, and
try implementing it in django.
you could always help out with the django-forum project
or possibly a CRM like vtiger or sugarcrm would be nice as well.
regards
Ian
On 2/16/06, oggie rob <[EMAIL PROTECTED]> wrote:
>
&g
doesn't something like:
class TopTagsNodeUser(template.Node):
""" what is the root of this application """
def render(self, context):
user = context.get('user', None)
if user.is_anonymous():
return ""
return "User Prefs"+str(user)+"
"
work?
On
If you are not really familiar with django, I would suggest you use the trunk.
it is better documented, and more people can help you out.
It is also painful debugging your code, only to find out it is a bug
in the framework which happened since the last SVN checkout..
On 2/9/06, ToddG <[EMAIL
Hi Jason.
Your scenario only covers a very basic scenario, where 1 user can do
anything to a particular record.
It kind of falls down when you need to assign rights to actions.
ie..group/user X can add a new invoice, but only 'group/user Y' can
modify an existing invoice.
So while a constrained
That sounds like a great idea (working together), and personally I'm
not too hung up about which AJAX library I use, as long as it can do
the job (which most seem too for my simple things)
I like the idea of having one way of doing this across frameworks, it
makes them all simpler to learn and
On 1/6/06, FX <[EMAIL PROTECTED]> wrote:
>
> Hi Ian,
> Thanks for the prompt reply. (which time zone are you in?)
I live in Melbourne Australia.
>
> I made some modifications to your Django Captcha that might be useful,
> so I'm attaching the patch (generated by svn) bel
the
user in django if it doesn't exist.
HTH
Ian
On 1/8/06, Brian Ray <[EMAIL PROTECTED]> wrote:
>
> Anouther issues with Authenticating this way, the Django user is still
> Anonymous although the REMOTE_USER is not:
>
> path:/Login/,
> GET:,
> POST:,
> COOKIES:{
.
c) admins to dislike you even more than they would normally ;-)
regards
Ian
On 1/8/06, Eric Walstad <[EMAIL PROTECTED]> wrote:
>
> On Saturday 07 January 2006 02:17, WSobczuk wrote:
> > I'm not saying I wnat to send information to users, I'm saying I want
> > it lo
Hi Feiyu.
the problem is the captcha validation is the manipulator out of scope
when the the validation is run.
there are 2 choices.
1. the captcha view should throw a validation error (not a 404)..
thats my bug, and I will fix it shortly. This will mean you will get
the error message on your
hi Roy.
you should probably be trying the 4 tutorials and create the 'polls'
application first.
the django_website is not really designed for newbies, but more as a
reference on how to do things.
regards
Ian.
On 1/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> anybody can
hmm..
have you 'init'ed your database ? ( $ django-admin.py init)
also.. check out http://www.djangoproject.com/documentation/authentication/
and more specifically the get_profile() call.
regards
Ian
On 12/31/05, Andreas Neumeier <[EMAIL PROTECTED]> wrote:
>
> Hello Django User
site are available.. you just need to build the app.
regards
Ian.
On 12/22/05, Michael Hipp <[EMAIL PROTECTED]> wrote:
>
> Jacob Kaplan-Moss wrote:
> >
> > On Dec 21, 2005, at 10:24 AM, Michael Hipp wrote:
> >
> >> How suitable is Django for an eCommerce
if your view uses DjangoContext (which the generic views do I belive)
than the user is just
{{ user }}
so something like
{% for group in user.get_group_list %}
{{ group }}
{% endfor %}
should work.
regards
Ian
On 12/22/05, patrick k <[EMAIL PROTECTED]> wrote:
>
> while trying
If you mean user as a regular user in the users table in the DB I
would hack up a mod_python handler to look at the hostname, and adjust
the session cookie accordingly.
see http://svn.zilbo.com/svn/django/snippets/modpython_apacheauth.py
for an idea on how to approach this.
if you are talking
infrastructure bit
- distributed login via a OpenID system.
The point I was trying to make it that django framework should
concentrate on building the common components that apps use, and then
concentrate on the full fledged applicaitons after that.
regards
Ian
On 12/14/05, Jeroen Ruigrok van
personally I'm all for ease of use, and multiple versions of things,
and I'm REALLY happy if it is easy for someone to go and write their
own blog software.
for example.. I've been slowly getting a phpBB-like forum software up
and running for my own uses. and was planning to 'announce/release'
from my understanding there is only way to get at it in the presave,
and that is to either set the field in middleware, or in the custom
manipulator before the object gets 'saved'
I blogged about it here
http://feh.holsman.net/articles/2005/12/07/some-basic-audit-functionality
and provided some
Ha! Congressional voting by astrological sign!
The app overall is great ... nice work!
ian
On 12/6/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 12/5/05, Tom Tobin <[EMAIL PROTECTED]> wrote:
> > BTW, is there any particular reason the Recent Votes feed i
shouldn't a warning/informational message be generated in this case.
something like
$ django-admin install markup
INFO: no models found to install.. skipping markup
?
On 12/3/05, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
>
> On Dec 3, 2005, at 5:13 AM, James Bennett wrote:
> > While setting
here:
http://lukeplant.me.uk/resources/csrfmiddleware/
regards
Ian.
On 11/26/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
> hi,
> have been talking to some php folk about switching to django, but
> they have raised a serious concern: Django website does not have a
> pag
hi David.
do you have a SVN url?
I'd love to replace moinmoin with a django wiki (i don't need much
from a wiki, so even a 20 minute one might be ok ;-)
regards
Ian
On 11/18/05, David Ascher <[EMAIL PROTECTED]> wrote:
> After watching the TurboGears 20 minute wiki screencast today,
couldn't we do something similar to get_active_site() call on the sites table?
that way people who need the 'request' object could just call it and
it wouldn't impact the api of anything else?
On 11/18/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 11/17/05, plisk <[EMAIL PROTECTED]>
into account?
regards
Ian.
--
[EMAIL PROTECTED] -- ++61-3-9877-0909
If everything seems under control, you're not going fast enough. -
Mario Andretti
Hi Colin.
as a point of reference I use Apache2 + mod-python on my OS/X box and
it works like a charm.
I would recommned people investigate this option as well.
regards
Ian.
On 11/16/05, Colin Howlett <[EMAIL PROTECTED]> wrote:
>
> Georg,
>
> I wasn't really complaining
Hi Adrian.
would it be too hard to just stick the 'user login' views in the main codebase?
regards
ian
On 11/13/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 11/12/05, Bryan Murdock <[EMAIL PROTECTED]> wrote:
> > How do I limit access to a generic view to logged
/18/django-custommanipulators
where it adds a custom field to the manipulator to populate another
relationship. this might help.
regards
Ian
On 11/5/05, sarahwithanx <[EMAIL PROTECTED]> wrote:
>
> The generic views seem very limiting. Is there a way to include
> multiple objects i
I would like to volunteer to help wherever I can.
-ian
On 11/3/05, Waylan Limberg <[EMAIL PROTECTED]> wrote:
>
> On 11/3/05, Ian Holsman <[EMAIL PROTECTED]> wrote:
> >
> > Hi Luke.
> >
> > my aim is not to do a drop-in replacement for a phpBB. but more
be for me to write applications like
mp3.com and tv.com.
On 11/1/05, Luke Plant <[EMAIL PROTECTED]> wrote:
>
> On Tue, 1 Nov 2005 11:16:14 +1100 Ian Holsman wrote:
>
> >
> > is anyone else interested in joining? I was thinking of similar to
> > what phpBB does.
&
is anyone else interested in joining? I was thinking of similar to
what phpBB does.
If so I propose we open up a sourceforge project, or perhaps we could
even host it on code.djangoproject.com if they let us ;-)
any volunteers?
regards
Ian
--
[EMAIL PROTECTED] -- ++61-3-9877-0909
The original english version is here:
http://itmaurer.com/clepy/htdocs/media/presentation/presentation.html
I am going to try and update it for the new settings stuff this
weekend. If anyone notices any other inaccuracies please send me an
email at [EMAIL PROTECTED]
thanks-
ian
On 10/28/05
.py is probably a good place ;).
thanks-
Ian
On 9/19/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 9/19/05, Ian Maurer <[EMAIL PROTECTED]> wrote:
> > But, I have a multitude of problems that I don't believe I had before
> > the recent model overhaul. Here a
Hi Qiangning
it has something to do with how django creates it's model classes.
if you look closer at the excpetion, you might be able to add the
import statements into the framework class itself.
personally I like boring.. boring doesn't call you in the middle of
the night ;-)
regards
Ian
hi.
I have a many to many table in django, which I'm having troubles updating.
class Keyword( meta.Model ):
URL = meta.URLField(core=True)
pagetype = meta.ForeignKey( PageType, verbose_name="the type of page")
regex = meta.CharField(maxlength=250)
to_match = meta.BooleanField()
is it possible?
or should I just 'explode' it out into sepearte classes (2 one to many
links to a seperate table)
regards
Ian.
--
[EMAIL PROTECTED] -- ++61-3-9877-0909
If everything seems under control, you're not going fast enough. -
Mario Andretti
That fixed that bug. Thanks. Now I can move forward and test the rest.
I will provide more info the next time I run into a problem...
-ian
On 10/15/05, Robert Wittams <[EMAIL PROTECTED]> wrote:
>
> Ian Maurer wrote:
> > I didn't get very far with the new branch. My t
I didn't get very far with the new branch. My template is failing to
render right off the bat... I haven't had a chance to investigate
this, but my templates were/are working just fine under the main
branch. Below is the end of my traceback... any thoughts?
-ian
return render_to_response
Easy enough. I will let you know if I run into any problems...
thanks again,
ian
On 10/13/05, Robert Wittams <[EMAIL PROTECTED]> wrote:
>
> Ian Maurer wrote:
> > That's a pretty slick implementation, I'd like to try it out... some
> > questions:
> >
That's a pretty slick implementation, I'd like to try it out... some questions:
Is it in a usable format?
Are there any directions for pulling this branch down to my local environment?
What happens if the main branch gets updated?
thanks...
ian
On 10/13/05, Robert Wittams <[EMAIL PROTEC
I have created a simple write-up on how I am preparing my Django unit
tests to leverage sqlite's in-memory database:
http://itmaurer.com/blog/?p=2
Comments and suggestions welcome...
ian
question i have is it possible for 2 different
apps to share a 'reference' table.
for exampel a product table which is used for editorial reviews in one app,
as well as a app which uses it to hold the latest prices from multiple
shops in another.
regards
(and thanks for opensoruceing django)
--Ian
this website:
http://clepy.org/
For meeting details, including a link to directions:
http://www.clepy.org/meetings/2005_10_06_mtg_details
regards,
Ian Maurer
Checkout:
http://www.djangoproject.com/documentation/django_admin/
You want the 'sqlclear' option which gives you the SQL needed. I just
copy and paste it into my mysql session or you could dump it into a
file and run that.
good luck!
ian
On 9/23/05, [EMAIL PROTECTED] <[EMAIL PROTEC
this ticket...
http://code.djangoproject.com/ticket/527
thanks!
Ian
501 - 600 of 601 matches
Mail list logo