Re: syntax highlighting for template files and file suffix

2011-08-23 Thread Herman Schistad
I guess is to create as base.html which defines your structure, and say: (...) {% block content %}{% endblock %} (...) And later in another document you just define the content like this: {% extends "base.html" %} (...) {% block content %} Your custom content here. {% endblock

Re: Django 1.4?

2011-08-05 Thread Herman Schistad
ppen 1.3 -> 1.4) -- With regards, Herman Schistad -- 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..

Google AppEngine vs. dedicated hosting (Pros/cons)

2011-08-05 Thread Herman Schistad
/ -- With regards, Herman Schistad -- 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

Re: url problems

2011-07-04 Thread Herman Schistad
nd you will hopefully get another result. -- With regards, Herman Schistad -- 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

Re: How to use the django-users mailing list properly and doing your homework..

2011-07-01 Thread Herman Schistad
on a pastebin link and read the code there - which makes it more probable that I'll help) -- With regards, Herman Schistad -- 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@google

Re: How to use the django-users mailing list properly and doing your homework..

2011-07-01 Thread Herman Schistad
What about including something about e.g. http://dpaste.com for snippets etc. I know I hate to read more than 10 lines of code in my email reader, without syntax highlighting or correct indentation. -- With regards, Herman Schistad -- You received this message because you are subscribed

Re: giving download links

2011-06-28 Thread Herman Schistad
tp://www.djangobook.com/en/beta/chapter21/ Or am I missing something? -- With regards, Herman Schistad -- 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 fro

Re: Split up .po files for Internationalization

2011-06-24 Thread Herman Schistad
py compilemessages translators.po models.po $ ls forms.po models.po translators.po django.mo Or something. I'm not a django developer, but I'm sure someone here is, and this may have been a ticket sometime? :) -- With regards, Herman Schistad -- You received this message because you are subscr

Re: FileField model question

2011-06-23 Thread Herman Schistad
/dev/ref/models/fields/#filefield And a simple google search on "handle uploaded file django" gives this useful snippet: http://djangosnippets.org/snippets/1036/ Did you search google before asking? :-) -- With regards, Herman Schistad -- You received this message because you are subscr

Re: Automatic internal link middleware

2011-06-22 Thread Herman Schistad
ere had to be some caveats with the regex. I'm really interested in your new project and would definitively watch your webcast (ref. your other topic) Again, thanks. Have a nice day. -- With Regards, Herman Schistad -- You received this message because you are subscribed to the Google Groups &qu

Automatic internal link middleware

2011-06-22 Thread Herman Schistad
Hi there fellow developers. I'm wondering if anyone has seen an app which does the following: * Finds keywords in the templates, which is defined by the user and then creates internal links to these. Use-case: 1. I create keyword: "Cupcakes" and give it the href/URL property: /info/cupcakes/ in

Re: updating a user form?

2011-06-22 Thread Herman Schistad
et_profile() and remember to set the following: AUTH_PROFILE_MODULE = "myapp.mysiteprofile" Then you could use the above example like this: user = request.user user.get_profile().homepage = "http://example.org; user.save() -- With regards, Herman Schistad -- You received this message

Re: updating a user form?

2011-06-22 Thread Herman Schistad
-users I would really advise you to read a introductory book or do some more tutorials before trying to make something advanced yourselves. -- With regards, Herman Schistad -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: django problem

2011-06-20 Thread Herman Schistad
te-system [3]: http://stackoverflow.com/ [4]: https://groups.google.com/forum/#!forum/django-users -- Regards, Herman Schistad -- 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@googlegrou