Hi Folks.
I am trying to set up my first django i18n site, and when running
make-messages.py on the command line I get the following error:
'errors happened while running xgettext on __init__.py
language `Python' unknown'
any ideas?
thanks,
arthur
p.s.: I am running make-messages on my
On ubuntu 6.06 with python 2.4 dev (per a suggestion from the install
doc comments (though had the same issue w/o)) installed and svn
checkout of django. Symlink from /usr/lib/python2.4/site-packages to
django dir in svn checkout (even another symlink to django-admin.py).
Hi all -
I have a base template that looks like:
{% include "doc_head.tmpl" %}
{% include "header.tmpl" %}
{% include "menu.tmpl" %}
{% include "extra.tmpl" %}
{% block content %}
{{ section.header }}
{{ section.data }}
{% endblock %}
{% include "footer.tmpl" %}
{% include "doc_foot.tmpl" %}
Thanks so much for your help Ryan. Unfortunately though, I think I'm
missing some crucial bits of detail here so I still have a couple
basic questions:
(1) Where should my custom manipulator code live? I would think it's
in the view, since it really is view code after all. But maybe the
On 9/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Link: http://code.google.com/p/diamanda/
> The SVN repository contains the latest code for diamanda wiki and
> MyghtyBoard forum (NEW).
>
> Requiremens:
> - django svn or 0.95 with sitemap package (get from svn/trac and place
> the
Django ORM is high level and specific ORM which in generall work with
tables described in models and it was designed for a
CMS-maker-framework :) If you have more advanced database stuff then
you could use independent python ORM called SQLAlchemy (which as a
backend will be also in django).
Link: http://code.google.com/p/diamanda/
The SVN repository contains the latest code for diamanda wiki and
MyghtyBoard forum (NEW).
Requiremens:
- django svn or 0.95 with sitemap package (get from svn/trac and place
the folder in contrib)
- strip-o-gram
Hi. I've been coding in python recently and I'm interested in working
with Django, partly because of my delight in working with python and
partly due to a star-struck admiration for Ruby on Rails, 'sensible
urls' and ORMs.
What I'm looking for is some general advice. What is at stake is a
On 9/5/06, cyberco <[EMAIL PROTECTED]> wrote:
>
> I'm new to database programming and I'm wondering if I should put
> around 1 page of plain text (<5000 characters) in a database or in
> files on the filesystem. Any suggestions?
The main advantage of the filesystem is that it is simple and fast.
Manuel Meyer wrote:
> You don't have permission to access /home/myusername/public_html/
> ultimateWeimar/django.fcgi/ on this server.
In my case it was permissions, the .fcgi must be executable.
> IndexError: string index out of range
I was getting this error too because we must call it like
The problem has been fixed in r3714. Do an SVN update and you should be
able to use the default filter like before.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
I'm new to database programming and I'm wondering if I should put
around 1 page of plain text (<5000 characters) in a database or in
files on the filesystem. Any suggestions?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hi,
I try to bring a django-project online via fastcgi, but i get
following error:
You don't have permission to access /home/myusername/public_html/
ultimateWeimar/django.fcgi/ on this server.
my .htaccess looks like this
AddHandler fastcgi-script .fcgi
RewriteEngine On
RewriteRule
On 9/2/06, Frank Stüss <[EMAIL PROTECTED]> wrote:
> And if it was written in django and could be used as an example of excellent
> programming it would be even better.
> Anyone? 8-)
Zyons?
--~--~-~--~~~---~--~~
You received this message because you are subscribed
On 9/3/06, Lorenzo <[EMAIL PROTECTED]> wrote:
>
>
> Andy Dustman wrote:
>
> > What versions of MySQL and MySQLdb/MySQL-python are you using?
>
>
> mysql Ver 14.12 Distrib 5.0.22
> mysql-python 1.2.1_p2
>
> So it could be caused by mysql/mysql-py, not django?
Maybe. I'd need to see a traceback
Hello all,
Sorry to come with a problem for you...
I get an error in the admin views (show and add object, at least),
saying :
AttributeError at /admin/addressbook/city/1/
'bool' object has no attribute 'get'
Request Method: GET
Request URL:
Hi all
In most cases, web application has a database for it's own use. It
allow users to change data and present data to user. It dose not have
to know any other programs but the database. I think Django is perfect
for this kind of use.
I hope my problem would be the same. I have to write a
On 9/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I just did a svn update against the trunk and now my admin pages look
> weird. It looks like the CSS was removed or something.
>
> Anyone know anything about this?
Hi mtbeedee,
I just verified that it's working fine for me here. I
http://code.djangoproject.com/ticket/2653
--~--~-~--~~~---~--~~
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
On 9/4/06, Nate Straz <[EMAIL PROTECTED]> wrote:
>
> On Sun, Sep 03, 2006 at 11:26:22PM +0100, Konstantin Shaposhnikov wrote:
> > On 9/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > > My problem is that my older/newer navigation that uses
> > > entry.get_next_by_pub_date also picks up
Russell Keith-Magee wrote:
> On 9/4/06, Sean Perry <[EMAIL PROTECTED]> wrote:
>>
>> So according to this, I am doing things correctly and should not get an
>> error. Bug? Code change without document update?
>
>
> Yes, this seems to be a bug. The documentation is correct, and agrees with
> the
Hi,
I read in the documentation that CheckboxSelectMultipleField has an
identical interface to SelectMultipleField. But this does not seem to
work for me.
I define a Manipulator with SelectMultiple field:
forms.SelectMultipleField(field_name="groups", choices=(('My Test
1','My Test 1'),('My
Hi,
On 8/31/06, Gábor Farkas <[EMAIL PROTECTED]> wrote:
> you need to use the raw_id_admin = True flag in the ForeignKey,
> and all will be fine.
Great!, Thank you Gábor :)
I was having the same problem too.
Cheers,
Jorge
--~--~-~--~~~---~--~~
You received
I just did a svn update against the trunk and now my admin pages look
weird. It looks like the CSS was removed or something.
Anyone know anything about this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
If your custom manipulator is for creating a new instance of the model,
just have save() create on and return it.
When I am writing a custom change manipulator, I either pass the
instance being changed to the __init__ method and save it as
self.model_name or pass it to the save() method and use
When writing custom manipulators, how do I associate my model with it?
Using standard manipulators, I do something like this:
manipulator = MyModel.AddManipulator()
But for custom manipulators, I do something like this:
manipulator = MyManipulator()
So, if I later do a manipulator.save(), how
On 9/4/06, Sean Perry <[EMAIL PROTECTED]> wrote:
So according to this, I am doing things correctly and should not get anerror. Bug? Code change without document update?Yes, this seems to be a bug. The documentation is correct, and agrees with the actual model implementation. It looks like the
im doing something similar, I have set up a link from my webserver which is not a very big machine, to my NAS box using standard linux networking protocols...this may not be the best way to do it, but it works- Original Message From: Filipe <[EMAIL PROTECTED]>To: Django users
As far as I know, you are able to generate the template pages used by
the admin (see the docs) to customize them further.
Admin page is fully customizable via the "class Admin" inner class.
A nice architecture indeed.
--~--~-~--~~~---~--~~
You received this
it looks like it is on the cheese shop.
http://cheeseshop.python.org/pypi/PyCAPTCHA/0.4
with the download here
http://cheeseshop.python.org/packages/2.4/P/PyCAPTCHA/PyCAPTCHA-0.4-
py2.4.egg#md5=cd6a31191c0dd3afee219886c936fcac
regards
Ian.
On 04/09/2006, at 8:18 PM, Aidas Bendoraitis wrote:
>
Hello, Djangoers!
I am not sure I am writing to the right audience, but maybe somebody
will be able to help me. I am trying to install the Forum/Community
application "Zyons" mentioned at code.djangoproject.com and it seems
that the python module PyCaptcha required for Zyons is no longer
Consider:
class Foo(models.Model):
related = models.ManyToManyField('self')
suggestions = models.ManyToManyField('self')
Both should be symmetrical. If A suggests B, B suggests A (for this code
base anyways).
What I expected to happen is adding B to A would add A to B. Instead I
I created ticket #2651.
Zaur
Adrian Holovaty wrote:
> 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).
> >
petrov wrote:
> Hi,
>
> i am not sure how everyone else does this but here goes.
>
> I have some sample data in xml. so, i converted added the "insert into
> ...values(..) " format and placed into the myapp/sql/myapp.sql
>
> at this pont i wanted to clear the table and add the sample data.
>
Hi,
i am not sure how everyone else does this but here goes.
I have some sample data in xml. so, i converted added the "insert into
...values(..) " format and placed into the myapp/sql/myapp.sql
at this pont i wanted to clear the table and add the sample data.
however, doing:
python manage.py
35 matches
Mail list logo