Re: please provide a html download of the doc

2009-05-24 Thread Nils-Hero

Very much thanks for the download link, MichaelMasklinn (and for the
offer, sam),
i have uploaded that on my website, where it can be downloaded as zip
and tar:

http://freiewelt.org/0/django-docs-1.0-html.zip
http://freiewelt.org/0/django-docs-1.0-html.tgz

Following your instructions does not work, even on a PC WITH Internet
connection.
I download those four packages from the python-site (sphinx, docutils,
jinja, pygments),
I do a fresh python install (2.6.2), works
I do install the docutils with 'python.exe setup.py install', ok,
works
I do install the jinja with 'python.exe setup.py install', it tries to
down something, bang, i get a http 404 not found-Error.

Nils

--~--~-~--~~~---~--~~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: please provide a html download of the doc

2009-05-23 Thread Nils-Hero

Hi,

that is a sympathic cite by voltaire and i agree

Sphinx sucks, simply because it is not installable. dot. html-zips or
'setup.py install'. its just that simple.

I suggest, you compile that doc for me, send it to n...@freiewelt.org,
and for this work i put that as a download on my website and you put a
link to this download on your django site and people then can donwn
that.
I cant guarantee for great performance of my site, but i will make it
available unchanged (after i tested that it is correct), as long as im
not using my site. that can be a while. My site is a stub anyway and
im paying for it, so why not making that available.

By the way, i now got an email by the trac, so  i was wrong with half
of criticpoint 1.
By the way2: 'Infrastructure', hahaha, calm down, Russel Keith Magee.
Its not important that the newest version is available, its important
that SOMETHING is available (using that terrible MAKE, omg omg omg)

There is a nice cite by a german politican: 'some people, if they see
the end of the tunnel, buy a new piece of tunnel' ... we have
'setup.py install' thats enough.dot.

Nils Lindemann
--~--~-~--~~~---~--~~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



please provide a html download of the doc

2009-05-22 Thread Nils-Hero

1. About the Django trac: The Register-Procedere does not work, after
registering it sends no e-mail. It is also not possible to write
simple messages as anonymous user, everything is said to be Spam, and
that is not True. Fix that!

2. Getting the Django-doc compiled with Sphinx is not possible on a
Windows PC without internet connection. Nothing is possible with
Sphinx. Sphinx is not installable. Sphinx (and all that unreadable
text-html-processing-stuff) is evil and unpythonic.

=> 3. I vote for a good ol' downloadable doc as html-zip/tar/whatever.
Or something which does not require hundreds of addons and works with
good ol' pythonic 'setup.py install'.

Nils Lindemann

--~--~-~--~~~---~--~~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Problems rendering HTML stored in database.

2009-03-06 Thread nils

Im running django-1.0.2-final with the django.contrib.admin in my
application.
It's a blog-like application so i implemented tiny-mce (wysiwyg-
editor) in the admin interface.
It saves/deletes/updates as supposed, but the view+template does not
render the HTML-tags, the HTML-tags renders as plain text.

Any one know why?


--~--~-~--~~~---~--~~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Problems selecting correct object in view

2008-02-16 Thread Nils L

Hi Tim,
Contest.objects.filter(pk=pSerial) yields a list (in this case of
length 1), not a Contest object. If you want to fetch a single object
based on it's primary key you can use: Contest.objects.get(pk=pSerial)
See http://www.djangoproject.com/documentation/tutorial01/

- Nils
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



newforms-admin migration utility script

2008-02-16 Thread Nils L

Hi everyone,
I have written a utility script that scans a models.py file and
automatically outputs the corresponding newforms-admin source code
(the code that goes into the admin.py file). The purpose is to
simplify the migration to newforms-admin.

Here is what it outputs:
* an import line that imports only the necessary models
* inline editing classes - inheriting from either admin.TabularInline
or admin.StackedInline
* ModelAdmin classes containing any original Admin class contents
('fields' is replaced by 'fieldsets' and the value of 'classes is made
into a tuple), plus the following fields whose values are determined
automatically: inlines, prepopulated_fields, filter_horizontal,
filter_vertical and raw_id_fields
* invocations of admin.site.register for admin options classes.

Example usage of the script (generates the admin.py file for the
models.py file in the satchmo.product module):
./new-forms-gen.py satchmo.product > admin.py

I uploaded the code to djangosnippets: 
http://www.djangosnippets.org/snippets/603/
Hopefully it can be of use to someone. Please note that the script
doesn't modify any files, it just writes the generated code to
standard output.

I'm quite new to the newforms-admin branch and the documentation is
not yet complete so I was not sure how members of the Inline classes
relate to old keyword arguments used in field declarations. Currently
the 'extra' field in the generated Inline classes is based on the
value of 'num_in_admin'. If someone knows this to be wrong, please let
me know and I'll fix it.

Regards,
Nils
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django / Apache Problem (ignores SetHandler)

2007-11-20 Thread Nils Herzog

Hi Marcin,

> You can use django.views.static.serve.
> In my application I have the following link in my urls.py

But this is not good for my production server.

Quote from http://www.djangoproject.com/documentation/static_files/

"Using this method is inefficient and insecure. Do not use this in a 
production setting."

Any other hints? :-)

Cheers,
Nils 


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Unsubscribing from this group... impossible?

2007-11-11 Thread Nils-Hero Lindemann


Hey Guys, i can't unsubscribe too.

Nils

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---