Re: base_url() in django

2012-06-26 Thread Raitucarp
> Is this an actual issue? You realize that there's no difference between > /doc/ and http://example.com/doc/ if the current server is > http://example.com/? > > See here: > https://docs.djangoproject.com/en/1.4/ref/templates/builtins/#url > No no, that's not my issue. {% url %} template

Re: base_url() in django

2012-06-25 Thread Raitucarp
@Melvyn That's not simple way. I have to write every views to pass it on to template? It's not elegant by the way. uhm Should I create custom template tags to do it in beautiful way? Because base_url() in codeigniter is a helper. And I don't need write it on to controllers(views in django),

base_url() in django

2012-06-24 Thread Raitucarp
Actually, I was PHP developer, I use codeigniter as framework. In codeigniter, we can call helper url functions base_url() and it will return absolute domain url such: http://example.com or https://example.com It is automatically, we even don't need to create custom function, because

AnonymousUser as Foreignkey?

2012-06-12 Thread Raitucarp
How to use anonymoususer as foreignkey? I need anonymoususer, anonymous user is my main features of my app. Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit

Re: Migration error

2012-06-10 Thread Raitucarp
Remember that I using sqlite3. -- 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/-/_AylyCZQ0yEJ. To post to this group, send email to

Re: Migration error

2012-06-10 Thread Raitucarp
@henzk I still get the error, when access admin: DatabaseError at /admin/ngobrol/ngobrol/ no such column: ngobrol_ngobrol.aa -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit

Migration error

2012-06-10 Thread Raitucarp
'ENGINE': 'django.db.backends.sqlite3' I have a model such this: class Ngobrol(models.Model): title = models.CharField(max_length=200, blank = True) message = models.TextField('Message') linkp = models.URLField(max_length=255, blank = True) meta_data =

Re: What the difference of django 1.4 runserver with mod_wsgi?

2012-06-09 Thread Raitucarp
Thanks guys. It is clear now -- 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

What the difference of django 1.4 runserver with mod_wsgi?

2012-06-09 Thread Raitucarp
So, I was confused with manage.py runserver. Is it the same as mod_wsgi? Can I use daemon for wsgi with runserver, or I should install mod_wsgi? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to