On Sep 14, 2008, at 4:22 PM, sal wrote:
>
> Have looked extensively but cannot find a solution :(
>
> While trying to follow tutorial in a django book, I get the following
> error when running manage.py a second time:
>
> _mysql_exceptions.OperationalError: (1050, "Table 'people_person'
>
On Sep 14, 2008, at 5:16 PM, djandrow wrote:
>
> I have the folling urls:
>
> (r'^(?P\d{4})/$',
> 'django.views.generic.date_based.archive_year', archive_info),
> (r'^(?P\d{4})/(?P[a-z]{3})/$',
> 'django.views.generic.date_based.archive_month', archive_info),
>
> and archive_info is:
>
>
On Sep 14, 2008, at 12:59 PM, n00m wrote:
>
> What is the http://www.thomas-guettler.de/?
>
> Remove from your sig this link to your f**king spam-like site.
>
> On Sep 12, 4:36 pm, Thomas Guettler <[EMAIL PROTECTED]> wrote:
>> Thomas Guettler,http://www.thomas-guettler.de/
>
Chill out. It's a
On Sep 9, 2008, at 10:39 AM, Haku wrote:
>
> Hello, i'm quite frustrated by this problem.
> Today i had the idea to update my svn from the old 0.97 to the 1.0
> release, and now nothing is working anymore.
>
> I always get an anonymous "Internal Server Error"
> Maybe because my project included
On Sep 13, 2008, at 7:11 PM, Russell Keith-Magee wrote:
>
> On Sun, Sep 14, 2008 at 7:24 AM, Martin Diers <[EMAIL PROTECTED]> wrote:
>>
>> On Sep 6, 2008, at 11:36 AM, Posi wrote:
>>>
>>> Still though, how tied are we to a true relational model and how
On Sep 6, 2008, at 11:36 AM, Posi wrote:
>
> Still though, how tied are we to a true relational model and how does
> that tie to a column based DB.
So utterly and completely, that if you wished to use HBase, there
would be no possible way to integrate in into the current ORM. In
fact, the
It's rather hard to help you when we don't know what is not working
for you.
What is the error? What doesn't work?
On Sep 8, 2008, at 9:12 PM, TameR wrote:
> settings.py http://dpaste.com/76851/
> admin.py http://dpaste.com/76852/
> view.pyhttp://dpaste.com/76853/
> models.py
Perhaps you should direct this to a MySQL list somewhere? This in not
a Django question.
On Sep 6, 2008, at 2:43 PM, TheIvIaxx wrote:
>
> After searching around for a bit for a build of MySQLdb, i have found
> that i will probably need to build the module for AMD64 on windows.
> Is there a
The problem with fixtures in documented on the django-mptt page on
Google code. There is a patch you need to apply to get them to work.
The patch is not necessary for Trunk, however django-mptt does not
work on trunk, as too much has changed - in particular, signals.
I would really caution
On Aug 31, 2008, at 4:10 PM, Leaf wrote:
>
> I've recently discovered how incredibly customizable Mac OS 10.5's
> Terminal can be. For example, I created a custom setup that is useful
> for Django developers. Whenever it opens, it automatically starts my
> Django server, and instead of using
>>
> That's a really bad idea. Users can bring the whole site down with
> malformed content if you do it like that.
>
> At least you should do something like that:
>
> try:
>usercontent = render_to_string('whatever.html', {...})
> except TemplateSynatxError: # maybe other exceptions?
>
On Aug 29, 2008, at 2:22 PM, Benjamin Buch wrote:
>
> Clumsy subject, I know...
>
> I know there was a recent discussion about this, but I lost it, so
> sorry for asking again.
> So here's the question:
>
> How can you allow your users to add something like pictures into
> something like blog
I would suggest that first you learn about forms and widgets apart
from the admin. Once that is done, it's pretty trivial to crate your
own ModelForm and assign it to your admin.
As to a tutorial, there's the newforms-admin HOWTO, that may be of use:
There is a currently a discussion an even newer discussion on Dev,
where Jacob has proposed a new syntax, and has a patch that would
allow this:
{% url django-admindocs-docroot as docroot %}
Then docroot becomes a variable, containing the url, that can be used
in a {% blocktrans %},
I would suspect that #2 is a mime-type problem, which is just an S3
property. Presuming the ImageField translates to a basic href into S3,
the mime-type property of the file would need to be set or else it is
going to come across as a Binary file. Some browsers are ok with this
Couldn't you just create a dummy file in /channel_a for part2.html,
and in /channel_b for part1.html, such that the dummy files do nothing
but include the content of the corresponding parent?
On Jul 17, 2008, at 8:04 AM, 3xM wrote:
>
>
>
> On Jul 17, 1:59 pm, Arien <[EMAIL PROTECTED]>
Beat me to it.
I suppose someone should file a bug to update these:
http://www.djangoproject.com/documentation/
http://www.djangoproject.com/documentation/add_ons/
and add a link to the admin doc.
On Jul 19, 2008, at 7:54 PM, Karen Tracey wrote:
> On Sat, Jul 19, 2008 at 8:50 PM, Rodrigo
I am currently trying to use django-mptt in a CMS project. (More about
django-mptt here: http://code.google.com/p/django-mptt/)
django-mptt manages the implementation of an MPTT tree in a nearly
transparent way. You register your model with the django-mptt
application, and it will
On May 8, 2008, at 7:39 AM, Boodlooder wrote:
>
> I'm logged in as root, trying to execute:
>
> python mange.py syncdb
>
> the command is returning:
>
...
>super(Connection, self).__init__(*args, **kwargs2)
> _mysql_exceptions.OperationalError: (1049, "Unknown database
> 'reinhardt'")
>
>
Given a model like this (much simplified):
class Event(models.Model):
name = models.CharField(max_length=50)
class Text(models.Model):
name = models.CharField(max_length=50)
event = models.ForeignKey(Event)
name = models.CharField(max_length=50)
class
On May 5, 2008, at 11:56 PM, Timothy Wu wrote:
>
> I'm sorry, could someone gives me a clarification?
>
> Maybe I should describe it more clearly. My models.py and my
> database ARE in sync and they're with the tables and the fields I
> want. It's the admin interface that's out of sync,
n, or run reset once more.
--
Martin Diers
--~--~-~--~~~---~--~~
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 gr
the database model.
The challenge for a new Django user, however, will be that any online
documentation for the admin does not apply at all to newforms-admin.
I'm fairly new at Django myself, however, and was able to pick of the
differences very quickl
, which can be specified in the render
call, dramatically simplifying the structure of the templates as
compared to Mako.
--
Martin Diers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&q
to display my Inline.
Yes, I am passing "runserver --noreload" as the program arguments to
manage.py in Eclipse.
--
Martin Diers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&
You will want to post this on Django-dev, instead of here, as that's
the proper place to get the dev's attention or explanation on a stale
ticket. :)
On May 1, 2008, at 10:20 AM, Warren wrote:
>
> It looks like someone else hit the same trivial bug I ran into and put
> some considerable
It occurred to me, last night as I was drifting off to sleep, that the
only problem with just subclassing the DurationField widget, is that
you won't see any value over 24hrs, as that will spill over into days.
So - looks like your only option is to write your own version of
Duration
I'm not sure why DurationField should be added to the core. It's
really easy to subclass MultipleValueField and MultiWidget.
In any case, from looking at DurationField, it seems that the defaults
for days, seconds, and microseconds are sane enough that you would
probably be safe to
On Apr 27, 2008, at 10:42 AM, Josh wrote:
>
> So it sounds like the best three options are (in no particular order):
> 1. Remain with Webfaction.
> 2. Move to Slicehost.
> 3. Move to a colocated server.
>
If you are looking at colocation, have you checked out Amazon EC2? It
might be a much
29 matches
Mail list logo