Dumping a db using django db api

2007-02-14 Thread Herman
Well I made a little script that dump the database content insert statements of a django application, useful for creating the initial data of an application. I don't know if this has been done or if it's a feature of the many tools that django provides, but it have fun making it. #!/usr/bin/env p

[no subject]

2019-06-17 Thread Herman
how do I solve thsi kind of operational error on windows 'django.db.utils.OperationalError: FATAL: password authentication failed for user "hp" '? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: syntax highlighting for template files and file suffix

2011-08-23 Thread Herman Schistad
reate 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 problem

2011-06-20 Thread Herman Schistad
: 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@googlegroups.com. To unsubscribe

Re: updating a user form?

2011-06-21 Thread Herman Schistad
uestions on django-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.

Re: updating a user form?

2011-06-22 Thread Herman Schistad
d 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 because you are subscr

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 a

Re: Automatic internal link middleware

2011-06-22 Thread Herman Schistad
gex. 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 "Django users" group. T

Re: FileField model question

2011-06-23 Thread Herman Schistad
ld 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 subscribed to the Google Groups &

Re: Split up .po files for Internationalization

2011-06-24 Thread Herman Schistad
dels.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 subscribed to the Google Groups &q

Re: giving download links

2011-06-28 Thread Herman Schistad
ta/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 from this gro

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

2011-06-30 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 to the

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

2011-07-01 Thread Herman Schistad
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@googl

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

Google AppEngine vs. dedicated hosting (Pros/cons)

2011-08-05 Thread Herman Schistad
//www.webfaction.com/ -- 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

Re: Django 1.4?

2011-08-05 Thread Herman Schistad
though that may not happen 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 d

Re: How to install pip on windos10

2024-09-14 Thread Herman Afandi
You can download vscode or pycharm the community edition. I don't think you can install pip inside windows 10. On Sun, Sep 15, 2024 at 2:30 AM Anish Kumar wrote: > Creating a Virtual Environment and Installing Packages > Introduction > A virtual environment is a self-contained environment for Py