Re: creating a loginpage

2016-09-14 Thread Andrea D'Amore
On 14 September 2016 at 17:44, Timothy Steele wrote: > Instead of providing the view itself, i want to pass its module path as a > string in the urls.py file as the code below > > urlpatterns = ['', > url(r'^$', main_page), > url(r'^user/(\w+)/$', user_page), > url(r'^login/$', 'd

Re: ModelAdmin missing a couple of key features, or am I doing this wrong?

2016-09-16 Thread Andrea D'Amore
On 16 September 2016 at 00:53, wrote: > I have a ModelAdmin subclass (code at: ) Gives a 404: The requested URL /0LAt was not found on this server. I'm missing the rationale of using an external paste service while you're already using a text-based medium, the mail

Re: model form does not work

2016-10-11 Thread Andrea D'Amore
It's hard to say if that's actual code copied and pasted, but maybe it's this part: > class Regform(forms.ModelForm): > class meta: > ModelForm has no model class specified. this error Personal suggestions: paste a minimal working example, when you do su use text only format messages to keep