Dear members,
I have a requirement, where I need to save .xlsx file onto clients local
folder.
The moment when I click choose folder then immediately it has to show file
browser with save/save as option to save file based on users choice.
Thanks in advance.
Venu
--
You received this message
Django admin does something like this with raw_id_fields[1]. I think it works
by just swapping out the form widget. But you could take a look at the admin
code to see for sure.
[1]
https://docs.djangoproject.com/en/3.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin.raw_id_fields
On April 1
I have a ManyToMany model set, that on the edit uses a formset to add/
edit rows. I have this working, but the unfortunate part of it is
that the select that results from the ManyToMany relationship
populates with 16,000 records.
What I would like to do is, once the records are added, just h
Maybe it has something to do with the fact that once you start iterating
through a query set it gets evaluated[1]. If you slice a query set before it
gets evaluated that is different than slicing a query set after it gets
evaluated. I'm not exactly sure why you're getting different results but
Why you don't explain better your problem ? When appear that
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 1 abr 2021 a las 15:43, Mahendra ()
escribió:
> I think given name is wrong Hlo do you have any idea posting form data?
>
> Mahendra Yadav
>
> On Thu, 1 Apr 2021
I think this must be wrong. Only User instance have a method
is_authenticated. Here a example for views:
if request.user.is_authenticated:
pass
sali...@rohteksolutions.com schrieb am Donnerstag, 1. April 2021 um
19:03:36 UTC+2:
> Hi all,
>
> How to solve this errors
> ```
> AttributeError:
I think given name is wrong Hlo do you have any idea posting form data?
Mahendra Yadav
On Thu, 1 Apr 2021, 22:32 Salima Begum,
wrote:
> Hi all,
>
> How to solve this errors
> ```
> AttributeError: 'customer' object has no attribute 'is_authenticated'
> ```
>
> ```
> AttributeError: 'customer'
Hi all,
How to solve this errors
```
AttributeError: 'customer' object has no attribute 'is_authenticated'
```
```
AttributeError: 'customer' object has no attribute 'is_anonymous'
```
How can I solve this above errors. Help me.
Thanks
~Salima
--
You received this message because you are su
Samuel,
Thank you for that tremendous insight; sad to say you are correct on me trying
to plan for the future of scaling. I am so use to having to plan ahead and have
a backup for my backup which has a series of more backup to the original plan.
I still operate as if I am still in the Marine C
On 3/30/21 6:32 AM, Josh moten wrote:
I am creating an auction that will be hosting millions to possibly
billions of users so I am trying to figure out which would be the best
library to use for scalability at a rapid pace. I am positive to reach a
million users in four months. What is the best
I have found my failure. Thanks
sebasti...@gmail.com schrieb am Donnerstag, 1. April 2021 um 18:00:57 UTC+2:
> Hello,
>
> model.py:
>
> class UserSettings(models.Model):
> user_link = models.OneToOneField(
> User,
> on_delete=models.CASCADE,
> related_name="usersetting
Hello,
model.py:
class UserSettings(models.Model):
user_link = models.OneToOneField(
User,
on_delete=models.CASCADE,
related_name="usersettings_address",primary_key=True,)
and i have a mixin:
class ListviewMixin():
def get_queryset(self):
print("Order "+
#Model
Form Django import models
Class singupdata(models.model):
Username=models.CharField(max_len=20)
Password=models.CharField(max_len=20)
#form
from django import forms
Class Signform (forms.form):
Username=forms.IntegerFiled(
labe='E mail',
try this
*from reporter.models import Counties*
Regards
*Ajay Rathore*
Python Developer
On Thu, Apr 1, 2021 at 4:17 PM Ryan Nowakowski wrote:
> Since your models aren't in the migrations python package, I would use an
> absolute path in the import statement here rather than the relative path.
Since your models aren't in the migrations python package, I would use an
absolute path in the import statement here rather than the relative path.
On March 31, 2021 9:50:30 PM CDT, 'Dante Costabile' via Django users
wrote:
>Hiya Folks. Relatively new to django and quite enjoying it. However
I typically develop the website and also handle deployment. I've done this in a
couple of ways. I get the IT department to give me a virtual machine or an AWS
account so I can spin up my own EC2 instance. Then I get them to assign a DNS
name to the server.
On March 31, 2021 6:11:11 PM CDT, tri
16 matches
Mail list logo