Re: Redirects working locally but not in live server

2013-03-29 Thread angelika
Thanks for the tips! I am absolutely sure that I restarted both nginx and gunicorn. But I'm gonna check with the server dudes if they can give me some insight into the inner workings of their universe. /Angelika On Thursday, March 28, 2013 6:18:59 PM UTC+1, ke1g wrote: > > Are yo

Re: Redirects working locally but not in live server

2013-03-28 Thread angelika
n get this type of reload/empty cache of the server without having to edit my settings.py? /Angelika On Thursday, March 28, 2013 4:10:24 PM UTC+1, angelika wrote: > > Hi, > > I'm using the django redirects app: > https://docs.djangoproject.com/en/1.4/ref/contrib/redirects/ &

Redirects working locally but not in live server

2013-03-28 Thread angelika
s no difference. Thoughts? Guesses? /Angelika -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to

Re: insert html into a form from Django code (not template)

2012-07-05 Thread angelika
Only a few of the fields need to be repeated in the form, not the entire form. /Angelika On Thursday, July 5, 2012 4:35:18 PM UTC+2, Melvyn Sopacua wrote: > > On 5-7-2012 16:26, Tom Evans wrote: > > On Thu, Jul 5, 2012 at 1:15 PM, angelika > wrote: > >> I'

Re: insert html into a form from Django code (not template)

2012-07-05 Thread angelika
Well thank you, Tom, you're a star! Will try this out as soon as possible, Cheers On Thursday, July 5, 2012 4:26:06 PM UTC+2, Tom Evans wrote: > > On Thu, Jul 5, 2012 at 1:15 PM, angelika > wrote: > > I've written a longer post here: > > > http://stackoverfl

Re: insert html into a form from Django code (not template)

2012-07-05 Thread angelika
to do this in Django and then I will think of another solution, but I would like to make sure before I solve it another way. /Angelika On Thursday, July 5, 2012 12:53:32 PM UTC+2, stauros wrote: > > On 07/05/2012 01:40 PM, Jon Black wrote: > > /*SC*/DOCTYPE HTML PUBLIC

Re: insert html into a form from Django code (not template)

2012-07-05 Thread angelika
he template, but you can add the text you want still: > > > {% for field in form %} > Some stuff I want here that form.as_p won't do for me class="fieldWrapper"> > {{ field.errors }} > {{ field.label_tag }}: {{ field }} > {% endfor %} > > -- > J

Re: insert html into a form from Django code (not template)

2012-07-05 Thread angelika
Thanks, but I am asking if there is a way to insert html into a form from the backend code, and *not in the template*? On Thursday, July 5, 2012 11:57:57 AM UTC+2, angelika wrote: > > Is there a way to insert arbitrary html into a form from the Django code, > and not in the temp

insert html into a form from Django code (not template)

2012-07-05 Thread angelika
Is there a way to insert arbitrary html into a form from the Django code, and not in the template? The equivalent of #markup in a Drupal form. /Angelika -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the

Re: "python manage.py syncdb" creates no tables (tutorial)

2011-11-02 Thread angelika
cted. The tables are created. Sorry for taking up your time. Until next time, /Angelika On Nov 2, 1:12 pm, Flavia Missi wrote: > You do not need to run syncdb before creating your first app, syncdb search > for the apps in INSTALLED_APPS and sync their models with the database, so > you can

Re: "python manage.py syncdb" creates no tables (tutorial)

2011-11-02 Thread angelika
ting an app. Or have I misunderstood it? /Angelika On Nov 2, 12:46 pm, kenneth gonsalves wrote: > On Wed, 2011-11-02 at 04:37 -0700, angelika wrote: > > I'm new to both Python and Django. I'm doing the tutorial and I named > > the site mysite, to keep it simple. Does tha

Re: "python manage.py runserver" creates not tables (tutorial)

2011-11-02 Thread angelika
ge.py runserver'. No messages, no errors, nothing. /Angelika On Nov 2, 11:43 am, kenneth gonsalves wrote: > On Wed, 2011-11-02 at 02:47 -0700, angelika wrote: > > Christ, I totally messed up this post. I did not mean "python > > manage.py runserver" but "python ma

Re: No module named django after upgrade to os x Lion

2011-11-02 Thread angelika
problem is that the command python manage.py synchdb does not create any tables, but I've started a new thread for that :) http://groups.google.com/group/django-users/browse_thread/thread/eca94f905a6bea10 Thanks for all your help! /Angelika On Oct 28, 7:56 pm, Kurtis wrote: > Okay, I th

Re: "python manage.py runserver" creates not tables (tutorial)

2011-11-02 Thread angelika
Christ, I totally messed up this post. I did not mean "python manage.py runserver" but "python manage.py syncdb". That is the command that does not create any tables. Sorry. On Nov 2, 10:44 am, nisa balakrishnan wrote: > did  u do a syncdb ? > On 02-Nov-2011,

Re: "python manage.py runserver" creates not tables (tutorial)

2011-11-02 Thread angelika
Sorry, title is supposed to be "python manage.py runserver" creates no tables (tutorial) On Nov 2, 10:42 am, angelika wrote: > I've started the Django tutorial and I get as far as running python > manage.py runserver, but when I do, nothing happens. I get no messages > an

"python manage.py runserver" creates not tables (tutorial)

2011-11-02 Thread angelika
I would expect there to be at least an error message, right? Is there a command I can run make sure? Any other ideas? /Angelika -- 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: No module named django after upgrade to os x Lion

2011-10-28 Thread angelika
Alright, I'm gonna give PostgreSQL a try over the weekend, I'll let you know how it works out. Thanks, guys! /Angelika On Oct 28, 12:49 pm, Kurtis Mullins wrote: > I'd give PostgreSQL a shot and see if it magically works for you. It's an > awesome database. If you

Re: No module named django after upgrade to os x Lion

2011-10-28 Thread angelika
eaded "django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb" started showing up. God damn it. At this point I thinking maybe I should just switch to using PostgreSQL instead, if that would solve the problem. What do you guys think? /Angelika On Oct 27, 6:12 pm, Andre Terra wrote:

Re: No module named django after upgrade to os x Lion

2011-10-27 Thread angelika
Django? Can I run different versions of Python on the same machine, and just switch between the two? /Angelika On Oct 27, 11:28 am, Tom Evans wrote: > On Thu, Oct 27, 2011 at 7:17 AM, angelika wrote: > > Hello, > > > I'm new to both Python and Django. A few months ago, I

No module named django after upgrade to os x Lion

2011-10-26 Thread angelika
y off base. Any ideas how I can solve this, or find out what the problem is? /Angelika -- 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