On 02-Sep-06, at 10:47 AM, Ian Holsman wrote:
> b. email jacob to get your IP# white listed
afaik someone else has been allotted this job
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this
just as an aside.. is it possible to change the 'your a spammer' message
to provide some instructions on what to do if you are actually a human.
something like
...
your trac post was blocked by our spam engine. We apolagize for this
inconvenience,
and while our spam engine was wrong this time,
On 02-Sep-06, at 10:25 AM, Jacob Kaplan-Moss wrote:
> Akismet is now rejecting about a hundred spam posts *a day*. It
> looks like it gets about one or two false positives *a week*. I'd
> certainly say that's doing more good than bad, myself.
thats good - very good
>
> If you (or anyone)
On Sep 1, 2006, at 7:05 PM, Jan Claeys wrote:
> The Akismet "spam protection" does more bad than good, that's going
> on.
> (Someone will ask you to submit your IP to be added to a whitelist
> soon,
> but that's just fighting the symptoms IMNSHO.)
>
> To the admins of the site: isn't it
On 9/1/06, Gabriel Puliatti <[EMAIL PROTECTED]> wrote:
>
> Hello. I have an application in which a list should be filtered
> depending on what groups a user belongs, since the application is a
> homework list, and the list must only contain the classes the user
> (student) is enrolled.
>
> I know
Hello. I have an application in which a list should be filtered
depending on what groups a user belongs, since the application is a
homework list, and the list must only contain the classes the user
(student) is enrolled.
I know I should do this using filter, but I have no idea how to get
the
Sorry, perhaps someone can clarify this for me -- or maybe I didn't
ask my question very clearly.
I have a model called Event. In that model, I have a line that looks
like this:
date = models.DateField()
In my view, I'm using FormWrapper and that automatically makes a text
field for the
Here are my settings:
TEMPLATE_DIRS = (
#'/Users/tamara/Documents/django-python/fifthproject/tdslogin/
templates',
'/Users/tamara/Documents/django-python/fifthproject/templates',
)
If I uncomment the first directory 'tdslogin/templates' then both my
application ('tdslogin') and
Hi
I basically want to do what the admin page is doing now in regards to
sorting.
It auto constructs a link replacing a few request.GET items.
I was wondering what's the prefered way of doing this? Would I have to
make a custom templatetag or something like that?
Saw I have a url like this:
Op vr, 01-09-2006 te 23:02 +, schreef Bartlomiej Romanski:
> I've just tried to submit a small patch to Django using there website,
> but I've got a stupid error:
>
> "Internal Error
> Akismet rejected spam"
>
> What's going on?
The Akismet "spam protection" does more bad than good, that's
Bartlomiej Romanski wrote:
> Hi,
>
> I've just tried to submit a small patch to Django using there website,
> but I've got a stupid error:
>
> "Internal Error
> Akismet rejected spam"
>
> What's going on?
Akismet likes to block things that shouldn't be blocked :) post it on
the developers
check this: http://code.djangoproject.com/wiki/contentBBCode_parser
I use it in my wiki, and to make a link to a page I use: [rk:art
slug="slugname"]
plugin code:
from diamanda.wiki.models import *
def render(dic, text):
for i in dic:
page =
What is your TEMPLATE_DIRS setting?
--~--~-~--~~~---~--~~
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
Yes, I checked all these things before I wrote. I can actually get
it to use my template if I rearrange the order of the entries in
TEMPLATE_DIRS. But then the admin system uses my logout template,
too. But the whole time both admin and my app use the correct login
template. It is
Hi,
I've just tried to submit a small patch to Django using there website,
but I've got a stupid error:
"Internal Error
Akismet rejected spam"
What's going on? Here what I wanted to submit:
[patch] Changing request.path in middleware doesn't affect url
resolver.
When process_request()
send free anonymous sms to any mobile in the world
features1-Send Free Messages Worldwide!2-Send anonymous - spoofed messages!3-Worldwide Coverage
4-User friendly interface5-Advanced Support
to sign up http://www.pimpmysms.com/in.php?id=drbassam84
-- DigitalPerson
I'm not sure but you can verify a couple things...
Look at your settings.py file and make sure your TEMPLATE_LOADERS
directive has the 2 in this order:
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.load_template_source',
I'm spending the afternoon trying to learn how to add login/logout to
my django project. Naturally, I have created a fake app just for
this purpose. And I have discovered something strange
Logging in - I have a view that I use a login_required decorator
with. That looks for a url
Dammit Wayne, I'm one step from having this working and busy patting
myself on the back, and you have to go talking sense to me.
You're right.. this is very much a niche market, and the items change
so infrequently (as in YEARS apart) that it's probably not even worth
setting up a cron job.
It
On 9/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> That might work, if I were smart enough to figure it out... but I think
> all I'm trying to do is make bookxml.Items a class, so I can treat it
> as I would other classes.
>
> I think.
>
It looks like your hardcoding the search terms in
Hello:
I have defined a FileField attribute in the model.
Users can attach documents for every record they save.
However, many of them asked me for looking into the file before saving
the
attached one; the files have .doc, .pdf, .xls or .ppt formats. Is there
a
way to do this using Admin?
Thank
Hello:
I have defined a FileField attribute in the model.
Users can attach documents for every record they save.
However, many of them asked me for looking into the file before saving
the
attached one; the files have .doc, .pdf, .xls or .ppt formats. Is there
a
way to do this using Admin?
Thank
Actually, the document is pretty clear about this.
See: http://www.djangoproject.com/documentation/model_api/#list-display
.quote
For any element of list_display that is not a field on the model, the
change list page will not allow ordering by that column. This is
because ordering is done at
James Bennett wrote:
> Otherwise, the admin will only be able to show objects for the site
> that's hosting it.
and that is what I want to do, when I use
objects = CurrentSiteManager()
site = models.ForeignKey(Site)
Admin Panel list all objects from the table but allows to edit only
those
That might work, if I were smart enough to figure it out... but I think
all I'm trying to do is make bookxml.Items a class, so I can treat it
as I would other classes.
I think.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
On 9/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Gary Wilson wrote:
> > A Django forum would be another option. IMO, forums have more of a
> > community feel, and are also probably a little more friendly for
> > newbies. And, unlike with this mailing list, you would be able to
> >
Op do, 24-08-2006 te 12:10 +0200, schreef didier Belot:
> About the service app: it is very distribution specific! Maybe you can
> have a base class defining the api, and distribution specific classes
> doing the job (one for fedora/redhat, one for debian, ...) with a
> DISTRIBUTION setting in
On Fri, Sep 01, 2006 at 10:21:38AM -0700, mthorley wrote:
> Table creation is handled by core.management. In it, a lookup is
> preformed where it loads the dict DATA_TYPES (or something like that)
> from db.backends..creation. Then it attempts a key matching the
> field class name of each field
On 9/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> objects = CurrentSiteManager()
> site = models.ForeignKey(Site)
Just keep in mind that if you want to share an instance of the admin
across multiple sites *and* use the CurrentSiteManager, you need to do
this:
objects = models.Manager()
[EMAIL PROTECTED] wrote:
> using Sites is good for forums and wikis...
not "is" but "isn't" :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
using Sites is good for forums and wikis... and it require some
hacking... unless I cheat :)
hm... If I add:
objects = CurrentSiteManager()
site = models.ForeignKey(Site)
to each of my models classes it seems that it will do the hacking part
for non Admin Panel views, now how to make Admin
Adrian Holovaty wrote:
> No, this isn't the case -- loaded template tags/filters aren't made
> available in child templates. This happens on purpose, so that a child
> template is less coupled to its parent template.
If you're extending a base template, aren't you already coupling the
two?
I
Why not have your template tag take a 2nd and 3rd argument: filter and
order by. I'm not sure how exactly that works with the "as". Maybe:
{% get_amazon_book_list title author as amazon_book_list %}
?
--~--~-~--~~~---~--~~
You received this message because you
On 9/1/06, Rob Hudson <[EMAIL PROTECTED]> wrote:
> If not, should it?
>
> If I'd like do have markup on my whole project it would be nice to set
> it once in base.html via {% load markup %} and have it automatically
> loaded in each template that extends base.
>
> I just tried this with template
Thanks, Luke.
I'll be working on an ajax solution, and will hopefully have something
to post about it soon.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
After discussing this on IRC, I have submitted a ticket and a patch.
It is at http://code.djangoproject.com/ticket/2640 if anyone is
interested.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
Hi all,
at
http://svn.sourceforge.net/viewvc/django-userlibs/trunk/libs.ajax/src/ajax/views/generic/date_based.py
I tried to solve ajax-aware views by copying original django generic views into
my own project namespace and modifiy them to use separate customized
HttpResponse objects. This has
I found it! There is a mapping of Field types in
db.backends..creation where yourdb is mysql or postgres or what
ever. I found it by grepping for CREATE in the django source.
Table creation is handled by core.management. In it, a lookup is
preformed where it loads the dict DATA_TYPES (or
I am trying to access parent class objects within the admin site with
the list display function.
The following are my models:
###
class Device(models.Model):
make = models.CharField(maxlength=30)
model = models.CharField(maxlength=50)
partno = models.CharField('part
I hope I'm using the correct terminology here...
As anyone who's read my posts knows, I'm new to both Django and Python,
but I'm trying to figure stuff out. In my last post, I mentioned I
wanted a way to bring in things from Amazon Web Services, and it was
suggested I should use templatetags.
If not, should it?
If I'd like do have markup on my whole project it would be nice to set
it once in base.html via {% load markup %} and have it automatically
loaded in each template that extends base.
I just tried this with template tags and it didn't work but I'm curious
if it would be a
If not, should it?
If I'd like do have markup on my whole project it would be nice to set
it once in base.html via {% load markup %} and have it automatically
loaded in each template that extends base.
I just tried this with template tags and it didn't work but I'm curious
if it would be a
I actually looked into this yesterday and came up with the following
modification to db/models/options.py around line 37
def __setattr__(self, name, value):
if (settings.DB_PREFIX != '' and name == 'db_table' and value !=
''):
self.__dict__[name] = DB_PREFIX + "_" + value
On 9/1/06, Andrew <[EMAIL PROTECTED]> wrote:
> I adopted nice SelectFilter2.js for single item selecting with search
> in change forms
> in case of relatively large lists.
> Here is my changes against current sources (0.96-pre).
> It's seems work for me.
Hey Andrew,
This looks pretty cool!
On 8/31/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I want to make few sites which will use the same django apps and the
> problem is with table prefixes as using one database would be nice.
> There is db_table for my tables but django tables can't be changed that
> way - users and
On 8/25/06, Matthew Marshall <[EMAIL PROTECTED]> wrote:
> I got sick of kate highlighting my django template vars/tags as errors,
> so I put this together. It highlights tags, vars, filters, and
> comments. You can also use Ctrl+[Shift+]D to [un]comment using {%
> comment %}{% endcomment %}.
>
This is my first time using custom validators, so I want to make sure
I'm on the right track.
Here's a stripped down version of my model and the validation
requirements:
class Event(models.Model):
date = models.DateField()
recurrence = models.SmallIntegerField(blank=True, null=True,
On 9/1/06, brian corrigan <[EMAIL PROTECTED]> wrote:
> the unique fields are not created.
> the same happens for unique_together=(("distribution_list",
> "subscriber"),)
I think the confusion here is over the word 'meta'.
Once upon a time, you defined models by starting out with:
from
On 8/28/06, Rob Hudson <[EMAIL PROTECTED]> wrote:
> Can you use both? I saw a link to a post about this sort of here:
> http://groups.google.com/group/django-developers/browse_thread/thread/818c2ee766550426/e311d8fe6a04bb22
> but didn't see a resolution.
There's no great solution to this yet.
I want to make few sites which will use the same django apps and the
problem is with table prefixes as using one database would be nice.
There is db_table for my tables but django tables can't be changed that
way - users and permissions aren't the problem (the same user system is
welcomed) but
Hi
I have two simple models with a OneToMany connection
class Student(models.Model):
last_name = models.CharField(maxlength=60)
first_name = models.CharField(maxlength=60)
class Grade(models.Model):
mark = models.CharField(maxlength=1, choices=MARK_CHOICES)
student =
A javascipt widget may load his own css file.
--~--~-~--~~~---~--~~
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,
Building a menu i dont know,
bu getting the data yes
exemple the month list of a Entry model with a create date field.
month_list = Entry.objects.dates('created', 'month')
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Cheers Chris,
Finally saw that but I have tried it and have the following problem...
The code:
distribution_list = models.ForeignKey(DistributionList)
subscriber = models.CharField(maxlength=30)
unique_together=((distribution_list, subscriber),)
gives the following sql
Oh yeah, on this note...do I need to override the default
get__url() for this? I tried using it, and it returns a relative
url instead of an absolute url (MEDIA_ROOT and MEDIA_URL are set in
settings).
--~--~-~--~~~---~--~~
You received this message because you
See:
http://www.djangoproject.com/documentation/model_api/#unique-together
Cheers,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
On 9/1/06, brian corrigan <[EMAIL PROTECTED]> wrote:
> Oops... Sorry about that, airhead moment. Is there a similar function
> to unique_together now that can be used?
Take a look at the model documentation[1]; most of the names of the
'meta' and 'admin' options on models haven't changed,
Newb question. I'm using the PIL to create thumbnails of page
templates for a simple CMS that I'm building. The function is written
- Python isn't my problem. My problem is how to go about adding the
thumbnails to the view. Do I use foo.show() somewhere, somehow in a
view? Do I make a
Jacob Kaplan-Moss wrote:
> On Sep 1, 2006, at 9:17 AM, brian corrigan wrote:
> > However with the project I'm working on, I can't change the Django
> > version I'm working on. I have tried doing an SVN update on the core
> > directory but meta was not included in it. Is there anyway I can
> >
Hi,
My model has a date field in it and I want to collect that data in my
form with a more traditional method than the default text field that
the FormWrapper generates. I want to use three select menus with
month/date/year pulldowns. What the best way to do this while keeping
my model
On Sep 1, 2006, at 9:17 AM, brian corrigan wrote:
> However with the project I'm working on, I can't change the Django
> version I'm working on. I have tried doing an SVN update on the core
> directory but meta was not included in it. Is there anyway I can
> download the relevant files/folders?
On 9/1/06, brian corrigan <[EMAIL PROTECTED]> wrote:
> However with the project I'm working on, I can't change the Django
> version I'm working on. I have tried doing an SVN update on the core
> directory but meta was not included in it. Is there anyway I can
> download the relevant
Also...
I have downloaded the .tar.gz file from the django site and browsed to
django/core and again there is no mention of meta.
Is there something I'm missing?
If there is no work around this for me, is there any other way I can
implement the following code...
distribution_list =
I'm trying to learn how to use CSS in combination with Django (I owe a
great deal to Jeff Croft for his LOST theories example
site).Unfortunately I ran into the following problem. I am using a
'base.css' that loads other css files, e.g.
@import url("homepage.css");
@import url("user.css");
Only
Thanks Jacob,
However with the project I'm working on, I can't change the Django
version I'm working on. I have tried doing an SVN update on the core
directory but meta was not included in it. Is there anyway I can
download the relevant files/folders?
Thanks again,
Brian
Hi Mikah, Would you be willing to share your script, minus anything to sensitive. Regards charlesmazurin <[EMAIL PROTECTED]> wrote: Another option, which may or may not be acceptable, is to write an SQLscript containing the necessary INSERTs and run it using yourdatabase's command
On Sep 1, 2006, at 6:18 AM, Bruno Desthuilliers wrote:
> Seems like there are problems with the djangoproject site - no css,
> broken internal links etc... (someone mentionned it on c.l.py a few
> minutes ago, and I experimented the same problem).
Fixed now, FYI.
Jacob
Hi Brian --
Django's actually undergone some pretty sweeping changes since you
last played with it. Probably the best place to start is by reading
the 0.95 release notes (http://www.djangoproject.com/documentation/
095_release_notes/) for an overview of what's changed.
That page will
Hi all,
I dowloaded django for the first time about a month and a half ago and
today tried this line:
from django.core import meta
but keep getting this error:
Error: cannot import name meta. Are you sure your INSTALLED_APPS
setting is correct?
When I browsed the directory I found that the
Gary Wilson wrote:
> A Django forum would be another option. IMO, forums have more of a
> community feel, and are also probably a little more friendly for
> newbies. And, unlike with this mailing list, you would be able to
> reply to posts that are more than 30 days old.
In my opinion the
Jay Parlar escreveu:
> On 8/30/06, Luis P. Mendes <[EMAIL PROTECTED]> wrote:
>
>> I have something to add:
>> - I can add or delete 'fichas' from the admin site with no problem.
>> - This 0.95 version is an upgrade from 0.91.
>>
>
> That last part is interesting. Did you have a database
Hi
Seems like there are problems with the djangoproject site - no css,
broken internal links etc... (someone mentionned it on c.l.py a few
minutes ago, and I experimented the same problem).
--
bruno desthuilliers
développeur
[EMAIL PROTECTED]
http://www.modulix.com
Hi,
I adopted nice SelectFilter2.js for single item selecting with search
in change forms
in case of relatively large lists.
Here is my changes against current sources (0.96-pre).
It's seems work for me.
# add file SelectFilter3.js to ..\admin\media\js (adaptation of
SelectFilter2.js)
Ivan Sagalaev napisał(a):
>> I have lighttpd+fastcgi configuration on the same host, but apache +
>> mod_python looked like a good idea (for a change).
>>
>
> Interesting I've just made as switch in other direction :-).
> Lighty+FastCGI just takes less memory...
If it was up to me, I'd
Looks like I have to add to httpd.conf
FastCgiConfig -autoUpdate
http://www.fastcgi.com/docs/faq.html#application_reload
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
Last time I tried Apache-2.2 with mod_python 3.x and it didn't work for
me. I degraded to apache2.0 and now everything works. I am using
Freebsd 6.1. There was a known problem about 3 months ago, maybe it's
fixed now, in which case you need to update your ports (advise using
portsnap for this)
[EMAIL PROTECTED] wrote:
>
> Gábor Farkas wrote:
>> [EMAIL PROTECTED] wrote:
>>> What do you mean with "2000 thing objects"? Are there 2000 records in
>>> the database for that table, or did you have 2000 records in memory at
>>> runtime?
>>>
>> if you don't use raw_id_admin, then (from my
I have the following model:
class Fact(models.Model):
text = models.TextField(core = True)
newspost = models.ForeignKey(Newspost,
edit_inline = models.TABULAR,
num_in_admin = 5,
78 matches
Mail list logo