startproject

2011-11-27 Thread veva...@yandex.ru
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):

Re: effective adding records in Django site admin

2011-10-05 Thread veva...@yandex.ru
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

Re: effective adding records in Django site admin

2011-10-05 Thread veva...@yandex.ru
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

effective adding records in Django site admin

2011-10-03 Thread veva...@yandex.ru
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

Re: sitemap

2011-09-12 Thread veva...@yandex.ru
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

sitemap

2011-09-04 Thread veva...@yandex.ru
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):

Re: static files (development server)

2011-08-07 Thread veva...@yandex.ru
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'

Re: static files (development server)

2011-08-06 Thread veva...@yandex.ru
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

Re: Django can't see my static files

2011-08-05 Thread veva...@yandex.ru
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 }), )

Re: static files (development server)

2011-08-02 Thread veva...@yandex.ru
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"

static files (development server)

2011-08-01 Thread veva...@yandex.ru
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

Re: jquery

2011-07-31 Thread veva...@yandex.ru
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

Re: upgrade Django 1.2.3 to 1.3

2011-07-31 Thread veva...@yandex.ru
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

upgrade Django 1.2.3 to 1.3

2011-07-30 Thread veva...@yandex.ru
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

Form wizard

2011-06-19 Thread veva...@yandex.ru
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 =

Re: admin home page

2011-02-27 Thread veva...@yandex.ru
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