WinterPixie
WinterPixie
KPCKevin Powell - Community
Created by WinterPixie on 10/29/2024 in #ui-ux
Improving too many tabs for Nav Tab suggestions with the current layout?
No description
8 replies
KPCKevin Powell - Community
Created by WinterPixie on 2/7/2024 in #front-end
Need help in doing Overflow-x and a Dropdown
No description
6 replies
KPCKevin Powell - Community
Created by WinterPixie on 1/22/2024 in #ui-ux
Scrollbar with Dropdown
No description
2 replies
KPCKevin Powell - Community
Created by WinterPixie on 11/16/2023 in #ui-ux
Any tips on doing this to make it better ux
No description
7 replies
KPCKevin Powell - Community
Created by WinterPixie on 8/15/2023 in #ui-ux
How do I go about making this as button
No description
11 replies
KPCKevin Powell - Community
Created by WinterPixie on 8/3/2023 in #front-end
Trying to work with how it look like in mobile phones
2 replies
KPCKevin Powell - Community
Created by WinterPixie on 4/12/2023 in #front-end
Can someone show me how to do this in css without Javascript?
8 replies
KPCKevin Powell - Community
Created by WinterPixie on 2/5/2023 in #back-end
Classes repetitive
What's the best way to shorten/one class a multiple class/model? I have seen our line of codes repetitive a same class with just different class name but with same arguments inside.
# a_usi
class PAR_a_usiUpload(models.Model):
file_attach = models.FileField(upload_to='preaud/a_aud/', blank=True, null=True)
a_usi_rel = models.ForeignKey(
PreAuditRequirements,
verbose_name="a_usi_rel",
on_delete = models.CASCADE,
related_name= 'a_usi_rel',
null=True)
date_created = models.DateTimeField(auto_now_add=True)
date_modified = models.DateTimeField(auto_now=True)
# end


# a_ces
class PAR_a_cesUpload(models.Model):
...
# end

# a_aabaa
class PAR_a_aabaaUpload(models.Model):
...
# end
# a_usi
class PAR_a_usiUpload(models.Model):
file_attach = models.FileField(upload_to='preaud/a_aud/', blank=True, null=True)
a_usi_rel = models.ForeignKey(
PreAuditRequirements,
verbose_name="a_usi_rel",
on_delete = models.CASCADE,
related_name= 'a_usi_rel',
null=True)
date_created = models.DateTimeField(auto_now_add=True)
date_modified = models.DateTimeField(auto_now=True)
# end


# a_ces
class PAR_a_cesUpload(models.Model):
...
# end

# a_aabaa
class PAR_a_aabaaUpload(models.Model):
...
# end
can this be done or do I just go with it?
1 replies