fatal: sha1 file '' write error: Broken pipe

2021-02-02 Thread Lightning Bit
How do you fix the broken pipe when trying to push Django project using 
Git? The file is 5GB large

-- 
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/e031db28-2142-40c8-acd8-d9af1de00a57n%40googlegroups.com.


Weird Django-admin bug

2021-02-02 Thread yes...@gmail.com
Hi

I am having this situation where I try to have a look at an instance of a 
specific model through Django-admin and the requests just goes on and on 
and finally times out. This happens with only one of my models and all that 
time there is absolutely no output in stdout.

ex 
: 
http://localhost:8001/admin/portfolio/achievement/ec2949e5-1c34-415f-ba30-f5aa51819891/change/

This also happens on every browser running on localhost BUT it does not 
happen if I try to see the same model instance from another computer on my 
local network ?!?!

ex 
: 
http://192.168.0.4:8001/admin/portfolio/achievement/ec2949e5-1c34-415f-ba30-f5aa51819891/change/

This happens with manage,py runserver. It does not happen in my production 
environment (DjangoEurope) but I discovered this problem after my last 
upload.

Anybody has any clue as to what may be going on or how to find out ?

Thanks !

Django-3.1.5 / Python 3.9.1 / MacOS 10.11.6

-- 
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/53050d5c-2d8b-44d7-a9f1-c478adfca10cn%40googlegroups.com.


Re: Static Folder not loading

2021-02-02 Thread Gabriel Araya Garcia
You are not saying if you trying it in local host or web server, because
the statics folder is in different location (I have some program in
PythonAnywhere).
Send your answer to gabrielaraya2...@gmail.com and I will give you the
respective configurations that I have in SETTINGS.PY
Regards.

Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos




El jue, 28 ene 2021 a las 15:17, hari49pf () escribió:

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

-- 
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/CAKVvSDD-VX54sZHaYaf3VfDh1dB_J0bf%3DL1CwZfSUn2owihhDg%40mail.gmail.com.


Re: Static Folder not loading

2021-02-02 Thread Abubakar Ibrahim Baiwa
If you're using django's lightweight server, make sure DEBUG=True

On Sun, 31 Jan 2021, 6:25 pm hari49pf,  wrote:

> Bair me, I am new to group
>
> On Sunday, January 31, 2021 at 10:46:40 PM UTC+5:30 hari49pf wrote:
>
>> Its returning
>>
>> *no matching file found for test.css*
>>
>>
>> *Regards,*
>>
>> *Harish.B*
>>
>>
>> On Friday, January 29, 2021 at 8:26:14 PM UTC+5:30 ule...@gmail.com
>> wrote:
>>
>>>
>>> try
>>> *./manage.py findstatic test.css*
>>> Op vrijdag 29 januari 2021 om 15:52:44 UTC+1 schreef fcip...@gmail.com:
>>>
 I’m sending from my phone so it won’t have markdown.

 It looks like your not defining all of them properly. Put a static
 folder you’ll manually in trydjango/trydjango. This will be where
 Staticfiles_dirs gathers the files. Then static_root will be where is
 collectstatic will store them. Static_URL is important as it will be the
 file name target it will look for when running collectstatic.

 Try:

 STATIC_ROOT = os.path.join(BASE_DIR, ‘static’)
 STATIC_URL = ‘/static/‘
 STATICFILES_DIRS = [ os.path.join(BASE_DIR, ‘trydjango/static’)



 Best Regards,
 Frank Cipolone

 M: (856) 993-4819
 E: fcip...@gmail.com

 On Jan 29, 2021, at 6:23 AM, hari49pf  wrote:

 

 


 above is a screenshot and path for the static folder.
 On Friday, January 29, 2021 at 3:05:06 AM UTC+5:30 fcip...@gmail.com
 wrote:

> 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...@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...@googlegroups.com.

 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/ceb2424c-870d-4467-a29a-7337d0471283n%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/8056c092-ae57-4478-9bfe-306025bfbd15n%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/CAPtJsRiHSBhTRmK33xHDU6HL%2BC6gKazUOP5jSd2DNfuJXrf3zg%40mail.gmail.com.