Re: django admin errors

2006-07-18 Thread Johann
I'm having a similar issue. Here's a summary of my model. class Encyclopedie(models.Model): titre = models.CharField(maxlength=100, unique=True) index = models.ForeignKey("Page", related_name="index_set", blank=True, null=True) class Page(models.Model): encyclopedie = mod

Can I make changes in Django without having to recompile everything?

2013-08-21 Thread Johann
Please tell me if this is true. I'm deciding on Django, asp.net, or Java. If I use asp.net or java and I want to make a change to the controller, I have to recompile the class or project, right? If I use Django, if I change the controller or model logic, do I have to compile everything? If I

Tutorial - include question

2009-04-11 Thread Johann Spies
.resolve(path) File "/var/lib/python-support/python2.6/django/core/urlresolvers.py", line 179, in resolve for pattern in self.urlconf_module.urlpatterns: AttributeError: 'module' object has no attribute 'urlpatterns' Regards. Johann --~--~-~--~~

Re: Tutorial - include question

2009-04-11 Thread Johann Spies
'^polls/', include('mysite.polls.urls')), > ) Thanks! Regards Johann --~--~-~--~~~---~--~~ 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

Why does this test fail?

2017-12-04 Thread Johann Spies
--- Ran 1 test in 0.006s Using the url http://localhost:8000/wos_2017_2/ in a browser works as expected. Johann -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiv

Re: Why does this test fail?

2017-12-04 Thread Johann Spies
My question was answered on Stackoverflow: The correct line in the function should be response = client.get('/wos_2017_2/') *because of my project urls.py that I did not provide initially:* urlpatterns = [ url(r'^wos_2017_2/', include('wos_2017_2.urls')), url(r'^admin/', admin.site.urls), ]