Please Can Some one Help me To get my static files load my default CSS files

2016-08-07 Thread Timothy Steele
Please any time i try to load my Django admin panel the default CSS files does not load and even i have to refresh several time before i can the css file will load, and even if i log in still the interface become different, it does not load the CSS files. I believe this is coming form the stati

Re: Please Can Some one Help me To get my static files load my default CSS files

2016-08-08 Thread Timothy Steele
On Monday, August 8, 2016 at 1:16:57 AM UTC+1, Timothy Steele wrote: > > Please any time i try to load my Django admin panel the default CSS files > does not load and even i have to refresh several time before i can the css > file will load, and even if i log in still the inte

Re: Please Can Some one Help me To get my static files load my default CSS files

2016-08-08 Thread Timothy Steele
On Monday, August 8, 2016 at 1:16:57 AM UTC+1, Timothy Steele wrote: > > Please any time i try to load my Django admin panel the default CSS files > does not load and even i have to refresh several time before i can the css > file will load, and even if i log in still the inte

Please another problem

2016-08-08 Thread Timothy Steele
i have my sever running and every thing is work but at the bottom of the pannel it give this error pasted below Please help me to solve this my friends Performing system checks... System check identified no issues (0 silenced). August 08, 2016 - 08:39:33 Django version 1.10, using settings 'conf

Re: Please another problem

2016-08-08 Thread Timothy Steele
On Monday, August 8, 2016 at 10:07:30 AM UTC+1, Timothy Steele wrote: > > i have my sever running and every thing is work but at the bottom of the > pannel > it give this error pasted below Please help me to solve this my friends > Performing system checks... > > Syste

Re: Please Can Some one Help me To get my static files load my default CSS files

2016-08-08 Thread Timothy Steele
| > ---css > | > ---js > | > ---images > media > static-only > templates > > In your static/static folder you can keep the project template related > css/js/images. All your h

Adding custom Template downloaded

2016-08-08 Thread Timothy Steele
I want to get a step by step process on how to add a django template downloaded so that i can over ride the default template that django give to me by default Please any help Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscrib

Re: Adding custom Template downloaded

2016-08-08 Thread Timothy Steele
Please What I am Talking about is this i have download a template from www.github.com, but i can not configure it and i need a help please On Monday, August 8, 2016 at 2:55:23 PM UTC+1, Timothy Steele wrote: > > I want to get a step by step process on how to add a django te

Re: Adding custom Template downloaded

2016-08-08 Thread Timothy Steele
THANK YOU On Monday, August 8, 2016 at 2:55:23 PM UTC+1, Timothy Steele wrote: > > I want to get a step by step process on how to add a django template > downloaded > so that i can over ride the default template that django give to me by > default > Please any help >

How t o create more than one application

2016-08-12 Thread Timothy Steele
down votefavori I am studying the Django framework, reading the documentation, but have not found references on how to create more than one application on the same project, where each application has multiple app

Re: How t o create more than one application

2016-08-12 Thread Timothy Steele
On Saturday, August 13, 2016 at 1:37:10 AM UTC+1, Timothy Steele wrote: > > > > down votefavori > <http://stackoverflow.com/questions/11488838/multiple-applications-with-django#> > > I am studying the Django framework, reading the documentation, but have > not fou

Re: How t o create more than one application

2016-08-14 Thread Timothy Steele
Thanks On Sat, Aug 13, 2016 at 7:34 PM, Andrew Emory wrote: > Just enter the command: python manage.py startapp app_name from your > terminal window in the projects source directory. > > On Friday, August 12, 2016 at 7:37:10 PM UTC-5, Timothy Steele wrote: >> >> >&g

how to display models in templates

2016-09-13 Thread Timothy Steele
please i try my best but i can display my models in a templates i have just created. *Please have a look at the codes in the models.py file* from django.db import models from django.contrib.auth.models import User # Create your models here. class Link(models.Model): url=models.URLField(uniq

Re: how to display models in templates

2016-09-13 Thread Timothy Steele
tember 13, 2016 at 8:45:33 AM UTC+1, ludovic coues wrote: > > Can you try this in your template ? > > {{ bookmarks|pprint }} > {% for bookmark in bookmaks %} >{{ bookmark|pprint }} > {% endfor %} > > Also, in your for loop, you use bookmarks.title, notice the s. >

Re: how to display models in templates

2016-09-13 Thread Timothy Steele
thanks i have seen it, but i need to only display *Packt Publishing* but it give this ** in addition On Tuesday, September 13, 2016 at 8:33:53 AM UTC+1, Timothy Steele wrote: > > please i try my best but i can display my models in a templates i have > just created. > > *Please

Re: how to display models in templates

2016-09-13 Thread Timothy Steele
thank you very mach it has work. i am most grateful, any way this did not let me sleep the hole night On Tuesday, September 13, 2016 at 8:33:53 AM UTC+1, Timothy Steele wrote: > > please i try my best but i can display my models in a templates i have > just created. > > *Please

creating a loginpage

2016-09-14 Thread Timothy Steele
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/$', 'django.contrib.auth.views.login'), ] but it return this informati

Re: creating a loginpage

2016-09-14 Thread Timothy Steele
Tim Graham, I did it but i get back this error *login() missing 1 required positional argument: 'user' * On Wednesday, September 14, 2016 at 4:44:14 PM UTC+1, Timothy Steele wrote: > > Instead of providing the view itself, i want to pass its module path as a > string in t

Re: creating a loginpage

2016-09-14 Thread Timothy Steele
Thanks Tim it has work this time but can any one help me with a beginner book to learn Django please On Wednesday, September 14, 2016 at 4:44:14 PM UTC+1, Timothy Steele wrote: > > Instead of providing the view itself, i want to pass its module path as a > string in the urls.py fil

Registration form submission problem

2016-09-17 Thread Timothy Steele
first i created a Login form and an error message show as *CSRF token missing or incorrect.* I was able to work it out by adding* {% csrf_token %}* int the login form and adding the import file in the views as from *django.template import Context,RequestContext.* But when i created a registrat

Re: Registration form submission problem

2016-09-17 Thread Timothy Steele
form }) return render_to_response( 'registration/register.html', variables ) On Saturday, September 17, 2016 at 9:02:52 AM UTC+1, Timothy Steele wrote: > > first i created a Login form and an error message show as *CSRF token > missing or incorrect.* > I was