Yes, this is typo. But I don't see there no edit button
суббота, 24 августа 2013 г., 20:52:45 UTC+4 пользователь WongoBongo написал:
>
> Can you change the name of this file from
>
> newweb/polls/__init.py__
>
> to
>
> newweb/polls/__init__.py
>
> That file name is not right.
>
> K
>
>
>
> On
Can you change the name of this file from
newweb/polls/__init.py__
to
newweb/polls/__init__.py
That file name is not right.
K
On Saturday, August 24, 2013 8:02:38 AM UTC-7, Oleg Gorjajnov wrote:
>
> I'm new to Django.
>
>
> newweb/
> manage.py
> newweb/
>
No, I have no problems with manage.py runserver or syncdb. Just now tried
build this code in PyCharm and got the same error
суббота, 24 августа 2013 г., 19:42:04 UTC+4 пользователь tom написал:
>
>
> On 24 Aug 2013, at 16:02, Oleg Gorjajnov
> wrote:
>
> And this is *not
On 24 Aug 2013, at 16:02, Oleg Gorjajnov wrote:
> And this is not my case.
>
> So what's wrong with that? It must work well without meta classes.
>
Do you get any problems when you do manage.py runserver or syncdb? I think your
problem stems from trying to build
s.py", line 3, in
class Poll(models.Model):
File "C:\python27\lib\site-packages\django\db\models\base.py", line 93,
in __new__
kwargs = {"app_label": model_module.__name__.split('.')[-2]}
IndexError: list index out of range
- What to do?
I have read that t
I am trying to write to CSV, I was able to do so before, not sure what
the problem is...
When my query returns results, I get this error http://dpaste.com/96399/
Here's my view http://dpaste.com/96398/
If the query is empty it opens the CSV with only the header row...
What am I doing wrong?
Karen you're always a big help for me on django. Thank you so much!
I was imaging the same thing you explained about problems with the
objects pointing to the key i want to change.
So I was thinking to create a new counter primary key for that model
and turn the current primary key into a simple
On Thu, Mar 26, 2009 at 7:06 AM, TeenSpirit83
wrote:
>
> I can't find nothing similar on this group! Can you please help me?
> I get this error trace in the django 1.0.2 admin when updating a char
> primary key in a regex field.
> Thank you in advance!
>
I think
I can't find nothing similar on this group! Can you please help me?
I get this error trace in the django 1.0.2 admin when updating a char
primary key in a regex field.
Thank you in advance!
Environment:
Request Method: POST
Request URL: http://localhost/admin/webamf/azienda/04573030659/
Django
go/towns/models.py", line 8, in ?
> > class Category(models.Model):
> > File "/usr/lib/python2.4/site-packages/django/db/models/base.py",
> > line 51, in __new__
> > kwargs = {"app_label": model_module.__name__.split('.')[-2]}
> > IndexE
t recent call last):
> File "", line 1, in ?
> File "/home/django/towns/models.py", line 8, in ?
>class Category(models.Model):
> File "/usr/lib/python2.4/site-packages/django/db/models/base.py",
> line 51, in __new__
> kwargs = {"app_label&q
y(models.Model):
File "/usr/lib/python2.4/site-packages/django/db/models/base.py",
line 51, in __new__
kwargs = {"app_label": model_module.__name__.split('.')[-2]}
IndexError: list index out of range
I can try and import any class from the model and I get the same
error
Of course. Thank you. I'm nearly braindead from doing taxes.
On Apr 12, 11:12 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Sat, Apr 12, 2008 at 9:28 AM, Jonathan Lukens <[EMAIL PROTECTED]>
> wrote:
>
>
>
>
>
> > I started getting an IndexError on a page today that has worked fine
> > in
On Sat, Apr 12, 2008 at 9:28 AM, Jonathan Lukens <[EMAIL PROTECTED]>
wrote:
>
> I started getting an IndexError on a page today that has worked fine
> in the past. The uses a wrapped object_list generic view to render a
> template with the following loop:
>
>{% for baby in object_list %}
I started getting an IndexError on a page today that has worked fine
in the past. The uses a wrapped object_list generic view to render a
template with the following loop:
{% for baby in object_list %}
{% if baby.photo %}
{% endif
15 matches
Mail list logo