Re: Payments

2021-02-11 Thread MUGOYA DIHFAHSIH
idealy i want to use visa, ineed help on how to integrate it into the payment module. Thanks... but MPESA is from mobile phone to another phone transaction(mobile money). On Thu, 11 Feb 2021 at 19:21, o1bigtenor wrote: > On Thu, Feb 11, 2021 at 8:12 AM Joseph Mulingwa Kithome > wrote: > > > >

Re: Upload images

2021-02-11 Thread mtp...@gmail.com
How do I check if the files are valid images or not before creating the organization objec On Friday, February 12, 2021 at 12:21:19 AM UTC+3 theresa...@gmail.com wrote: > What is the error message? Is it in your admin site you are getting issues > uploading images or when rendered in the

Re: Upload images

2021-02-11 Thread mtp...@gmail.com
How do I check if the files are valid images or not before creating the organization object. On Friday, February 12, 2021 at 12:21:19 AM UTC+3 theresa...@gmail.com wrote: > What is the error message? Is it in your admin site you are getting issues > uploading images or when rendered in the

Re: Upload images

2021-02-11 Thread Theresa Taye
What is the error message? Is it in your admin site you are getting issues uploading images or when rendered in the template? For me I use this in my model: image = models.ImageField(null=True, blank=True, upload_to="images/") the upload_to specifies wherein the static folder I want to upload

Re: learning steps

2021-02-11 Thread Theresa Taye
Hello Anant, online communities like this will help, also browse youtube for videos in case you enjoy learning that way. lay your hands-on problems to solve, if you get stuck use StackOverflow or generally search google. As for the flow of learning, it is good you already started learning python,

Re: Upload images

2021-02-11 Thread Kasper Laudrup
On 11/02/2021 19.29, mtp...@gmail.com wrote: I have implemented the following view but saving the images part is an issue: What's the issue? Knowing that would make it easier for someone to help you. Having a quick look at the code, I would start by removing the try/except block until

Upload images

2021-02-11 Thread mtp...@gmail.com
Hello everyone, I have implemented an endpoint to register an organization how do I make it posssible to upload the images considering the org model as shown below. ``` class Organization(Group): email = models.EmailField(max_length=60, blank=False, null=False) admin =

Re: problem to show image

2021-02-11 Thread Kasper Laudrup
On 11/02/2021 16.32, Joseph Mulingwa Kithome wrote: Hello, I want to override the default  email that is set on Django settings and instead append my own email how do I do that First of all, learn how to use mailing lists and/or google groups. You shouldn't just "highjack" unrelated threads

Re: Payments

2021-02-11 Thread o1bigtenor
On Thu, Feb 11, 2021 at 8:12 AM Joseph Mulingwa Kithome wrote: > > MPESA ,VISA,PAYPAL What is MPESA? -- 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: problem to show image

2021-02-11 Thread Joseph Mulingwa Kithome
Hello, I want to override the default email that is set on Django settings and instead append my own email how do I do that On Thu, 11 Feb 2021, 17:36 luca72.b...@gmail.com, < luca72.bertolo...@gmail.com> wrote: > Solved > i have add > > > Il giorno giovedì 11 febbraio 2021 alle 15:27:51 UTC+1

Re: problem to show image

2021-02-11 Thread luca72.b...@gmail.com
Solved i have add Il giorno giovedì 11 febbraio 2021 alle 15:27:51 UTC+1 luca72.b...@gmail.com ha scritto: > Hello > In the setup file i have: > > STATIC_URL = '/static/' > MEDIA_URL = '/media/' > > #STATICFILES_DIRS = [ > #os.path.join(BASE_DIR, "static"), > #'/polls/static/polls', >

problem to show image

2021-02-11 Thread luca72.b...@gmail.com
Hello In the setup file i have: STATIC_URL = '/static/' MEDIA_URL = '/media/' #STATICFILES_DIRS = [ #os.path.join(BASE_DIR, "static"), #'/polls/static/polls', #] STATIC_ROOT = "F:/aflbmanager/mysite/polls/static" MEDIA_ROOT = "F:/aflbmanager/mysite/polls/media" In the template for load

Re: optimisation django

2021-02-11 Thread Mateusz Wasielewski
How your model relation look like? Maybe you face the N+1 problem, Do you check how many queries are performed during your website load? I agree with above: - prefetch_related - select_related -cached_property You can read this article, maybe it can help.

Re: Payments

2021-02-11 Thread Joseph Mulingwa Kithome
MPESA ,VISA,PAYPAL On Thu, 11 Feb 2021, 16:38 Gladson Simplício Brito, wrote: > Tell us which payment methods are accepted in your country > > Em qui., 11 de fev. de 2021 às 04:52, MUGOYA DIHFAHSIH < > dihfahs...@gmail.com> escreveu: > >> Hey djangonistas, >> Currently i have implemented an

Re: optimisation django

2021-02-11 Thread Anurag Kumar
use indexes.. On Wednesday, February 10, 2021 at 7:25:45 PM UTC+5:30 en2lin...@gmail.com wrote: > > I am developing a django application, most of the views are tables, I am > facing a problem the loading time of my page is extremely long. how can I > do to optimize this, my data set

learning steps

2021-02-11 Thread Anant Sakhare
Hello everyone, I'm a mechanical engineering student, a few days ago I have started to learn Python basics. Now I wanted to learn the Django framework. can anyone guide me to 1. what are the learning resources I use? 2. Flow of learning 3. prerequisite for the start I would like to say thank

how to config django packages to modify and contribute to them

2021-02-11 Thread mohamad Mehdizadeh
Hi I want to extend some packages include django-analytical or django-excel-response, I know how to clone a package but this apps inside a django projects work, I don't know how to use a cloned package in my project so modify it and track behavior of package. -- You received this message

Re: Payments

2021-02-11 Thread Gladson Simplício Brito
Tell us which payment methods are accepted in your country Em qui., 11 de fev. de 2021 às 04:52, MUGOYA DIHFAHSIH escreveu: > Hey djangonistas, > Currently i have implemented an ecommerce site using the django-oscar > package and everything is working perfectly. > > I want to include a payment

Re: optimisation django

2021-02-11 Thread Mottaz Hegaze
Also using caching will make a huge difference. Imagine that you stored all table rows in cache , you only need to rebuild this cache tree every time you update a row or delete or add new row , you update the cache tree. But a simple retrieve will come from cache not database , this will make a

Payments

2021-02-11 Thread MUGOYA DIHFAHSIH
Hey djangonistas, Currently i have implemented an ecommerce site using the django-oscar package and everything is working perfectly. I want to include a payment module using the visa powered card option, i would have gone with paypal but it is not supported in my country. Am requesting for any