Re: How & Where are Django View Functions Called?

2019-01-10 Thread abel otugeme
Ones your view matches your use patterns it gets called and run anytime you
try access the site

-- 
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 this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMrS0S8J6VwHTqfDiWNN250JAU%2BCwqhJsNUdCdP5ni%3Dyj%3DYkEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


How does the django sites work

2019-01-18 Thread abel otugeme
I am still learning django but I'd like to know how sites created are hosted 

-- 
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 this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f11c1c73-bfdb-46dd-b493-5125e6ecef91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: I need help guys please

2019-01-22 Thread abel otugeme
Zucchixz, z, nix, zx
On Jan 22, 2019 4:47 PM,  wrote:

> I can update object without sluglyfiy buy with slugyfiy I can't
>
> --
> 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 this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/71fe86c2-1080-499e-a4d4-72c16f2c6832%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMrS0S8V80ThBvJpogiE6h_RfAAhdC6dkgX3%2BoSy%3D4LZbDFx7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: static css and default admin css not working in my pc

2019-02-02 Thread abel otugeme
I have noticed that when you try to load static files for a separate
template from a base template it doesn't work. Is it a 32bit system?
On Feb 2, 2019 7:29 PM,  wrote:

> follow this tutorial https://youtu.be/YH-ipgxlJzs
>
> --
> 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 this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/2f80b81f-f852-4375-8c49-c8cd1cec7264%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMrS0S9tFYpJnBPyH2VqkOaMf-bYr%3DauCf5XVWjrtKoxecqXFA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: ModuleNotFoundError: No module named 'sample,'

2019-03-08 Thread abel otugeme
You must have written code that doesn't work.  Check if you imported any
function e.g models that you didn't use.
On Mar 7, 2019 10:44 AM,  wrote:

> Hi Team
>
> My project name is Sample
> While I am trying to connect database with models.py
> I am finding these type of errors
> ModuleNotFoundError: No module named 'sample,'
> Can anybody help me.
>
> --
> 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 this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/94eba992-1553-40a5-8a58-4f9ad85bbd5c%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMrS0S9QNYG-86u-hFwpzLBp_mXZx0pbguj9DTHVOJL-jnAnrQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to create a Django project without using an IDE, but using the django-admin startproject command

2019-03-09 Thread abel otugeme
Make sure your virtual environments are set up well.  Also make sure your
running that command from the folder where your manage.py file is...
On Mar 9, 2019 7:12 PM, "Ando Rakotomanana" 
wrote:
>
> Hello, I'm still starting with django. And I have a problem with the
creation of the project, I write: "django-admin startproject DjangoTest" in
the cmd of my windows and it tells me that django-admin is not an internal
command. While I typed the same code this morning in the cmd and it worked.
And I do not understand why?
> I have python 2.7.0 and 3.7.2 and django 1.6.2 installed on my windows 8.1
>
> --
> 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 this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/8bc18725-3935-4740-9b08-4964b686ddf1%40googlegroups.com
.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMrS0S8j4kMGc3sNYKX2G7E6tuzB%3DVS5dPWYTzJR__ZxZnMx2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


STATIC FILES not working for admin site, projects and apps on DJANGO

2018-12-29 Thread abel otugeme
I really need help i have combed through stackover flow and this group but 
the solutions provided don't work for me.  i use a 32bit windows 7 OS and 
the latest version of django

-- 
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 this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b9e5b171-5c2d-4233-9766-86343c34777e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: STATIC FILES not working for admin site, projects and apps on DJANGO

2018-12-29 Thread abel otugeme
This is how a site looks when i open it up in my browser No CSS! i have
done the necessary settings for Django to find the static files

On Sat, Dec 29, 2018 at 5:14 PM Kasper Laudrup 
wrote:

> Hi Abel,
>
> On 29/12/2018 08.07, abel otugeme wrote:
> > I really need help i have combed through stackover flow and this group
> > but the solutions provided don't work for me.  i use a 32bit windows 7
> > OS and the latest version of django
> >
>
> It would probably be easier for someone to help you if you tried to
> describe what your actual problem is.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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 this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/c8273be3-bc53-2103-f503-ae7668f01622%40stacktrace.dk
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMrS0S91GG0A%3D3Z263Q9nxLccStat-URs3NsW_pfqES_J5uU2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: STATIC FILES not working for admin site, projects and apps on DJANGO

2018-12-30 Thread abel otugeme
I have done all that i used the docs first and it did not work. Then i
tired this video https://www.youtube.com/watch?v=YH-ipgxlJzs

On Sun, Dec 30, 2018 at 5:09 PM Lunga Baliwe  wrote:

> Please have a look at this link
> https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/modwsgi/ on
> how to setup static files.
> You may also want to run python manage.py collectstatic
>
> On Sun, Dec 30, 2018 at 4:31 AM abel otugeme  wrote:
>
>> This is how a site looks when i open it up in my browser No CSS! i
>> have done the necessary settings for Django to find the static files
>>
>> On Sat, Dec 29, 2018 at 5:14 PM Kasper Laudrup 
>> wrote:
>>
>>> Hi Abel,
>>>
>>> On 29/12/2018 08.07, abel otugeme wrote:
>>> > I really need help i have combed through stackover flow and this group
>>> > but the solutions provided don't work for me.  i use a 32bit windows 7
>>> > OS and the latest version of django
>>> >
>>>
>>> It would probably be easier for someone to help you if you tried to
>>> describe what your actual problem is.
>>>
>>> Kind regards,
>>>
>>> Kasper Laudrup
>>>
>>> --
>>> 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 this group, send email to django-users@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/c8273be3-bc53-2103-f503-ae7668f01622%40stacktrace.dk
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> 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 this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAMrS0S91GG0A%3D3Z263Q9nxLccStat-URs3NsW_pfqES_J5uU2Q%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAMrS0S91GG0A%3D3Z263Q9nxLccStat-URs3NsW_pfqES_J5uU2Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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 this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CANDnEWfqpqyk-nesQcAKT-4i9tzAw8aJne2VjXFkgxqFWKJXiA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANDnEWfqpqyk-nesQcAKT-4i9tzAw8aJne2VjXFkgxqFWKJXiA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMrS0S_3dqSeH6osEsganiWJHk%3Dd%2B0Di0j2V9iqhDr0uD4qvag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: STATIC FILES not working for admin site, projects and apps on DJANGO

2018-12-31 Thread abel otugeme
How do you explain the admin site too? A missing tag in just one part of 
the html file shouldn't break the entire site. I'll send you the files so 
you can review them

On Monday, December 31, 2018 at 4:24:14 AM UTC+1, Joel Mathew wrote:
>
> Your site has more wrong with it than just static css. Your html is 
> appearing as html. You need to unescape them in template or check your tags
>
> On Mon, 31 Dec, 2018, 1:10 AM abel otugeme   wrote:
>
>> I have done all that i used the docs first and it did not work. Then i 
>> tired this video https://www.youtube.com/watch?v=YH-ipgxlJzs
>>
>> On Sun, Dec 30, 2018 at 5:09 PM Lunga Baliwe > > wrote:
>>
>>> Please have a look at this link 
>>> https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/modwsgi/ on 
>>> how to setup static files.
>>> You may also want to run python manage.py collectstatic 
>>>
>>> On Sun, Dec 30, 2018 at 4:31 AM abel otugeme >> > wrote:
>>>
>>>> This is how a site looks when i open it up in my browser No CSS! i 
>>>> have done the necessary settings for Django to find the static files
>>>>
>>>> On Sat, Dec 29, 2018 at 5:14 PM Kasper Laudrup >>> > wrote:
>>>>
>>>>> Hi Abel,
>>>>>
>>>>> On 29/12/2018 08.07, abel otugeme wrote:
>>>>> > I really need help i have combed through stackover flow and this 
>>>>> group 
>>>>> > but the solutions provided don't work for me.  i use a 32bit windows 
>>>>> 7 
>>>>> > OS and the latest version of django
>>>>> > 
>>>>>
>>>>> It would probably be easier for someone to help you if you tried to 
>>>>> describe what your actual problem is.
>>>>>
>>>>> Kind regards,
>>>>>
>>>>> Kasper Laudrup
>>>>>
>>>>> -- 
>>>>> 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...@googlegroups.com .
>>>>> To post to this group, send email to django...@googlegroups.com 
>>>>> .
>>>>> Visit this group at https://groups.google.com/group/django-users.
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/django-users/c8273be3-bc53-2103-f503-ae7668f01622%40stacktrace.dk
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>> -- 
>>>> 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...@googlegroups.com .
>>>> To post to this group, send email to django...@googlegroups.com 
>>>> .
>>>> Visit this group at https://groups.google.com/group/django-users.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/django-users/CAMrS0S91GG0A%3D3Z263Q9nxLccStat-URs3NsW_pfqES_J5uU2Q%40mail.gmail.com
>>>>  
>>>> <https://groups.google.com/d/msgid/django-users/CAMrS0S91GG0A%3D3Z263Q9nxLccStat-URs3NsW_pfqES_J5uU2Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> -- 
>>> 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...@googlegroups.com .
>>> To post to this group, send email to django...@googlegroups.com 
>>> .
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/CANDnEWfqpqyk-nesQcAKT-4i9tzAw8aJne2VjXFkgxqFWKJXiA%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/django-users/CANDnEWfqpqyk-nesQcAKT-4i9tzAw8aJne2VjXFkgxqFWKJXiA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> -- 
>> You received this message because you are subscribed to the Google Gr

Re: Help with djangoproject

2019-01-02 Thread abel otugeme
There must be an error that why the server isn't running. Send a screenshot
of  cmd and the site
On Jan 2, 2019 3:12 PM, "Harryxon Ndegwa" 
wrote:
>
> hi joseph,
> send a screenshot of the error and the code u have written so far to get
the error
>
> #%£&
>
> On Wed, 2 Jan 2019 5:10 pm Joseph Gichuki >
>>  Hi am new to Django and I can't get past the Django localhost :8000 to
advance my project to the next step . I keep getting an error:   localhost
refused to connect. what should I do ?
>>
>> --
>> 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 this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/621ac5d3-ad97-45b9-a6f6-0da4ffc58370%40googlegroups.com
.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CAPqDb9PxLxk%3DrzB%2Bm46x9zFOH%3DCmYhF3kGN90xxaKNcxs6HC%3Dg%40mail.gmail.com
.
>
> For more options, visit https://groups.google.com/d/optout.

-- 
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 this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMrS0S-kwb376N2TrGB7pc0LFWfyjEAkQ%2Bevy5382x9jZ_HLkg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.