Re: Conectarme a un AS/400 desde Django

2021-01-28 Thread Miguel Ángel Cumpa Ascuña
me parece rara esta línea
"AS400 = {"
creo que debería ser
"DATABASES = {"
Pues estimo que estás usando esta librería
https://github.com/ibmdb/python-ibmdb-django
Revisa el README, ahí esta un ejemplo.

El jue, 28 ene 2021 a las 18:32, Gabriel Araya Garcia (<
gabrielaraya2...@gmail.com>) escribió:

> Tal vez el conector esta pifiado. Intenta bajarlo desde otro sitio. Revisa
> este link:
> https://www.programcreek.com/python/example/113615/ibm_db_dbi.connect
>
> El miércoles, 27 de enero de 2021 a las 14:20:57 UTC-3, lugo...@gmail.com
> escribió:
>
>> Buenos días, soy nuevo en Django y no he podido conectarme a un archivo
>> que tengo dentro de un AS/400. La Librería se llama: RORIVENTAA y el
>> archivo se llama: IVARET por favor si me pueden dar una mano, muchas
>> gracias de antemano.
>>
>>
>> --
> 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/d762fab5-769b-46f1-8c80-03f87d9ee096n%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/CAOZHYKMUHu8svw9MxyR4RZvMMbcgKbdVJYqCgyp16hHVVV7fMA%40mail.gmail.com.


Re: Conectarme a un AS/400 desde Django

2021-01-28 Thread Gabriel Araya Garcia
Tal vez el conector esta pifiado. Intenta bajarlo desde otro sitio. Revisa 
este link:
https://www.programcreek.com/python/example/113615/ibm_db_dbi.connect

El miércoles, 27 de enero de 2021 a las 14:20:57 UTC-3, lugo...@gmail.com 
escribió:

> Buenos días, soy nuevo en Django y no he podido conectarme a un archivo 
> que tengo dentro de un AS/400. La Librería se llama: RORIVENTAA y el 
> archivo se llama: IVARET por favor si me pueden dar una mano, muchas 
> gracias de antemano.
>
>
>

-- 
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/d762fab5-769b-46f1-8c80-03f87d9ee096n%40googlegroups.com.


Re: Static Folder not loading

2021-01-28 Thread Frank Cipolone
Whats your STATIC_DIRS, STATIC_PATH, and STATIC_URL and what it the tree to the 
folder your static is in?

> On Jan 28, 2021, at 1:26 PM, hari49pf  wrote:
> 
> Yes, i did it created a folder with css & other files, but no use.
> 
> On 28/01/21 11:49 pm, Larry Martell wrote:
>> On Thu, Jan 28, 2021 at 10:16 AM hari49pf  wrote:
>>> Hi,
>>> 
>>> I am trying to load static file to my project its not loading,
>>> I have changed the path of static in settting.py still its not loading 
>>> static file.
>>> tryed to check the file is loading by using
>>> manage.py findstatic test.css
>>> PLZ help
>> Have you run collectstatic?
>> 
> 
> -- 
> 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/928aaad3-3f02-45e4-91fa-d3a56da673db%40gmail.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/D402D4CC-2634-4E68-897F-CB4D9BB7600E%40gmail.com.


Re: Static Folder not loading

2021-01-28 Thread hari49pf

Yes, i did it created a folder with css & other files, but no use.

On 28/01/21 11:49 pm, Larry Martell wrote:

On Thu, Jan 28, 2021 at 10:16 AM hari49pf  wrote:

Hi,

I am trying to load static file to my project its not loading,
I have changed the path of static in settting.py still its not loading static 
file.
tryed to check the file is loading by using
manage.py findstatic test.css
PLZ help

Have you run collectstatic?



--
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/928aaad3-3f02-45e4-91fa-d3a56da673db%40gmail.com.


Re: Static Folder not loading

2021-01-28 Thread Larry Martell
On Thu, Jan 28, 2021 at 10:16 AM hari49pf  wrote:
>
> Hi,
>
> I am trying to load static file to my project its not loading,
> I have changed the path of static in settting.py still its not loading static 
> file.
> tryed to check the file is loading by using
> manage.py findstatic test.css
> PLZ help

Have you run collectstatic?

-- 
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/CACwCsY6m3eTzG_wBrTCUYXE2aYNEWzM6gt-R1Dj31XDtH8opKA%40mail.gmail.com.


Static Folder not loading

2021-01-28 Thread hari49pf
Hi, 

I am trying to load static file to my project its not loading,
I have changed the path of static in settting.py still its not loading 
static file.
tryed to check the file is loading by using 
*manage.py findstatic test.css*
PLZ help


Regards,
Harish.B


-- 
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/126cf6ff-27f7-4c1b-af5e-17b619b311cfn%40googlegroups.com.


Re: Conectarme a un AS/400 desde Django

2021-01-28 Thread EDWARD A. LUGO A.
Buenos días,  tengo este tipo de coneccion:

AS400 = {
'default': {
'ENGINE'  : 'ibm_db_django',
'NAME': 'RORIVENTAA.IVARET',
'USER': 'USERGRAL',
'PASSWORD': 'USERGRAL',
'HOST': '192.1.1.2',   #'localhost',
'PORT': '5000',
'PCONNECT': True,  # Optional property. It is true by default

}
}

y me el siguiente error:

*AttributeError: module 'ibm_db_dbi' has no attribute 'BOOLEAN'*

y no me deja conectarme con los archivos dentro del AS/400

Por favor me puedes corregir donde estoy cometiendo el error?

Muchas gracias por tu tiempo.


El mié, 27 de ene. de 2021 a la(s) 13:25, Miguel Ángel Cumpa Ascuña (
miguel.cumpa.asc...@gmail.com) escribió:

> Hola, no puedes acceder a un archivo o no puedes acceder a una tabla en
> DB2 /400 de tu AS/400?
>
> El mié, 27 ene 2021 a las 12:20, EDWARD A. LUGO A. ()
> escribió:
>
>> Buenos días, soy nuevo en Django y no he podido conectarme a un archivo
>> que tengo dentro de un AS/400. La Librería se llama: RORIVENTAA y el
>> archivo se llama: IVARET por favor si me pueden dar una mano, muchas
>> gracias de antemano.
>>
>>
>> --
>> 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/e5b77eb9-9d79-4ebe-9b67-0a269c008965n%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/CAOZHYKOcKeqV%2BqB8DyZDRA56pmjhWykesiHBDN0b8ndfTSASLg%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%2Bjd%3D4AZF4Nbz7afw9ju1QhuUxVQN-h2A4M-ipOb2-euAw1GkA%40mail.gmail.com.


Re: Hi

2021-01-28 Thread Sunday Iyanu Ajayi
Hi  Florin,

What support do you need? You can reach out via my email.
*AJAYI Sunday *
(+234) 806 771 5394
*sunnexaj...@gmail.com *



On Tue, Jan 26, 2021 at 3:10 PM Florin Ngabire  wrote:

> My name is florin.i need a support. A small Python project in django
> framework
>
> --
> 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/CACynOu%2BySEKrNgRhwKXYm0%3DOwOau1AS554ywRrzJ3Ru8mgavwA%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/CAKYSAw2PEDYL6PmFpWOzHqdDyYGmmuLJeHibZACJ8mk0nbgpMw%40mail.gmail.com.


Re: how create new django project with windows 10 and Python 3.9.1

2021-01-28 Thread Fabio Fidone
thanks you!


Il giorno mer 27 gen 2021 alle ore 17:02 Noel Simela  ha
scritto:

> As easy as steps below:
>
> In your CMD:
>
> 1.Python - m venv yourvirtualenvironment
>
> 2 yourvirtualenvironment\scripts\activate
>
> 3.Pip install django
>
> 4.django-admin start-project yourptojectname
>
> --
> 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/CAGBhr7ZtybbxP_gkUA1Vp8CHquGdBydbf4h1isM93nMfNPu8UA%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/CAPOyAVVSpKfEAXsugUBsZiELAXDeyzVV%3Dyd6iXnPu6bCZ58Uiw%40mail.gmail.com.


Re: Use DropBox to Store Static Files in Django

2021-01-28 Thread Kasper Laudrup

On 1/28/21 8:08 AM, Samiddha সমিদ্ধ wrote:
*How to use DropBox to use/serve Static Files and Upload Media in django 
project?*


I use the method that mentioned here: django-storages[dropbox] 

And try this method: django-dropbox-storage 



But both method doesn't work. So what's the right way?



Make it work, then share the required changes with the project 
maintainers. That is the right way.


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/4a407f04-78c5-e847-6d3c-34754af578cc%40stacktrace.dk.