Maz
*pardon my french to the rest of the group.*
Mirco
Ghorz
Dope
cj
Dope
Maz
😂😂😂😂
Achana na huyo ni wa kublock mtu ukiuliza swali.
Just dig in and pay attention, you can learn much from these guys here.
cj
cj
my "thing" is ensure all members respect rules, and one of the rules is to use English only... you're breaking that rule
cj
Why I wouldn't be able to message you? this is a group 🤷🏻♂️
Maz
Maz
Anyway, cheers.
Nathan
Hey guys help me here..File "/home/x-gamer/workspace/rapidpro/temba/archives/models.py", line 98
archive_files = s3.list_objects_v2(Bucket=settings.ARCHIVE_BUCKET, Prefix=f"{org.id}/")["Contents"]
^
SyntaxError: invalid synta
Nathan
I cannot get a reason why am getting the syntax error.
Sergey K
Anonymous
Anonymous
/warn ad
Anonymous
Anonymous
pleace help... while i am trying to add url in urls.py it is showing : "Specifying a namespace in include() without providing an app_name is not supported."
George
Firdaus
Rammy
Work Description:
I want you to design a website that is simply for tracking and uploading of data on a Database. All datas needed to be in the database will be given to you once you have been successfully selected for the project.
The website will have the following:
1. A log in section for all users that have access to the site.
2. A sign up (Creating an account with email and password) section for new people who wants to have access to the site.
After signing up (Creating an account), they will get a mail that gives them a link to the site with their username and password.
3. The site content will have an home page and headers with the following sections
-About us
-Team
- Solonox Database
-Gallery
-Contact us
-etc
*Solonox Database*: This is the main link and major purpose of the website. In this website, all informations and data in solonox Company will be uploaded on the database. Assuming that we have Solonox Engines, Solonox Projects, Solonox Engine Locations, Solonox spare parts etc. as datas, we will upload them as different sub headings/ Sun sections under the Solonox database. In that, if a user wants to know all the projects that Solonox Company has been doing since 2007, He/She can click on the "Solonox Project Sub heading" to view the projects. The users can also upload recent projects on the Solonox project sub section and can also download a past project. The user can also keep track of the number of Projects that have been done so far in Solonox Company. Etc
The same goes to all other sub headings of the database.
*Note* All users won't have Access to all the datas in the database, the Admin can restrict their Access and Every user is only permitted to have access to certain datas on the database.
You will also host the website and make sure that anyone who searches for or uses the weblink with their data can see/use the website.
*There are still some additions to this but we will let you know as the design goes on*
Mind you : Solonox is not the name of the project Company that you will be working on, its just a phrased example for easier understanding of the Work description.
*Are you up for this and can you do this well to our satisfaction*?
If yes, send us a link to previous websites that you have created and let's move to the contractual stage
Cheers🥂
Вадим
How to use one-to-many in models?
Вадим
thx
Ghorz
Work Description:
I want you to design a website that is simply for tracking and uploading of data on a Database. All datas needed to be in the database will be given to you once you have been successfully selected for the project.
The website will have the following:
1. A log in section for all users that have access to the site.
2. A sign up (Creating an account with email and password) section for new people who wants to have access to the site.
After signing up (Creating an account), they will get a mail that gives them a link to the site with their username and password.
3. The site content will have an home page and headers with the following sections
-About us
-Team
- Solonox Database
-Gallery
-Contact us
-etc
*Solonox Database*: This is the main link and major purpose of the website. In this website, all informations and data in solonox Company will be uploaded on the database. Assuming that we have Solonox Engines, Solonox Projects, Solonox Engine Locations, Solonox spare parts etc. as datas, we will upload them as different sub headings/ Sun sections under the Solonox database. In that, if a user wants to know all the projects that Solonox Company has been doing since 2007, He/She can click on the "Solonox Project Sub heading" to view the projects. The users can also upload recent projects on the Solonox project sub section and can also download a past project. The user can also keep track of the number of Projects that have been done so far in Solonox Company. Etc
The same goes to all other sub headings of the database.
*Note* All users won't have Access to all the datas in the database, the Admin can restrict their Access and Every user is only permitted to have access to certain datas on the database.
You will also host the website and make sure that anyone who searches for or uses the weblink with their data can see/use the website.
*There are still some additions to this but we will let you know as the design goes on*
Mind you : Solonox is not the name of the project Company that you will be working on, its just a phrased example for easier understanding of the Work description.
*Are you up for this and can you do this well to our satisfaction*?
If yes, send us a link to previous websites that you have created and let's move to the contractual stage
Cheers🥂
That's an easy job, 72hrs will be enough for me
Lumardyelson
I have the following scenario, a multi-company system with restriction by table relationship (business_id). I need to have some sequential numbering for each company, examples: purchase order number, customer id ...
How do they do it or do it?
Ghorz
Raad
#Счастливая❤️
Hello Everyone! I need a beginner book on postgresql 10
Anonymous
Their doc's are best
#Счастливая❤️
Anonymous
I used django custom model to sign up user.
Anonymous
It's working but i need to show data from the database to the templates
Mirco
Get context data
Anonymous
How?? this is class based.
Mirco
Yep I know , u should add get_context_data() method
Anonymous
Okay let me check
Mirco
😁😁 yup
See Django docs
Ronald
We should really ban users who take photos of their computer screens instead of pastebin.
Frans Sihombing
Hi 😊
Mirco
Frans Sihombing
I am from Indonesia😊
Mirco
Welcome 😁
Frans Sihombing
I need a book (pdf) django version 2, anyone have?
Mirco
Buy one
Frans Sihombing
Django by example 2 😳
Frans Sihombing
Do you have a django by example 2 (pdf) ?
Mirco
Nope, I've bought the one I told you above
Frans Sihombing
May I have the ebook ?
Mirco
Buy it 😁
Frans Sihombing
😭
Mirco
I don't think if u wrote a book, you'd like if readers try not to pay you 😂
Frans Sihombing
Okay😔
Anonymous
Hey guys how can I get search recommendations when you type initial letters (just like google search) where searching of model(college) attribute(college) takes place.
Any help is appreciated.
Anonymous
Attribute(college name)
Anonymous
*
Mirco
Shubham
Hello guys
Shubham
I have a question
Shubham
class SnippetSerializer(serializers.Serializer):
id = serializers.IntegerField(read_only=True)
title = serializers.CharField(required=False, allow_blank=True, max_length=100)
code = serializers.CharField(style={'base_template': 'textarea.html'})
linenos = serializers.BooleanField(required=False)
language = serializers.ChoiceField(choices=LANGUAGE_CHOICES, default='python')
style = serializers.ChoiceField(choices=STYLE_CHOICES, default='friendly')
def create(self, validated_data):
"""
Create and return a new Snippet instance, given the validated data.
"""
return Snippet.objects.create(**validated_data)
def update(self, instance, validated_data):
"""
Update and return an existing Snippet instance, given the validated data.
"""
instance.title = validated_data.get('title', instance.title)
instance.code = validated_data.get('code', instance.code)
instance.linenos = validated_data.get('linenos', instance.linenos)
instance.language = validated_data.get('language', instance.language)
instance.style = validated_data.get('style', instance.style)
instance.save()
return instance
Shubham
Why create and update methods are used in serializer
Shubham
And how
Shubham
I'm nt getting it's purpose
Anonymous
Mirco
Danil
Hey there! How can i get environment variable from docker-compose in Dockerfile?
Mirco
Anonymous
Hey guys I need ur help I just started to learn django, but the problem is django won't recognise my templates and i don't know why
Mirco
Share your code 😁 use pastebin or similar
Anonymous
What's pastebin sorry
pino@mastrobirraio ~$
pastebin allows you to paste your code and share with someone
Anonymous
Like how can I display templates on django. I followed all the instructions but it still gives me the TemplateDoesNotExist error
pino@mastrobirraio ~$
the code will be formatted following the syntax you choos
Anonymous
pino@mastrobirraio ~$
Anonymous
That should be in settings right