Re: Nested Model

2019-09-19 Thread Davin Pore
[image: API_Box.JPG] On Thursday, 19 September 2019 14:35:03 UTC+8, Davin Pore wrote: > > Seeking for your kind assistance on how to get the value of this using > nested model on django restapi. > > [image: image.png] > Thank you. > > -- You received this message because you are subscribed t

rumove upload_to in the database

2019-09-19 Thread Luca Bertolotti
Hello in the model i have : file = models.FileField(upload_to='disegni/', blank=True, null=True) in the database in the column file django save : disegni/filename.xxx in which way i can save only the filename and not the folder? Best Regards -- You received this message because you are subscri

401 unauthorized

2019-09-19 Thread Muhammad Zeeshan Tariq
How we pass token in url using Vuejs and Rest Frame API. -- 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

Re: Raju | ITC Infotech - Looking for Backend Developers (Python/Django ORM - New York City )

2019-09-19 Thread Preetham Varanasi
Hi Sipum, yeah to save time we have toπŸ˜‰πŸ˜‚ On Wed, Sep 18, 2019 at 3:22 PM Sipum wrote: > Hi Preetham, > > I know we are in s/w industry and we are well known of copy and paste. But > u did it here also. πŸ˜…πŸ˜… > Thanks. > > > On Wed, 18 Sep, 2019, 11:47 AM Preetham Varanasi, < > varanasipreetham.

Re: Django cms and templates

2019-09-19 Thread MEGA NATHAN
Hi. you check app name 127.0.0.8/app name *Regards* Meganathan G On Thu, Sep 19, 2019 at 4:30 AM Perceval Maturure wrote: > Dear all > > I have a django project done with Django 2.1 and successfully made an > apphook to the cms page bt the problem is that the template file does not >

LoginView Error when going back to login page

2019-09-19 Thread Jodel Asur
I'm having an issue with LoginView when we go back to the login page using the browser back button. I've deployed a simple web app ( https://jodelasur.pythonanywhere.com) so you can test for yourself. Steps to recreate: 1. Enter invalid (random) credentials and submit. You should see the

Re: Nested Model

2019-09-19 Thread Ayser shuhaib
I’m not sure if I understood your question but for example: enterprise.type will give you the value of type. On Thu, 19 Sep 2019 at 10:00, Davin Pore wrote: > [image: API_Box.JPG] > > > On Thursday, 19 September 2019 14:35:03 UTC+8, Davin Pore wrote: >> >> Seeking for your kind assistance on how

Update Nested Serializer

2019-09-19 Thread Marsel Beqiri
Hi, I am working with a Django rest api project. SO i need some help. I cant create a update for NESTED SERIALIZER. models.py from django.db import models from datetime import datetime from django.contrib.auth.models import User class TimesheetResponse(models.Model): date = models.DateFiel

Image not loading

2019-09-19 Thread Joseph Emeka
The highlighted section of the code is not loading the image was the solution -- 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...@googlegro

Re: Image not loading

2019-09-19 Thread King Strips
On Thu, Sep 19, 2019 at 2:20 PM Joseph Emeka wrote: > The highlighted section of the code is not loading the image was the > solution > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving em

Re: Update Nested Serializer

2019-09-19 Thread Ayser shuhaib
Use a view.py to add, update or delete data in your model.py Check ViewSets. https://www.django-rest-framework.org/api-guide/viewsets/ On Thu, 19 Sep 2019 at 16:20, Marsel Beqiri wrote: > Hi, I am working with a Django rest api project. SO i need some help. I > cant create a update for NEST

Re: Image not loading

2019-09-19 Thread Tosin Ayoola
I don't know if I'm write on but u're not referencing the source of the image wit the arc attribute, but rather u using the style attribute On Sep 19, 2019 16:11, "Joseph Emeka" wrote: > Thanks for you reply I do not really understand it. i bought the template > to use the layout for a project,

Re: Staticfiles on S3

2019-09-19 Thread Elias Coutinho
I put in S3 in Permissions> CORS Configuration the following: * GET PUT POST DELETE 3000 * And solved! It would be interesting if you could send these CORS through the system. Thank you guys. Em qua

Re: Raju | ITC Infotech - Looking for Backend Developers (Python/Django ORM - New York City )

2019-09-19 Thread Alfredo Sumague
I'm interested and willing to relocate to NY. Thanks, Alfredo Sumague On Tue, Sep 17, 2019 at 1:35 PM Raju N Somanna wrote: > Hi All > > I've an immediate need for Backend Developers (*Python/Django ORM* - New > York City) with my client in NYC. As the title suggests my team is looking > for Py