Re: Reply: Re: Hosting django with Namecheap

2022-11-08 Thread Namanya Daniel
Thanks Jeff, 

i re-uploaded the website and it worked but now i have an issue with static 
files.

i've static_url= *"/static/"*
static_root ="*/home/username/url/static*"
i ran* collectstatic *

in my *templates*,

i * loaded static*

and set *src = folder/image.jpg*

and these images are there in that folder... what could be the issue

On Tuesday, November 8, 2022 at 11:34:18 AM UTC-8 jeffkin...@gmail.com 
wrote:

> Do you have root access oba you are just using cpanel. I do think you will 
> be able to succeed with cpanel, you need VSP.
>
> On Tue, Nov 8, 2022 at 3:58 PM bradie poa  wrote:
>
>> its not a good idea
>>
>> i have settings.py in the same folder with wsgi.py
>>
>>
>> On Tuesday, November 8, 2022 at 4:07:09 AM UTC-8 Kasper Laudrup wrote:
>>
>>> On 08/11/2022 10.41, Namanya Daniel wrote: 
>>> > Hello, am hosting a django application with namecheap for the very 
>>> first 
>>> > time and am getting " Internal Server ErrorError 500" , in the error 
>>> > log, wsgi.py shows that there's not settings 
>>> > 
>>> > how do i handle this 
>>> > 
>>>
>>> You add the settings. 
>>>
>>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/9f4bfc65-8319-4c19-85b2-7ac7ff1d7ff9n%40googlegroups.com
>>  
>> 
>> .
>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/03931t9smoccio3p86jn4id8.1667912304054%40email.vivo.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e867ff52-2a67-4d4e-8147-a4d2a15f1952n%40googlegroups.com.


Re: Template inheritance not working

2022-11-08 Thread Alec Delaney
Thank you!

On Mon, Oct 31, 2022 at 2:34 PM Ammar Mohammed 
wrote:

> Hello dear
> There is a little mistake in your code :
> You should put the {%block block_name %} in your base template with no
> code and the put the code you want to be displayed in your child template
> file
> Here is an example :
>
> // file.html :
>
> {% extends "index.html" %}
>
> {% block content %}
> Hello, this is a test.
> Help me.
> {% endblock %}
>
> //index.html:
> 
> 
> 
> 
> 
> Document
> 
> 
> {% block content %}
>
> {% endblock %}
> 
> 
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAFGN%3DGjpkAW6NBXLZ%3DYL7eXy3FXmJ6DqWfNMh%2BikMrp7om361Q%40mail.gmail.com
> 
> .
>
>
> On Mon, 31 Oct 2022, 8:09 PM Alec Delaney, <96alecpatr...@gmail.com>
> wrote:
>
>> I have been trying to get my templates to work but they have been
>> ineffective. here is my code:
>> {% extends "index.html" %}
>>
>> 
>> 
>> 
>> 
>> > >
>> Document
>> 
>> 
>> 
>> {% block content %}
>>
>>
>> {% endblock %}
>> 
>> 
>> 
>>
>> //index.html:
>>
>> 
>> 
>> 
>> 
>> > >
>> Document
>> 
>> 
>> {% block content %}
>> Hello, this is a test.
>> Help me.
>> {% endblock %}
>> 
>> 
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAFGN%3DGjpkAW6NBXLZ%3DYL7eXy3FXmJ6DqWfNMh%2BikMrp7om361Q%40mail.gmail.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHs1H7sS6tndz4j8wiK_Dfpwqnb7sUcrc814Zp3eTndDJ%2B5Ewg%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFGN%3DGjzRUmsi3Ugh_Xmcrnu%2BBkAVWKcuHpt3-C4Qvn6u1QRrA%40mail.gmail.com.


Re: Multi-tenant SSO that supports OpenID and MS Azure AD

2022-11-08 Thread Shaheed Haque
Hi,

On Tue, 8 Nov 2022 at 17:54, Filbert  wrote:

> Thanks. By multiple IDPs, do you men multiple IDPs for multiple tenants?
> Since we are multi-tenant, some tenants will not have IDP providers, others
> may use social auths, and most will use their own IDP like
> LDAP/AD/Azure/etc.
>

I'll explain what I needed/have implemented, and you can decide if that
maps to your problem domain. We have a cloud application accessed by
multiple Clients. Each Client has multiple administrators and multiple
non-admin users. Client A's data/users must be fully separated from Client
B's data/users (except that there are globally unique login identifiers).
All this is built on standard Django password-based authentication, with a
custom multi-tenancy implementation.

   - In addition, individual non-admin users can use django-social-auth to
   login via one of several Social Networks.
   - In addition, a Client's admins can configure multiple SAML IdPs for
   SSO. This works out of the box using django-social-auth's SAML backend.
   - In addition, a Client's admins can configure multiple OIDC Identity
   Providers for SSO. Since the django-social-auth OIDC backend only supports
   one Identity Provider, I wrapped it with a layer more-or-less inspired by
   the SAML backend to allow for multiple Identity Providers.

I model both the SAML IdPs and OIDC Identity Providers using a single
Django model. In principle, this layer is extensible to accomodate any
behaviour differences between different implementations. That said, to this
point, everything works with completely standard protocol handling.

Now, I'm really just a noob as far as all this is concerned, however, I
added the following features which seemed essential to me:

   - Social Network authentication can be disabled by a Client's admins
   using a hook into django-social-auth's pipeline.
   - Both the SAML and OIDC SSO implementations are "sandboxed" to the
   given Client.The idea being that a breach of Client A's authentication
   setup must not be allowed to compromise Client B.

I'm sure there are clever folk out there who could prove that these extras
were not needed, but hey ho.

Hth, Shaheed


> On Monday, November 7, 2022 at 2:49:18 PM UTC-5 shahee...@gmail.com wrote:
>
>> Tim,
>>
>>
>> On Mon, 7 Nov 2022, 19:28 Tim Nelson,  wrote:
>>
>>> I am looking for a Django SSO package that supports OpenId and Azure AD
>>> with multi-tenant support. My sense is I am going to have to roll my own by
>>> forking the best of breed SSO's and adding multi-tenant support to them.
>>>
>>> Is my assessment correct?
>>>
>>
>> If I understand your question correctly, yes.
>>
>> For context, I needed to add generic support for both SAML and OIDC based
>> SSO. The SAML support in django-social-auth supports multiple IDPs
>> directly, but the OIDC support does not. I had to brew up a wrapper which
>> gave me the effect of multiple Identity Providers.
>>
>> Thanks.
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAK09zooyoOOKO7Dyp5LAbqWDphLwfQLBKX2rRWhXZHPqNNjEtQ%40mail.gmail.com
>>> 
>>> .
>>>
>> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/afd7fa61-d2a1-4a18-8e95-8a976cd5a5ban%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHAc2jd6PepmON2D3xLSGetTMtGxnt8xBbvaBtb70Q2PdRGpKQ%40mail.gmail.com.


Re: Hosting Django App

2022-11-08 Thread Sebastian Jung
Hello Mh,

it is relative easy. You need a root access to a linux server in internet.

Here is a very good tutorial how to setup:

https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-22-04

If you have problems then write you on which step you have problem.

When you needs a cheap and powerful system here are servers
https://www.netcup.de/bestellen/produkt.php?produkt=2892. It begins for 10$
per month with 4 cores and 8 GB Ram but this is only machines for
productive setup. When you want to test or for smaller projects i think
heroku are for beginning better.

Regards

Am Di., 8. Nov. 2022 um 16:58 Uhr schrieb Mh Raffi :

> Hi,
> I Am trying to host my app with postgres and railway.
> But I am not able to understand the concept. Due to it i deleted
> db sqlite.
> Is there any other option or anybody can help me to host a project.
>
> Thanks & Regards
> Mohammed Raffi.J
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKfPRhUYdc%3DiXKC7vvvrZqifh6n8NOXpRQMzaXs64Gh-a95d9g%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKGT9mx8yj7DYu9t2n3BdBV--hh71SBjW-SPTiDk%2BQ121bJ0kw%40mail.gmail.com.


Re: Reply: Re: Hosting django with Namecheap

2022-11-08 Thread Jeff Kingsley
Do you have root access oba you are just using cpanel. I do think you will
be able to succeed with cpanel, you need VSP.

On Tue, Nov 8, 2022 at 3:58 PM bradie poa  wrote:

> its not a good idea
>
> i have settings.py in the same folder with wsgi.py
>
>
> On Tuesday, November 8, 2022 at 4:07:09 AM UTC-8 Kasper Laudrup wrote:
>
>> On 08/11/2022 10.41, Namanya Daniel wrote:
>> > Hello, am hosting a django application with namecheap for the very
>> first
>> > time and am getting " Internal Server ErrorError 500" , in the error
>> > log, wsgi.py shows that there's not settings
>> >
>> > how do i handle this
>> >
>>
>> You add the settings.
>>
>> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/9f4bfc65-8319-4c19-85b2-7ac7ff1d7ff9n%40googlegroups.com
> 
> .
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/03931t9smoccio3p86jn4id8.1667912304054%40email.vivo.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA9WjmELf6ncrCbDOZYmnZCscLq6dwzypCba_y6MKnQa5vLv5g%40mail.gmail.com.


Re: Hosting django with Namecheap

2022-11-08 Thread Jeff Kingsley
Which web server do you use?

On Tue, Nov 8, 2022 at 3:55 PM Namanya Daniel 
wrote:

> i have settings.py in the same folder with wsgi.py
>
>
> On Tuesday, November 8, 2022 at 4:07:09 AM UTC-8 Kasper Laudrup wrote:
>
>> On 08/11/2022 10.41, Namanya Daniel wrote:
>> > Hello, am hosting a django application with namecheap for the very
>> first
>> > time and am getting " Internal Server ErrorError 500" , in the error
>> > log, wsgi.py shows that there's not settings
>> >
>> > how do i handle this
>> >
>>
>> You add the settings.
>>
>> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/9f4bfc65-8319-4c19-85b2-7ac7ff1d7ff9n%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA9WjmHY1n7qtp2GUC39RBygdDuEEi0HjTZGbv-iToRpJ9z1tA%40mail.gmail.com.


Re: Multi-tenant SSO that supports OpenID and MS Azure AD

2022-11-08 Thread Filbert
Thanks. By multiple IDPs, do you men multiple IDPs for multiple tenants?  
Since we are multi-tenant, some tenants will not have IDP providers, others 
may use social auths, and most will use their own IDP like 
LDAP/AD/Azure/etc. 

On Monday, November 7, 2022 at 2:49:18 PM UTC-5 shahee...@gmail.com wrote:

> Tim, 
>
>
> On Mon, 7 Nov 2022, 19:28 Tim Nelson,  wrote:
>
>> I am looking for a Django SSO package that supports OpenId and Azure AD 
>> with multi-tenant support. My sense is I am going to have to roll my own by 
>> forking the best of breed SSO's and adding multi-tenant support to them.
>>
>> Is my assessment correct?
>>
>
> If I understand your question correctly, yes.
>
> For context, I needed to add generic support for both SAML and OIDC based 
> SSO. The SAML support in django-social-auth supports multiple IDPs 
> directly, but the OIDC support does not. I had to brew up a wrapper which 
> gave me the effect of multiple Identity Providers. 
>
> Thanks.
>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAK09zooyoOOKO7Dyp5LAbqWDphLwfQLBKX2rRWhXZHPqNNjEtQ%40mail.gmail.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/afd7fa61-d2a1-4a18-8e95-8a976cd5a5ban%40googlegroups.com.


Re: Hosting Django App

2022-11-08 Thread Abdulrahman Abbas
Try hosting on heroku

On Tue, Nov 8, 2022, 16:58 Mh Raffi  wrote:

> Hi,
> I Am trying to host my app with postgres and railway.
> But I am not able to understand the concept. Due to it i deleted
> db sqlite.
> Is there any other option or anybody can help me to host a project.
>
> Thanks & Regards
> Mohammed Raffi.J
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKfPRhUYdc%3DiXKC7vvvrZqifh6n8NOXpRQMzaXs64Gh-a95d9g%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGGqo0NmVc7nh4tve1P%2BFgo1D4TN6XKhbN8vE0N18SG-3B8EQw%40mail.gmail.com.


Re: Static files is not loading while deploying the project to AWS ec2

2022-11-08 Thread Nishant Sagar
Thank you everyone for the help, it solved the issue

On Sun, 6 Nov 2022 at 8:43 AM, Malcolm MacKinnon 
wrote:

> Using elastic beanstalk, I run the command manage.py collectstatic in a
> .config file during deployment. The config file is located in the  
> .ebextensions
> folder.
>
> In settings.py
> STATIC_URL = '/static/' STATIC_ROOT = 'static'
>
>
> https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-django.html
>
>
>
>
> On Sat, Nov 5, 2022 at 7:15 PM David Nugent  wrote:
>
>> An article I wrote on this topic last year for fellow developers at work
>> who were similarly confused.
>>
>> HTH!
>>
>> *Django - Statically Confusing*
>>
>> I started learning Django several years ago (and am still doing so
>> today!), and for some time had a real sense of confusion as to how static
>> files worked.  Sure, I learned the easy aspects of this pretty quickly,
>> that the collectstatic management command¹ would magically pull all of
>> the static files out of my project and dump them into some other place,
>> where - in the theoretical production model - they would be served by
>> something other than Django. Indeed, I understood this and routinely served
>> static and media content via Nginx or apache directly.
>>
>>
>> What was often a source of confusion was the magic that made it all
>> happen in Django's settings module. Early in my days with Django, I
>> wondered why files weren't being served as I thought they should - do I
>> need to collectstatic in development or not? The confusion increased
>> when third-party apps produced or processed static content, and there were
>> times when you absolutely did have to run collectstatic to make these
>> files available to the runserver during development. Most other static
>> files did not seem to require this.
>>
>> *Settings*
>>
>> The handling of static content is controlled by a handful of settings,
>> and it is important to be clear about what each setting does. Any confusion
>> simply boils down to not completely understanding these settings and their
>> effect.
>>
>>
>> The following table details each one and is followed by a brief summary
>> of how they interact and under which circumstances they are important.
>>
>>
>> *STATICFILES_FINDERS*
>>
>>
>>- This is a list of fully qualified classes implementing the Finder
>>pattern (see below).
>>
>> *STATICFILES_DIRS*
>>
>>
>>- This is a list of paths searched for static files (only) by the
>>FilesystemFinder.
>>
>> *STATIC_URL*
>>
>>
>>- This is the url prefix that causes - if enabled - routing of
>>requests to the static files handler, and it only becomes active if
>>configured in your urls.py.
>>That's all it does. Really.
>>Please don't* confuse this with anything else*.
>>
>> *STATIC_ROOT*
>>
>>
>>- This setting determines the target of the collectstatic command.
>>It is (usually) not useful during development, only at deployment.
>>
>>
>> *Static Files Finders*
>>
>> Static file *Finders* are the core of Django's static file handling. By
>> default, the STATICFILES_FINDERS list consists of the FilesystemFinder
>> and AppDirectoriesFinder.  The first handles static content from paths
>> defined in the STATICFILES_DIRS list (which is empty by default), and
>> the second serves static content from installed apps that contain a
>> static directory.
>>
>>
>> During development, these Finders handle (or should, some third-party
>> ones do not!) serving static content via Django. In production, they are
>> only used to gather the static content and place it into the STATIC_ROOT
>> where it may be served by your front end of choice (Nginx, Apache etc.).
>>
>>
>> The Finder pattern supports two primary methods.
>>
>>
>> • The find() method returns one or more matches against a provided path.
>> This is what the static files handler uses to match url paths requested
>> after stripping the STATIC_URL prefix. If a Finder returns an empty list,
>> no match was found. In this scenario, the all parameter is False, and
>> the function - if successful - returns a single absolute path.
>>
>> • The list() method returns a list of all static files it knows about,
>> along with the storage associated with each file. The FilesystemFinder
>> associates one storage for each path in STATICFILES_DIRS and the
>> AppDirectoriesFinder allocates one storage for each app with a static
>> folder.
>>
>> • Access to the files returned is done via the storage object which
>> contains all of the methods required to access static files within its
>> domain.
>>
>>
>> ¹ a management command in Django is issued after invoking the ./manage.py
>> script from the application root directory.
>>
>> On Sun, Nov 6, 2022 at 11:03 AM led zee  wrote:
>>
>>> As a recent Django new user I was having a lot of trouble with static
>>> files as well. Basically couldn't get Admin CSS to work.
>>>
>>> We are using whitenoise now. Apparently that is helping solve the
>>> problem.
>>>
>>> On 

Re: Looking for available support to start a School Management Application

2022-11-08 Thread Malick Diagne
Good morning
Yes i'am agree to collaborate
What is the job ?
Thanks you sir

Le lun. 7 nov. 2022 à 8:44 AM, Adekola Aderonmu  a
écrit :

> I am also interested  in collaborating with you.
>
> On Mon, 7 Nov 2022, 06:37 DJANGO DEVELOPER, 
> wrote:
>
>> Are you looking for a paid support?
>>
>> On Mon, 7 Nov 2022, 9:41 am ritik sahoo,  wrote:
>>
>>> I have
>>>
>>> On Mon, 7 Nov, 2022, 5:34 am Makrand,  wrote:
>>>
 I have developed School management system. I am interested to complete
 support.

 On Mon, Nov 7, 2022, 4:27 AM Ahmed omar miladi <
 ahmedomarmil...@gmail.com> wrote:

> hello frncseric i'm ahmed omar miladi i'm full stack developer and
> django specialist i build a platform with name is allcarta check
> https://www.allcarta.com and i can help you to build a
> school management system
>
> On Sun, 6 Nov 2022 at 23:05, nef  wrote:
>
>> Hi everyone,
>> I am beginer in Django, not much experience.
>> I have been task to develop an application for school management
>> (Admission, Registration,  Attendance, Report marks, and more functions).
>> I am wondering if there is an existing open smilare app or something
>> which can be use as baseline to start or guide me with best practices.
>> Thank you
>> Eric
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/176ec5a0-2e00-4f53-b5c3-1bfc72f3aa94n%40googlegroups.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAE3Dc2PkKJUF19fSykG%2BAmYByW6MY49UW%3DHSiKEL%2BPnZ6CHrvA%40mail.gmail.com
> 
> .
>
 --
 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 view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAA_ekM%2BRQKYixBpZnZzYaN9cE9ete_PpPX%2BVJEj3e%2B%2BK2jktbQ%40mail.gmail.com
 
 .

>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAJwehCvV8YkQXf5y5AM_OGTH0vmv_f_kuHyTq7K0p_HyKG3-Sg%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAKPY9pnVbYxmp%3DOq%2BbNtRXKJhy78jnzozkFn5VMnn%3DKcUTZ6Gw%40mail.gmail.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CA%2BGpPKxqT5eyE8ygC1dBLdOPRf-JhoN7uPoqqcoybgccgvrfTw%40mail.gmail.com
> 
> .
>

-- 
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 

Re: Open source CBT Application

2022-11-08 Thread muhammed yayi
How can I join in. I will love to contribute

On Tue, Nov 8, 2022, 6:25 AM Sherif Adigun  wrote:

> Looking for an active Django Project to contribute and collaborate on?
>
> Join me on Django CBT.
>
> https://github.com/adigunsherif/cbt
>
> Let build a reliable open source Computer Based Test Software on 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/42be400b-db64-4169-b94d-3c56bc59244bn%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALHWaHDayv65UBZF-aQ3L9EzOGyO%3Dw52ZDLim688C7oj4yepxQ%40mail.gmail.com.


Re: Hi need a solution

2022-11-08 Thread Mh Raffi
Hi Thanks for the reply.
Found the solution yesterday, as the issue was caused due to
# STATICFILES_STORAGE =
"whitenoise.storage.CompressedManifestStaticFilesStorage"

*Only thing causing a problem now is the collectstatic is collecting the
static files and its in DIR c:\\user.*
*All my images and png files are not working after switching to postgres
database.*
*Any solution will be appreciated.*
Thanks & Regards
Mohammed Raffi.J
+91 8939326407



On Mon, Nov 7, 2022 at 11:15 PM 'Kasper Laudrup' via Django users <
django-users@googlegroups.com> wrote:

> On 07/11/2022 08.20, Mh Raffi wrote:
> >
> > I have deployed to post g res p g admin4 and deleted db. s q lite from
> > Django. and set my allowed host =['*']
> >
> > Am getting server [500].
> >
> > if any help will be appreciated
> >
>
> You need to look in your log files to find the cause of the 500 error.
> That will make it much, much easier to debug.
>
> Maybe have a look here:
> https://docs.djangoproject.com/en/4.1/topics/logging/
>
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/48520f6c-5f5b-7bd2-1d2f-f3076510968a%40stacktrace.dk
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKfPRhWg3dnVA7%2BeXEQ-2H%3DPYXLcJFLfaurQMbK%2BRko2jwwVzQ%40mail.gmail.com.


Hosting Django App

2022-11-08 Thread Mh Raffi
Hi,
I Am trying to host my app with postgres and railway.
But I am not able to understand the concept. Due to it i deleted
db sqlite.
Is there any other option or anybody can help me to host a project.

Thanks & Regards
Mohammed Raffi.J

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKfPRhUYdc%3DiXKC7vvvrZqifh6n8NOXpRQMzaXs64Gh-a95d9g%40mail.gmail.com.


Re: Django multistep form

2022-11-08 Thread Obodoma Uzondu Vincent
Is it something like this : if form.customer_choices.choices['commercial',
'private'] == 'commercial':

On Tue, Nov 8, 2022 at 5:38 AM David Nugent  wrote:

> A quick reading of your code suggests that `form.customer_choices.choices`
> should be returned as an array with the state of each choice, so == here is
> probably not going to work.
>
> On Mon, Nov 7, 2022 at 8:58 PM Obodoma Uzondu Vincent <
> uobodoma...@gmail.com> wrote:
>
>> I have a multi-step form that is 3 steps but it has 4 forms. In the first
>> form, the user has to choose from two choices. The user’s first form
>> choices will determine the next form that will be displayed.
>> The code is not working as it should. The first form choices are radio
>> buttons which are commercial and private. If the user chooses commercial it
>> brings the next form and if the user chose private it brings a different
>> form. My problem is that if the user chose private or commercial it brings
>> the same form.
>> Views.py
>> template
>> forms.py
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/f3fc2a20-0bea-4ba2-a9a2-c916ffec8ff7n%40googlegroups.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAE5VhgU7BueC%2BYx5X2WzU6HKiVi5g7UZjmKyO%2BOwbBgQsHgZrg%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACsKspmrFKwM7jCVYJjom7vsMK98eN5Skpiqz%3DBerMchEPGfCQ%40mail.gmail.com.


Re: Reply: Re: Hosting django with Namecheap

2022-11-08 Thread Namanya Daniel
[image: Capture 1.PNG]

On Tuesday, November 8, 2022 at 5:10:20 AM UTC-8 Kasper Laudrup wrote:

> On 08/11/2022 13.58, bradie poa wrote:
> > its not a good idea
> > 
>
> Agreed. It's a horrible idea.
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ee352400-ddc8-4228-a7c3-d8b37c2591efn%40googlegroups.com.


Re: Reply: Re: Hosting django with Namecheap

2022-11-08 Thread 'Kasper Laudrup' via Django users

On 08/11/2022 13.58, bradie poa wrote:

its not a good idea



Agreed. It's a horrible idea.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5009e514-de20-962e-a562-8637aa36e0a9%40stacktrace.dk.


Reply: Re: Hosting django with Namecheap

2022-11-08 Thread bradie poa
its not a good idea
> i have settings.py in the same folder with wsgi.py
>
>
> On Tuesday, November 8, 2022 at 4:07:09 AM UTC-8 Kasper Laudrup wrote:
>>
>> On 08/11/2022 10.41, Namanya Daniel wrote: 
>> > Hello, am hosting a django application with namecheap for the very first 
>> > time and am getting " Internal Server ErrorError 500" , in the error 
>> > log, wsgi.py shows that there's not settings 
>> > 
>> > how do i handle this 
>> > 
>>
>> You add the settings. 
>>
>> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/9f4bfc65-8319-4c19-85b2-7ac7ff1d7ff9n%40googlegroups.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/03931t9smoccio3p86jn4id8.1667912304054%40email.vivo.com.


Re: Hosting django with Namecheap

2022-11-08 Thread Namanya Daniel
i have settings.py in the same folder with wsgi.py


On Tuesday, November 8, 2022 at 4:07:09 AM UTC-8 Kasper Laudrup wrote:

> On 08/11/2022 10.41, Namanya Daniel wrote:
> > Hello, am hosting a django application with namecheap for the very first 
> > time and am getting " Internal Server ErrorError 500" , in the error 
> > log, wsgi.py shows that there's not settings
> > 
> > how do i handle this
> >
>
> You add the settings.
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9f4bfc65-8319-4c19-85b2-7ac7ff1d7ff9n%40googlegroups.com.


Re: Hosting django with Namecheap

2022-11-08 Thread 'Kasper Laudrup' via Django users

On 08/11/2022 10.41, Namanya Daniel wrote:
Hello, am hosting a django application with namecheap for the very first 
time and am getting " Internal Server ErrorError 500" , in the error 
log, wsgi.py shows that there's not settings


how do i handle this



You add the settings.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3b848e58-7be2-8d92-6efe-14abc2df8b81%40stacktrace.dk.


Hosting django with Namecheap

2022-11-08 Thread Namanya Daniel
Hello, am hosting a django application with namecheap for the very first 
time and am getting " Internal Server ErrorError 500" , in the error log, 
wsgi.py shows that there's not settings

how do i handle this

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/28c46b62-8abb-4e46-8492-c4007f26dbe1n%40googlegroups.com.