Hi !
Command django-admin.py startproject stopped work on my computer (it
worked well in the past), I get:
Usage: django-admin.py subcommand [options] [args]
etc.
I found it was because I have set another Python version last week. At
first I got such a message:
Traceback (most recent call last):
ev
> Web Software Developer
>
> Mobile: +359 88 66 08 400
> Website:http://ilian.i-n-i.org
>
>
>
>
>
>
>
> On Tue, Oct 4, 2011 at 8:01 AM, veva...@yandex.ru <veva...@yandex.ru> wrote:
> > Good morning!
> > Could you tell me, is there any solution to
Thank You very much! Adding option "save_as = True" to ModelAdmin
subclass is exactly what I need.
On 4 окт, 13:01, Thomas Orozco <g.orozco.tho...@gmail.com> wrote:
> Regarding your first question, the admin save_as field does exactly this.
> Le 4 oct. 2011 07:01, &qu
Good morning!
Could you tell me, is there any solution to add several records?
1) Now we can click Add, this gives us an empty version of the edit
page. I believe it is comfortable to have a Copy button, clicking Copy
would give us a page with a copy of a previuosly selected record, we
could edit
Thank You very much!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/MUltEa4dGogJ.
To post to this group, send email to django-users@googlegroups.com.
To
Would You please help me to find a mistake?
--- blog.model.py:
from django.db import models
class Entry(models.Model):
title = models.CharField(max_length=150)
body = models.TextField()
is_draft = models.BooleanField()
pub_date = models.DateField()
def __unicode__(self):
On 6 авг, 18:48, Shawn Milochik wrote:
> Are you running collectstatic after making those changes?
After Your advice I did so without any success. The details are:
I use django 1.3, Windows on a local computer.
1) I removed 'products' and 'thumbnails' subfolders from 'image'
I have got working test project but it works very strange.
http://www.w3.org/1999/xhtml; xml:lang="en">
What is strange: if I rename an image file or any directory and change
a reference accordingly, an image disappears from the page.
--
You received this message because you are
Hello,
I can't use static files too.
urls:
urlpatterns = patterns('',
(r'^', 'testjquery.views.first'),
)
if settings.DEBUG:
urlpatterns += patterns('django.views.static',
(r'^%s/(?P.*)$' % settings.STATIC_URL[1:], 'serve',
{ 'document_root': settings.STATIC_ROOT }),
)
Tom,
I added
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
and
if settings.DEBUG:
urlpatterns += staticfiles_urlpatterns()
to urlconf, but didn't get any result.
Vladimir
--
You received this message because you are subscribed to the Google Groups
"Django users"
I see I don't understand how can I use static files using the
development server. I saw several answers to this question of other
people but they are too breaf for me. I think I follow advices but
without any result.
Books on Django I have don't explain this problem. Be so kind to
explain me.
My
Thank You! Now I see I don't understand how can I use static files
using the development server. I saw several answers to this question
of other people but they are too breaf for me.
Books on Django I have don't explain this problem. Be so kind to
explain me.
My local computer has Windows. The
Thank You very much, Kev !!!
You helped me.
Vladimir Vanin
--
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 email to
After upgraging I entered python manage.py runserver and got error
messages:
File "manage.py", line 11, in
execute_manager(settings)
File "c:\python26\lib\site-packages\django\core\management
\__init__.py", line 438, in execute_manager
utility.execute()
File
Please give me a reference to a full example of Form wizard.
To learn it I try to solve such an application (details are omitted):
urls.py:
urlpatterns = patterns('',
(r'^hotel_wizard/', 'my.app.views.hotel_info'),
models.py:
class Country(models.Model):
name =
error # 1 I can't understand at all,
error # 2 is because of errors in urls.py files (project level and/or
application level), but I cannot find them exactly. Please help
On 26 фев, 21:58, vladimir <veva...@yandex.ru> wrote:
> 1. Studying example in "The Definite Guide to
16 matches
Mail list logo