All Tickets

Priority
Status
Type
Category
lou
asked 8 months, 2 weeks ago
Views 218
Views 218

Team,

Currently, I have Datasphere transmitting transactional data from Azure to BigQuery. Separately, I am ingesting master data from …

Other
Medium
Problem
In-Progress
venkatesh
asked 1 year ago
Views 300
Views 300

HI , 

I am getting the below error while connection to Datastax cassandra cluster from the Pyspark running on GCP …

PySpark
Low
Problem
In-Progress
sonu
asked 1 year, 4 months ago
Views 360
Views 360

I want to connect jupyter notebook to spark driver and worker node and trying to access Minio S3 bucket in …

Spark
Low
Problem
In-Progress
Vengat
asked 1 year, 9 months ago
Views 498
Views 498

Is there a way to copy data from S3 into Snowflake without manually defining the columns beforehand?

Other
Low
Question
In-Progress
sunil
asked 2 years, 3 months ago
Views 532
Views 532

Can someone elaborate this in details?

Other
Low
Question
In-Progress
Vengat
asked 3 years, 11 months ago
Views 870
Views 870

Can someone let me know the steps to connect Denodo from python ?

Actually I have a view in Denodo …

Other
Low
Question
Closed
Vengat
asked 3 years, 5 months ago
Views 684
Views 684

Hi,

I am trying to sync the data from POSTGRES to SNOWFLAKE of 10M rows table. But after pulled 600k …

Other
Low
Problem
Closed
gakalyani
asked 2 years, 12 months ago
Views 599
Views 599

how to get count of occurrences of phone-number in excel sheet using django

Django
Medium
Question
Closed
sunil
asked 3 years, 11 months ago
Views 795
Views 795

I was able to use an api to get the data, for example:

{"aid": "1773022", "url": "hdsrgrg022", "papers": [{"paperId": "17", …

Python
Low
Question
Closed
Jaanvi
asked 5 years, 3 months ago
Views 1392
Views 1392

Is there a way to push the footer to the bottom of the page? I don't want to make the …

CSS
Low
Question
Closed
Star
asked 3 years, 11 months ago
Views 712
Views 712
df1 = pd.DataFrame({'Code':['1001','1002','1003','1004'],
          'Place':['Chile','Peru','Colombia','Argentina']})

 and

df2 = pd.DataFrame({'Code':['1001','1002','1003'],
          'Place':['Chile','Peru','Colombia']})

 How can i concat this two to make one DataFrame of …

Python
Low
Question
In-Progress
Shrestha7
asked 4 years, 3 months ago
Views 745
Views 745

I have a Django model where there is FileField to upload files. I want to upload the files in the …

Django
Medium
Problem
Closed
ashutoshmishra333
asked 4 years, 4 months ago
Views 841
Views 841

I am trying to create an api which get an json input and convert it into the protocol buffer,but getting …

Django
Medium
Problem
In-Progress
Jaanvi
asked 4 years, 5 months ago
Views 723
Views 723

Hi, I'm confused between the terms scripting and coding , can anyone explain the difference between python script and python …

Python
Medium
Question
Closed
Jaanvi
asked 4 years, 4 months ago
Views 629
Views 629

Looking for a simple explanation with an example 

Other
Low
Question
Opened
Shrestha7
asked 4 years, 7 months ago
Views 1073
Views 1073

I am simply clueless cause I am new to this language. I want to create a detail page where I …

Other
Medium
Problem
In-Progress
Fancy
asked 4 years, 8 months ago
Views 706
Views 706

How can compare the Strings in java

Java
Low
Question
Closed
rocky
asked 4 years, 9 months ago
Views 771
Views 771
Javascript
Low
Question
Closed
Vengat
asked 4 years, 8 months ago
Views 1693
$5
Views 1693

I have a requirement to get the data from MYSQL table, The table has date column.

Based on date filter …

MySQL
High
Task
Closed
rocky
asked 4 years, 8 months ago
Views 681
Views 681
Html
Low
Question
Closed
Soudhamini
asked 4 years, 8 months ago
Views 707
Views 707

If possible how can we do it?

In c++ it is quite easy ,but I cant get it on python.. …

Python
Medium
Question
Closed
rocky
asked 4 years, 9 months ago
Views 687
Views 687
SQL
Low
Question
Closed
Samuel
asked 4 years, 9 months ago
Views 611
Views 611

Can anyone explain css flexbox with example? Thank you.

CSS
Low
Question
Closed
Samuel
asked 4 years, 8 months ago
Views 628
Views 628
Html
Low
Question
Closed
Nicky
asked 4 years, 9 months ago
Views 637
Views 637
Other
Low
Question
Closed
Bunny
asked 4 years, 11 months ago
Views 552
Views 552

In sql Query we can use (TOP  LIMIT, ROWNUM )

what is purpose of TOP, LIMIT, ROWNUM Query

SQL
Low
Question
Closed
Fancy
asked 4 years, 10 months ago
Views 676
Views 676

What is Difference between Functional Testing and Non Functional Testing

Other
Low
Question
Closed
ashutoshmishra333
asked 4 years, 10 months ago
Views 894
Views 894

I have a models named Restaurant ,i want to fetch all the restaurant within the 3km radius of user's current …

Django
Medium
Problem
Closed
Nicky
asked 4 years, 9 months ago
Views 675
Views 675
Other
Low
Question
Closed
Shrestha7
asked 4 years, 10 months ago
Views 1005
Views 1005

Hello,

I was trying to setup a svelte js in django to build an ecommerce website. Then, I found out …

Django
Medium
Question
Closed
Soudhamini
asked 4 years, 9 months ago
Views 649
Views 649

While writing code and running it we halt due to some run time errors and exceptions,so

How to handle those …

Python
Medium
Question
Closed
Vengat
asked 4 years, 9 months ago
Views 710
Views 710

This query will give us John, Sam, Tom, Tom because they all have the same email.

However, what I want …

SQL
Low
Task
In-Progress
Shrestha7
asked 4 years, 9 months ago
Views 656
Views 656

Hello everyone ,
I am having problem in using active class in django based on page opened when it is …

Django
Medium
Problem
Closed
alikasimoglu
asked 4 years, 9 months ago
Views 771
Views 771

I have a staff list. I have a model for this as follows.

models.py:

class NumberOfMealsEaten(models.Model):
    month = models.ForeignKey(Months, on_delete=models.CASCADE) …
Django
Medium
Task
In-Progress
Nicky
asked 4 years, 9 months ago
Views 706
Views 706
MySQL
Low
Question
Closed
Nicky
asked 4 years, 9 months ago
Views 648
Views 648
Html
Low
Question
Closed
Soudhamini
asked 4 years, 9 months ago
Views 595
Views 595

I am new to php, and I am learning it so to store the information of the user in database …

Other
Medium
Question
Closed
rocky
asked 4 years, 9 months ago
Views 736
Views 736
CSS
Low
Question
Closed
rocky
asked 4 years, 9 months ago
Views 623
Views 623
Other
Low
Question
Closed
Fancy
asked 4 years, 10 months ago
Views 634
Views 634

How can merge two disctionaries in a single expression by taking union of dictionarie ?

Python
Low
Question
Closed
Fancy
asked 4 years, 10 months ago
Views 659
Views 659

Difference between Exploratory Testing and Usablity Testing

Other
Low
Question
Closed
Nicky
asked 4 years, 9 months ago
Views 589
Views 589
SQL
Low
Question
Closed
rocky
asked 4 years, 9 months ago
Views 681
Views 681
Java
Low
Question
Closed
Soudhamini
asked 4 years, 9 months ago
Views 692
Views 692

I am little bit confused about joins in MYSQL?

In what way we can use them?

And how many types …

MySQL
Medium
Question
Closed
kapjakal
asked 4 years, 10 months ago
Views 722
Views 722

I'm not sure how to save the form into the database. I know the form is not valid because I …

Django
Medium
Problem
Closed
Bunny
asked 4 years, 11 months ago
Views 594
Views 594

What is the different between Manual testing and Automation Testing

Other
Low
Question
Closed
Soudhamini
asked 4 years, 10 months ago
Views 675
Views 675

Anyone please help me in establishing connection in php to localhost...

Thanks in advance........

Other
Low
Question
Closed
Star
asked 5 years, 3 months ago
Views 631
Views 631
could any one explain clearly with examples
Python
Low
Question
Closed
Fancy
asked 4 years, 10 months ago
Views 642
Views 642

Details Explanation of STLC ?

Other
Low
Question
Closed
Fancy
asked 4 years, 10 months ago
Views 588
Views 588

What is Difference between Functional Testing and Non Functional Testing

Other
Low
Question
In-Progress
kapjakal
asked 4 years, 10 months ago
Views 633
Views 633

I am newbie to python. It would be great if someone help to create the high level script to get …

Python
Low
Task
Closed
Cheethirala
asked 4 years, 10 months ago
Views 728
Views 728

Is there any way to generate random numbers in python?

If there is a way ,what is it?

How many …

Python
Medium
Question
Closed
Soudhamini
asked 4 years, 10 months ago
Views 668
Views 668

Recently I have been working on php pages...

So I am not clear whether it is possible to include php …

Other
Medium
Question
Closed
Cheethirala
asked 4 years, 10 months ago
Views 697
Views 697

If it is possible please suggest me a way...

Any answer from you guys will be appreciated....

CSS
Medium
Question
Closed
Cheethirala
asked 4 years, 11 months ago
Views 644
Views 644

Can I know the exact difference between them and when should we use them ....

Thanks in advance.....

Java
Low
Question
Closed
sunil
asked 4 years, 11 months ago
Views 713
Views 713
input = 'a+b++b+++c++5+6+7++8+9++10'
string = input.split('+')
print(string)

when we run this code the output is ['a', 'b', '', 'b', '', …

Python
Low
Question
Closed
Cheethirala
asked 4 years, 11 months ago
Views 634
Views 634

These loops are really confusing ......

Any explanation with example will be of great help...

Help me out please

Python
Medium
Question
Closed
Cheethirala
asked 4 years, 11 months ago
Views 549
Views 549
Example:
<?xml version = "1.0" encoding = "UTF-8" standalone = "no" ?>
<info>
   <name>Pinky</name>
   <company>MFT</company>
   <phone>140-7859-123</phone>
</info>

In first line …

Other
Low
Question
Closed
mateigliga
asked 4 years, 11 months ago
Views 654
Views 654

I've created a Circular Simple Linked List class, but when I try to delete the first element from the list, …

Python
Low
Question
Closed
rocky
asked 4 years, 11 months ago
Views 525
Views 525
CSS
Low
Question
Closed
Soudhamini
asked 4 years, 11 months ago
Views 561
Views 561

If possible please suggest me away....

It will help us a lot

Thanks in advance...

CSS
Medium
Problem
Closed
vicif95865
asked 4 years, 11 months ago
Views 753
Views 753

When I fill the form with data correctly, it creates the account and redirects to the login page - just …

Python
Medium
Problem
In-Progress
Cheethirala
asked 4 years, 11 months ago
Views 507
Views 507

What is the scope of variables in javascript?

Any answer along with examples will be really helpful...........

Javascript
Medium
Question
Closed
Bunny
asked 4 years, 11 months ago
Views 544
Views 544

What is difference between INNERJOIN, LEFT JOIN RIGHT JOIN AND FULL JOIN?  

 

SQL
Low
Question
Closed
Fancy
asked 4 years, 11 months ago
Views 485
Views 485

How to Create a Table in SQL? 

SQL
Low
Question
Closed
rocky
asked 4 years, 11 months ago
Views 494
Views 494
Java
Low
Question
Closed
rahul
asked 4 years, 11 months ago
Views 542
Views 542

Hi,

I have recently upgraded my Rstudio to the latest version but now whenever I start Rstudio it gives me an …

Other
Medium
Problem
In-Progress
Soudhamini
asked 4 years, 11 months ago
Views 606
Views 606

Why should we use lambda function ?

Purpose of lambda function and difference between normal function ,lambda function...

Any response …

Python
Medium
Question
Closed
rocky
asked 4 years, 11 months ago
Views 549
Views 549

Can anyone explain in detail. Thanks

CSS
Low
Question
Closed
Nicky
asked 4 years, 11 months ago
Views 508
Views 508
Javascript
Low
Question
Closed
Bunny
asked 4 years, 11 months ago
Views 470
Views 470

SQL INSERT INTO Statement is used to add new rows of data to a table in the database.

SQL
Low
Question
Closed
Cheethirala
asked 4 years, 11 months ago
Views 531
Views 531

I want to know the purpose self in python which are used in classes?

What happens if we do not …

Python
Low
Question
Closed
Star
asked 5 years, 2 months ago
Views 493
Views 493

Is there something in JavaScript similar to @import in CSS that allows you to include a JavaScript file inside to …

Javascript
Low
Question
Closed
Soudhamini
asked 4 years, 11 months ago
Views 520
Views 520

Is it possible to prepare django form without using models

If possible please help me out...

Django
Medium
Question
Closed
Samuel
asked 4 years, 11 months ago
Views 507
Views 507
Html
Low
Question
Closed
Soudhamini
asked 4 years, 11 months ago
Views 535
Views 535

Hi guys ,actually I am having a list of elements which have duplicate elements also.......

So I want to find …

Python
Low
Task
Closed
Nicky
asked 4 years, 11 months ago
Views 609
Views 609

public void myMethod (String... strings)  {

// method body

}

What do the 3 dots in the above problem method mean?

Java
Medium
Problem
Closed
rocky
asked 4 years, 11 months ago
Views 536
Views 536
Python
Low
Question
Closed
rocky
asked 4 years, 11 months ago
Views 531
Views 531
SQL
Low
Question
Closed
rocky
asked 4 years, 11 months ago
Views 671
Views 671
Other
Low
Question
Closed
Cheethirala
asked 4 years, 11 months ago
Views 483
Views 483

I am unable to understand what is the difference between the sets,lists,tuples,and dict....

And when to use those ....

Any …

Python
Low
Question
Closed
Cheethirala
asked 4 years, 11 months ago
Views 490
Views 490

Is it possible to apply the shadow effect using css...

If possible help me out please........

CSS
Medium
Task
Closed
Cheethirala
asked 4 years, 11 months ago
Views 509
Views 509

How do I access the index in a for loop, such that the output will be like below...

OUTPUT:

item …
Python
Low
Problem
Closed
Soudhamini
asked 4 years, 11 months ago
Views 562
Views 562

I have tried many times but cant overcome it....

Any help would be appreciated...

for (Type type : types) { …
Java
Medium
Problem
Closed
Anonymous
asked 5 years, 1 month ago
Views 518
Views 518
Java
Low
Question
Closed
Anonymous
asked 5 years, 1 month ago
Views 510
Views 510

What do you understand by Reentrant Synchronization in Java programming language?

Java
Low
Question
Closed
Pro
asked 5 years ago
Views 1275
Views 1275

from django.contrib import admin

# Register your models here.

from Product.models import Catagory, Product


 

admin.site.register(Catagory)




 

class ProductAdmin(admin.ModelAdmin):

    list_display = ['title', 'status', 'created_at', 'updated_ad', 'image_tag']

    list_filter = ['title', 'created_at']

    list_per_page = 10

    search_fields = ['title', 'new_price', 'detail']

    

admin.site.register(Product, ProductAdmin)

Django
Low
Problem
Closed
charmy.smrutidash
asked 5 years ago
Views 473
Views 473

how to use search bar in a page whwre list of items are displayed using djano

Django
Medium
Question
Closed
Anonymous
asked 5 years, 1 month ago
Views 525
Views 525

What is the function of join() method in Thread class in Java programming language?

Java
Low
Question
Closed
Bunny
asked 5 years, 1 month ago
Views 605
Views 605

How do I merge two dictionaries in a single expression in Python (taking union of dictionaries)? 

Python
Low
Question
Closed
Fancy
asked 5 years, 1 month ago
Views 493
Views 493
Python
Low
Question
Closed
Fancy
asked 5 years, 1 month ago
Views 487
Views 487

The purpose of empty pair and base class

Python
Low
Question
Closed
Vengat
asked 5 years, 1 month ago
Views 577
Views 577

** On entry to DGEBAL parameter number  3 had an illegal value
 ** On entry to DGEHRD  parameter number  2 …

Python
Medium
Problem
Closed
Soudhamini
asked 5 years, 1 month ago
Views 520
Views 520
<div id="outer">
  <div id="inner">Foo foo</div>
</div>

Any answer will be a great help......

Html
Medium
Task
Closed
Anonymous
asked 5 years, 1 month ago
Views 502
Views 502

Need to update this table in SQL Server with data from its 'parent' table

SQL
Low
Problem
Closed
Anonymous
asked 5 years, 4 months ago
Views 5329
Views 5329

I am using openpyxl library to write in existing Excel file in separate cells.

How do I write some text …

Python
Low
Question
Closed
Unknown
asked 5 years, 1 month ago
Views 482
Views 482

LEFT JOIN vs. LEFT OUTER JOIN in SQL Server....

SQL
Low
Question
Closed
Nicky
asked 5 years, 1 month ago
Views 542
Views 542

I want a full description.

Python
Low
Question
Closed
Anonymous
asked 5 years, 1 month ago
Views 878
Views 878

unable to set up filter so that file paths are links.

Python
Low
Problem
Closed
muhammad.abdelaziz
asked 5 years, 1 month ago
Views 529
Views 529

Preliminary Info: Starting with names like Tech_backup1.tar.gz tech_backup11.tar.gz tech_backup41.tar.gz under the / home / backup folder. The Tech_backup part is …

ShellScript
Medium
Question
Closed
rocky
asked 5 years, 1 month ago
Views 534
Views 534
Other
Medium
Question
Closed
mateigliga
asked 5 years, 1 month ago
Views 1069
Views 1069

Hello, I'd like to know how can I use CKEditor inside Django crispy forms.
I've installed django-ckeditor and registered …

Django
Medium
Problem
Closed
Anonymous
asked 5 years, 1 month ago
Views 521
Views 521

Need some sudeo code to refer ....

Python
Low
Problem
Closed
Vengat
asked 5 years, 1 month ago
Views 1612
Views 1612

We have spark application which is running on cluster. After added the new spark worker its started throwing this error, …

Other
Medium
Problem
Closed
Anonymous
asked 5 years, 1 month ago
Views 567
Views 567
Python
Low
Question
Closed
Anonymous
asked 5 years, 1 month ago
Views 657
Views 657

Facing problem , when tried  to run test scripts against external websites.

I am trying to automate  both internal and …

Python
Low
Problem
Closed
Anonymous
asked 5 years, 1 month ago
Views 491
Views 491

I am looking for a while loop solution ...

Java
Low
Question
Closed
Anonymous
asked 5 years, 1 month ago
Views 646
Views 646

Trying to open an Excel with openpyxl library, however it is saving the Excel in read - only mode

Postgresql
Low
Problem
Closed
moazamrana22
asked 5 years, 6 months ago
Views 932
$10
Views 932

    Status_choices=(('True'),('False'))
    Status = forms.ChoiceField(widget=forms.Select, choices=Status_choices)

in forms.py

Django
Urgent
Question
Closed
kanagasabai
asked 5 years, 1 month ago
Views 502
Views 502
let i;
for (i = 0; i < 3; i++) {
  const log = () => {
    console.log(i);  }
  setTimeout(log, …
Javascript
Low
Problem
Closed
ahmed.hisham87
asked 5 years, 2 months ago
Views 825
Views 825

Hi,

I am trying to get the time spent on each page in a django project using Javascript. I keep …

Django
Medium
Problem
Closed
Bunny
asked 5 years, 2 months ago
Views 488
Views 488

How can Create a Pandas DataFrames in python?

Python
Low
Question
Closed
ahmed.hisham87
asked 5 years, 2 months ago
Views 483
Views 483

I am trying to make the like button in the post_detail.html page clicked without refreshing the page so, I included …

Javascript
Medium
Problem
Closed
Star
asked 5 years, 2 months ago
Views 501
Views 501

How to save a screen show in directory or folder in python selenium testing ? 

Can one help me

Python
Low
Question
Closed
nikhil7
asked 5 years, 2 months ago
Views 509
Views 509

Hi my problem is that i want to distribute my django app to different users but i want it to …

Django
Medium
Question
Closed
Anonymous
asked 5 years, 2 months ago
Views 481
Views 481

Can anyone help me how to manage both versions in one Windows 10.

Python
Medium
Problem
Closed
Anonymous
asked 5 years, 2 months ago
Views 476
Views 476

How to compare two strings in equal value??

Java
Low
Question
Closed
Anonymous
asked 5 years, 2 months ago
Views 487
Views 487

What are the source code for built-in python function like code behind sorted or enumerate etc...?

Python
Low
Question
Closed
Anonymous
asked 5 years, 2 months ago
Views 541
Views 541

I am trying to append text repeatedly to an existing file in Java. Not able to do so?

Java
Medium
Task
Closed
Anonymous
asked 5 years, 2 months ago
Views 560
Views 560

What are the main difference between an inner class and a static nested class in Java? Is it play a …

Java
Low
Question
Closed
Anonymous
asked 5 years, 2 months ago
Views 522
Views 522

Tried writing a Java routine to evaluate math expressions from String values like:

  1. "7+3"
  2. "10-30"
  3. "(1+10)*3"

Don’t want a lot of if-then-else …

Java
Medium
Problem
Closed
Anonymous
asked 5 years, 2 months ago
Views 506
Views 506

To be specific, I was trying this code:

package hello;

public class Hello {

    Clock clock = new Clock();

    public …
Java
Medium
Problem
Closed
Anonymous
asked 5 years, 2 months ago
Views 519
Views 519

Trying to shuffle the following Array randomly:

int[] solutionArray = {1, 2, 3, 4, 5, 6, 6, 5, 4, 3, …
Java
Medium
Question
Closed
Anonymous
asked 5 years, 2 months ago
Views 490
Views 490

Write Python logic to count the number of capital letters in a file.

Python
Low
Question
Closed
ashutoshmishra333
asked 5 years, 2 months ago
Views 714
Views 714

class Photo(models.Model):

image1=models.FileField(blank=True, default="",upload_to="media/images",null=True)

image2=models.FileField(blank=True, default="",upload_to="media/images",null=True)

def __str__(self):

return str(self.image1)

How can i download images from the both field on …

Django
Medium
Task
Closed
bhanupriyakuchana123
asked 5 years, 4 months ago
Views 685
Views 685

I'm tyring to test the Python Selenium and I have this code:

from selenium import webdriver
url = 'https://www.youtube.com/channel/UC8tgRQ7DOzAbn9L7zDL8mLg/videos'
driver …
Python
Medium
Problem
Closed
bhanupriyakuchana123
asked 5 years, 4 months ago
Views 1059
Views 1059

0

I have a python with selenium script that should be called with an argument that different for each person …

Python
Medium
Problem
Closed
bhanupriyakuchana123
asked 5 years, 4 months ago
Views 498
Views 498

I want to translate a page that chrome doesnt recognize the language. Is there a hotkey to translate a page?

Python
Low
Question
Closed
bhanupriyakuchana123
asked 5 years, 4 months ago
Views 1272
Views 1272

'm curious if anyone has found a work around for handling the random "Please Verify you are human" pop up …

Other
Low
Problem
Closed
hijaw39777
asked 5 years, 3 months ago
Views 1110
Views 1110

What can I do when my pagination breaks after first page when I specify the keyword in a form for …

Python
Medium
Problem
Closed
Anonymous
asked 5 years, 2 months ago
Views 452
Views 452

Not able to Implement social login authentication in Django ...

Django
Medium
Question
Closed
Anonymous
asked 5 years, 2 months ago
Views 528
Views 528

Can someone explain How a request is process in Django ?

Django
Medium
Question
Closed
p789ahm
asked 5 years, 2 months ago
Views 676
Views 676

I am fetching an external json file . Whenever I send the data in dictionary form to html page and …

Django
Low
Problem
Closed
kanagasabai
asked 5 years, 2 months ago
Views 446
Views 446

And after submission an alert of "submitted successfully"  should be displayed on top the screen..

Javascript
Low
Question
Closed
ahmed.hisham87
asked 5 years, 2 months ago
Views 624
Views 624

Hello, 

I want to know if there is a way to get the time spent by each user on each page …

Django
Medium
Question
Closed
ashutoshmishra333
asked 5 years, 3 months ago
Views 835
Views 835

Hello everyone hope you all doing well.

I need little guidance/help

I want to get all slots between the start …

Django
Medium
Task
Closed
ahmed.hisham87
asked 5 years, 3 months ago
Views 534
Views 534

I am trying to add CSS styling to my html email to be sent so I used `django-inlinecss 0.3.0` 

In …

Django
Medium
Problem
Closed
Anonymous
asked 5 years, 2 months ago
Views 573
Views 573

How to filter latest record by date in Django?

Django
Low
Question
Closed
Anonymous
asked 5 years, 2 months ago
Views 542
Views 542

How to login with email instead of username in Django?

Django
Low
Question
Closed
Anonymous
asked 5 years, 2 months ago
Views 853
Views 853

How to filter data from Django models using python datetime?

Django
Low
Question
Closed
Anonymous
asked 5 years, 2 months ago
Views 472
Views 472

How to create a project in Django?

Django
Low
Question
Closed
Anonymous
asked 5 years, 2 months ago
Views 517
Views 517

What are the inheritance styles in Django?

Django
Low
Question
Closed
Anonymous
asked 5 years, 2 months ago
Views 474
Views 474

What does the Django templates contain?

Django
Low
Question
Closed
Anonymous
asked 5 years, 2 months ago
Views 485
Views 485

What is the use of session framework in Django?

Django
Low
Question
Closed
Anonymous
asked 5 years, 2 months ago
Views 504
Views 504

Specify the features available in Django web framework?

Django
Low
Question
Closed
Anonymous
asked 5 years, 2 months ago
Views 508
Views 508

Can you set up static files in Django? How?

Django
Low
Question
Closed
Anonymous
asked 5 years, 2 months ago
Views 514
Views 514

How to handle URLs in Django?

Django
Low
Question
Closed
Anonymous
asked 5 years, 2 months ago
Views 581
Views 581

I am trying to install Django in my system.

But getting an error meassge ...

C:\Python34> pip install Django
'pip' …
Python
Medium
Problem
Closed
Anonymous
asked 5 years, 2 months ago
Views 460
Views 460

How Django processes a request?

Django
Low
Question
Closed
geekPro
asked 5 years, 2 months ago
Views 765
Views 765

and What are the different kinds of Doctypes available?

Html
Low
Question
Closed
geekPro
asked 5 years, 2 months ago
Views 428
Views 428
0.1 + 0.2 === 0.3 // => ???
Javascript
Low
Problem
Closed
p789ahm
asked 5 years, 3 months ago
Views 1329
Views 1329

Hi Everyone,

I am confusing here, I haev installed "django-filter" in my virtual environment. And added the same into my …

Django
Medium
Problem
Closed
ahmed.hisham87
asked 5 years, 2 months ago
Views 1008
Views 1008

Hi,

I am starting a new project using Python 3.8 and I am trying to install Pillow but returning this …

Python
Medium
Problem
Closed
kanagasabai
asked 5 years, 2 months ago
Views 506
Views 506

 Explain localStorage and sessionStorage..

Html
Low
Question
Closed
kanagasabai
asked 5 years, 2 months ago
Views 569
Views 569
var text = 'outside';
function logIt(){
    console.log(text);
    var text = 'inside';
};
logIt();

The above code don't throws an error! …

Javascript
Low
Problem
Closed
kanagasabai
asked 5 years, 3 months ago
Views 863
Views 863
CSS
Low
Question
Closed
geekPro
asked 5 years, 3 months ago
Views 636
Views 636

The following recursive code will cause a stack overflow if the array list is too large. How can you fix …

Javascript
Medium
Problem
Closed
Anonymous
asked 5 years, 3 months ago
Views 519
Views 519

How can I find the number of cores available to my application from within Java code?

Java
Low
Question
Closed
Anonymous
asked 5 years, 3 months ago
Views 545
Views 545

Is it possible to call a constructor from another (within the same class, not from a subclass)? If yes how? …

Java
Low
Question
Closed
Anonymous
asked 5 years, 3 months ago
Views 496
Views 496

I am getting a NoClassDefFoundError when I run my Java application. What is typically the cause of this?

Java
Low
Question
Closed
Anonymous
asked 5 years, 3 months ago
Views 463
Views 463

I'm getting a NoSuchMethodError error when running my Java program. What's wrong and how do I fix it?

Java
Medium
Problem
Closed
me
asked 5 years, 3 months ago
Views 462
Views 462

Hi,

Is there a video tutorial that is available to follow and do web notifications. I want people who are …

Django
Medium
Question
Closed
Anonymous
asked 5 years, 3 months ago
Views 432
Views 432

What is the use of anonymous classes in Java? Can we say that usage of anonymous class is one of …

Java
Low
Question
Closed
Anonymous
asked 5 years, 3 months ago
Views 500
Views 500

How would you check if a String was a number before parsing it?

Java
Low
Question
Closed
Anonymous
asked 5 years, 3 months ago
Views 482
Views 482

Successfully using this code to send HTTP requests with some parameters via GET method

void sendRequest(String request)
{
    // i.e.: …
Java
Medium
Question
Closed
Unknown
asked 5 years, 3 months ago
Views 443
Views 443

If you have a java.io.InputStream object, how should you process that object and produce a String?

Suppose I have …

Java
Low
Question
Closed
Unknown
asked 5 years, 3 months ago
Views 485
Views 485

I use object != null a lot to avoid NullPointerException.

Is there a good alternative to this?

For example …

Java
Low
Problem
Closed
Unknown
asked 5 years, 3 months ago
Views 533
Views 533
i += j;

Was just a shortcut for:

i = i + j;

But if we try this:

int i …
Java
Low
Question
Closed
Unknown
asked 5 years, 3 months ago
Views 483
Views 483

I have an array that is initialized like:

Element[] array = {new Element(1), new Element(2), new Element(3)};

I would like …

Java
Low
Question
Closed
Unknown
asked 5 years, 3 months ago
Views 449
Views 449

A model change from

standard = models.ManyToManyField(Standard)

to

standard = models.ManyToManyField(Standard, blank=True, null=True)

South schemamigration for this app doesn't recognize …

Django
Medium
Problem
Closed
Unknown
asked 5 years, 3 months ago
Views 504
Views 504

I  would like to know what are all the possible values for the timezone argument in the Python library pytz. How …

Python
Low
Question
Closed
Unknown
asked 5 years, 3 months ago
Views 490
Views 490

Is it possible to temporarily disable constraints in MySQL?

I have two Django models, each with a foreign key to …

MySQL
Low
Question
Closed
Unknown
asked 5 years, 3 months ago
Views 642
Views 642

I  am using Django (version 3.1) and have forgotten both admin username and password. How to reset both?

And is it …

Django
Medium
Problem
Closed
Unknown
asked 5 years, 3 months ago
Views 575
Views 575

using the Django REST Framework 2.0.

Here is my model class:

class Mission(models.Model):
  assigned_to = models.ForeignKey('auth.User',
                                   related_name='missions_assigned',
                                   blank = True) …
Django
Medium
Problem
Closed
Unknown
asked 5 years, 3 months ago
Views 540
Views 540

How do I remove an element from a list by index in Python?

I found the list.remove method, but say …

Python
Low
Question
Closed
Unknown
asked 5 years, 3 months ago
Views 526
Views 526
>>> a=[1,2,3]
>>> a.remove(2)
>>> a
[1, 3]
>>> a=[1,2,3]
>>> del a[1]
>>> a
[1, 3]
>>> a= [1,2,3] …
Python
Low
Question
Closed
Unknown
asked 5 years, 3 months ago
Views 466
Views 466

What's the difference between the list methods append() and extend()?

Python
Low
Question
Closed
Unknown
asked 5 years, 3 months ago
Views 544
Views 544

I have this program that calculates the time taken to answer a specific question, and quits out of the while …

Python
Low
Problem
Closed
bhavanaswvarn
asked 5 years, 3 months ago
Views 893
$10
Views 893

Hi

Could you please provide some examples, script with details level steps ?

My requirement is, I am building an …

Django
Urgent
Question
Closed
alani25
asked 5 years, 3 months ago
Views 3275
$10
Views 3275

Hi ,

I want to build the multi choice form in Django template . I mean user should able to …

Django
Urgent
Task
Closed
geekPro
asked 5 years, 3 months ago
Views 713
Views 713
function arrayFromValue(item) {
  return
    [item];
}

arrayFromValue(10); // => ???
Javascript
Low
Problem
Closed
Soudhamini
asked 5 years, 3 months ago
Views 449
Views 449

Hi guys ,

       I face a lot of confusion between margin and padding whem I am trying …

CSS
Low
Question
Closed
Unknown
asked 5 years, 3 months ago
Views 445
Views 445

How do I declare and initialize an array in Java?

Java
Low
Question
Closed
sai
asked 5 years, 3 months ago
Views 471
Views 471

Could you please tell me a way in python to open a file for both reading and writing......

Thanks in …

Python
Medium
Question
Closed
Jaanvi
asked 5 years, 3 months ago
Views 584
Views 584

What is the difference between these template tags truncate_words, truncatewords_html and truncatechars_html?

Django
Low
Question
Closed
alani25
asked 5 years, 4 months ago
Views 520
Views 520

I have an image file in the following location.

'D:\\projects\\IMG_2012-09-26T09-00-07.jpg'

While I am trying to read by directly giving the …

Python
Medium
Problem
Closed
p789ahm
asked 5 years, 4 months ago
Views 1139
Views 1139

Environment: Python 3.6, Django 3.0, DRF 3.11, JWT Authorization

I have a simple class in my API where I want …

Django
Medium
Question
Closed
p789ahm
asked 5 years, 3 months ago
Views 565
$5
Views 565

Hi Guys,

Please share detail level steps to push the django code from local to Heroku server?

As  I am …

Django
High
Task
Closed
sai
asked 5 years, 3 months ago
Views 570
Views 570

I have a file and I want to add some lines to the file without overriding the lines that are …

Python
Medium
Question
Closed
sai
asked 5 years, 3 months ago
Views 447
Views 447

For example:

I have a list of tuples like:

data = [(1,2,3), (4,3,6), (7,0,9)]

I want the output as:

[(7, …
Python
Medium
Problem
Closed
mstk_sql
asked 5 years, 4 months ago
Views 597
Views 597

I recently installed Python 3.8 onto my computer. I now have Python 3.7 and 3.8. I would like to delete …

Python
Low
Question
Closed
mstk_sql
asked 5 years, 4 months ago
Views 505
Views 505
start = int(input("Enter a number: "))

for number in range (1, start + 1):
    if (number % 2 != 0): …
Python
Medium
Question
Closed
p789ahm
asked 5 years, 4 months ago
Views 491
Views 491

How to to convert object string data from the csv column into total seconds.

In my csv sheet, data looks …

Python
Low
Problem
Closed
BrunoSeixas
asked 5 years, 4 months ago
Views 493
$10
Views 493

Hi again
Today i deployed my django app on heroku but now i have 1 issue

When i create a …

Python
Urgent
Question
Closed
ashutoshmishra333
asked 5 years, 6 months ago
Views 839
$10
Views 839

I am creating to get data from django model to excel sheet,while doing so I am getting all the data …

Django
Urgent
Question
Closed
p789ahm
asked 5 years, 3 months ago
Views 492
Views 492

I have a python function that I want to check if a certain field is present in the json that …

Python
Low
Question
Closed
Jaanvi
asked 5 years, 3 months ago
Views 495
Views 495

What is the key difference beween these CSS properties and when to use them?
Thanks in advance!

CSS
Low
Question
Closed
sai
asked 5 years, 3 months ago
Views 541
Views 541

Suggest me a way to take list of numbers as input 

Help from anyone will make me solve it more …

Python
Medium
Question
Closed
Soudhamini
asked 5 years, 3 months ago
Views 477
Views 477

In java,

    I want to delay the execution of thread for 5 sec 

   Is it possible to …

Java
Medium
Task
Closed
Star
asked 5 years, 3 months ago
Views 489
Views 489

can any one explain details . could you please help me

Python
Low
Question
Closed
Star
asked 5 years, 3 months ago
Views 468
Views 468

 I tried this code extend method , some how my code is not working

my_array = array('i', [1,2,3,4,5]) 
my_extnd_array = …
Python
Low
Question
Closed
Star
asked 5 years, 3 months ago
Views 446
Views 446

How to Create a Database SQLite , if anyone help , 

SQL
Low
Question
Closed
Anonymous
asked 5 years, 4 months ago
Views 445
Views 445

I have (n,m) array arr1, where n is almost 2.5 million and m =100. Another arr2 is (n, …

Python
Medium
Question
Closed
Anonymous
asked 5 years, 4 months ago
Views 1029
Views 1029

 I had both Python 2.7 and 3.5 installed on my Mac and was able to use them both successfully. Not …

Python
Medium
Problem
Closed
Anonymous
asked 5 years, 4 months ago
Views 446
Views 446
class Color(Enum):
    RED = 1
    GREEN = 2
    BLUE = 3

Is there a type expression expression Foo such that: …

Python
Medium
Question
Closed
Anonymous
asked 5 years, 4 months ago
Views 513
Views 513

Is there any advantage to using the 'type hint' notation in python?

import sys
def parse(arg_line: int) -> str:
    print …
Python
Medium
Question
Closed
Anonymous
asked 5 years, 4 months ago
Views 523
Views 523

I'm trying to create some pixelart using a matrix in pycharm, the problem is that i have never used this …

Python
Medium
Question
Closed
Anonymous
asked 5 years, 4 months ago
Views 493
Views 493

I have the a large dataframe where I calculate the p value using a t-test for each row. I now …

Python
Medium
Problem
Closed
Anonymous
asked 5 years, 4 months ago
Views 492
Views 492

Given a list of instances of class A[A() for _ in range(5)], I want to randomly select …

Python
Medium
Problem
Closed
Anonymous
asked 5 years, 4 months ago
Views 479
Views 479

In the df underneath, I want to sort the values of column 'cdf_X' based on column 'A' and 'X'. Column …

Python
Medium
Problem
Closed
Anonymous
asked 5 years, 4 months ago
Views 548
Views 548

I have a dataframe with the patient's diagnosis in a column and using pandas I want to dichotomize the diagnosis …

Python
Medium
Question
Closed
Anonymous
asked 5 years, 4 months ago
Views 2118
Views 2118

I check my code using mypy. I got these errors:

  1. I have an object names: List[str], for len(names) …

Python
Medium
Problem
Closed
Anonymous
asked 5 years, 4 months ago
Views 487
Views 487

[....'1', '2937', '0', '0', 'Sep 10 20:34:44 2020', 'Sep 10 20:35:41 2020', '1', '2978', '0', '0', 'Sep 10 20:34:44 2020', …

Python
Medium
Problem
Closed
Anonymous
asked 5 years, 4 months ago
Views 498
Views 498

I'm writing a library in Python which makes calls to a REST API, receives results in JSON, and returns Python …

Python
Medium
Question
Closed
Anonymous
asked 5 years, 4 months ago
Views 493
Views 493

is there an older version of pip that doesn't check SSL certificates?

my corporate proxy replaces the cert from pypi …

Python
Low
Question
Closed
Anonymous
asked 5 years, 4 months ago
Views 457
Views 457

I'm writing data to a CSV file, then once that's done, I copy the file to another directory.

This is …

Python
Medium
Question
Closed
Anonymous
asked 5 years, 4 months ago
Views 747
Views 747

Using https://github.com/jpwatts/django-positions,

I have a few models that inherit from a parent one, for example:

class ContentItem(models.Model):

    class Meta: …
Django
Medium
Question
Closed
Anonymous
asked 5 years, 4 months ago
Views 469
Views 469

Background:

I'm using py.test together with pytest-selenium, now I would like to take a screenshot of page when assertion fails. …

Python
Low
Question
Closed
Anonymous
asked 5 years, 4 months ago
Views 1455
Views 1455

I'm succeeded logging in sites using Selenium in Python 3.4 The login process is like below:

browser = webdriver.PhantomJS()
browser.get('url') …
Python
Medium
Question
Closed
Anonymous
asked 5 years, 4 months ago
Views 603
Views 603

I am new to DRF and I am having trouble with overriding its methods.

I would like to allow a …

Django
Medium
Question
Closed
Anonymous
asked 5 years, 4 months ago
Views 516
Views 516

I have this function that I want to read a single byte from a large file. The only problem is …

Python
Medium
Question
Closed
Anonymous
asked 5 years, 3 months ago
Views 495
Views 495

In a Django project where I need to create a form for inputs. I tried to import reverse from django.core.urlresolvers …

Python
Medium
Problem
Closed
Anonymous
asked 5 years, 3 months ago
Views 1099
Views 1099

After updating a Django 1.7 project to Django 1.8 and now get errors when I run the tests (that are …

Django
Medium
Problem
Closed
Anonymous
asked 5 years, 3 months ago
Views 935
Views 935

Trying to start a webpage using the Django framework. 

After creating the project, I tried to start an app that …

Django
Medium
Problem
Closed
Anonymous
asked 5 years, 3 months ago
Views 1329
Views 1329

My template cannot display the image coming from my model.

src attribute comes with proper field but it does not …

Django
Medium
Problem
Closed
Anonymous
asked 5 years, 3 months ago
Views 4012
Views 4012
Model class django.contrib.contenttypes.models.ContentType doesn't declare an explicit app_label 

 Any advice would be tremendously appreciated.

I'm using Python 3.4 and Django …

Django
Low
Problem
Closed
Anonymous
asked 5 years, 3 months ago
Views 537
Views 537

Using the following filters in Postman to make a POST request in a Web API but I am unable to …

Python
Low
Problem
Closed
Anonymous
asked 5 years, 3 months ago
Views 491
Views 491

For example, if passed the following:

a = []

How do I check to see if a is empty?

Python
Low
Question
Closed
Unknown
asked 5 years, 3 months ago
Views 453
Views 453

I've got a nested loop construct like this:

for (Type type : types) {
    for (Type t : types2) { …
Java
Low
Problem
Closed
Anonymous
asked 5 years, 4 months ago
Views 484
Views 484

So each request it sends keeps printing

{"success":false,"code":7,"message":"Ad creation cooldown has not elapsed"}

and everytime it prints this I want …

Python
Medium
Problem
Closed
Anonymous
asked 5 years, 4 months ago
Views 1928
Views 1928

I have admin view with tabular inline:

class AddressInline(admin.TabularInline):
    model = Address
    can_delete = False
    readonly_fields = ['kind']
    max_num = …
Django
Medium
Question
Closed
Anonymous
asked 5 years, 4 months ago
Views 837
Views 837

I have a small Django app with a form, wich saves some data to the DB.

Here's the form:

class …
Django
Medium
Question
Closed
Anonymous
asked 5 years, 3 months ago
Views 1819
Views 1819

app.models.py

class ColorSet(models.Model):
    color = models.CharField(max_length=50, verbose_name='Color', default='', blank=True, null=True)
    code = models.CharField(max_length=50, verbose_name='Code of color', default='', blank=True, null=True)

    class …
Django
Medium
Problem
Closed
Anonymous
asked 5 years, 3 months ago
Views 554
Views 554

Trying to define a constant with the value of model's class in the settings.py to provide a dynamically-defined FK for …

Django
Medium
Problem
Closed
Anonymous
asked 5 years, 3 months ago
Views 644
Views 644

Tried to run command:

from django.urls import path

Getting error:

Traceback (most recent call last): File "< stdin >", line …

Django
Low
Problem
Closed
Anonymous
asked 5 years, 3 months ago
Views 503
Views 503

Trying to build a shared library using a C extension file but first I have to generate the output file …

Python
Medium
Problem
Closed
Anonymous
asked 5 years, 3 months ago
Views 2116
Views 2116

My urlpatterns :

urlpatterns = [
    re_path(r'^dj-admin/', admin.site.urls),
    re_path(r'^admin/', include(wagtailadmin_urls)),
    re_path(r'^docs/', include(wagtaildocs_urls)),

    i18n_patterns(
        path(r'', include(wagtail_urls)),
        prefix_default_language = False
    )
] …
Django
Low
Problem
Closed
Anonymous
asked 5 years, 3 months ago
Views 636
Views 636

Viewed 15k times

In the following django model:

class MyModel(models.Model):
    published = models.BooleanField(default=False)
    pub_date = models.DateTimeField('date published')

I want the pub_date …

Django
Low
Problem
Closed
Anonymous
asked 5 years, 3 months ago
Views 462
Views 462

I am getting an 'access is denied' error when I attempt to delete a folder that is not empty. I …

Python
Low
Problem
Closed
Anonymous
asked 5 years, 3 months ago
Views 523
Views 523

problem with deleting empty directories. Here is the code:

for dirpath, dirnames, filenames in os.walk(dir_to_search):
    //other codes

    try:
        os.rmdir(dirpath)
    except …
Python
Medium
Problem
Closed
Anonymous
asked 5 years, 3 months ago
Views 481
Views 481

What is the correct way to write the statement if ($a contains 'are') for below code ??

$a = 'How …
Html
Low
Question
Closed
Anonymous
asked 5 years, 3 months ago
Views 426
Views 426

I have two Python dictionaries, and I want to write a single expression that returns these two dictionaries, merged (i.e. …

Python
Low
Question
Closed
Anonymous
asked 5 years, 3 months ago
Views 462
Views 462

looking for a string.contains or string.indexof method in Python.

want to do:

if not somestring.contains("blah"):
   continue
Python
Low
Question
Closed
me
asked 5 years, 3 months ago
Views 1108
$10
Views 1108

Hi everyone,

I have a simple form with checkboxes and a submit button upon clicking, the results show up fine …

Django
Urgent
Problem
Closed
Unknown
asked 5 years, 4 months ago
Views 474
Views 474

A file having number of rows and columns where the input file are not fixed. Also,  there can be duplicate …

Python
Medium
Question
Closed
Soudhamini
asked 5 years, 3 months ago
Views 479
Views 479
If I have a table with two columns, how do I specify any other css so that it is applied …
CSS
Low
Question
Closed
sai
asked 5 years, 3 months ago
Views 515
Views 515

I have a list of tuples like

data = [(1,2,3),('soni','ansh','shivika'),('female','male','female')]

Now I want to extract the 2nd element from the …

Python
Medium
Problem
Closed
moazamrana22
asked 5 years, 3 months ago
Views 781
Views 781

Hello! need to ask that, do you guys helps in odoo framework too?

I had created a module in odoo …

Other
Medium
Question
Closed
Soudhamini
asked 5 years, 3 months ago
Views 453
Views 453
Java
Medium
Question
Closed
hakinen100
asked 5 years, 6 months ago
Views 627
Views 627

Hi developers, could somebody advise me how to create on-click editable table in web application in Django? I am using …

Django
Medium
Question
Closed
Soudhamini
asked 5 years, 3 months ago
Views 412
$5
Views 412

Consider two lists like:

L1=[13,12,0,29,5]
L2=[19,23,1,29,10]

Now I want the output as:

L3=[(13,19),(12,23),(0,1),(29,29),(5,10)]

How can I get that........

Python
High
Problem
Closed
ronaldlouritson
asked 5 years, 7 months ago
Views 690
Views 690

Hi Good day Team,

I'm begginer and currently developing an eCommerce project.

I have found a tutorial on add/remove to cart …

Django
Medium
Question
Closed
Anonymous
asked 5 years, 4 months ago
Views 653
Views 653

I have a panel of stocks with these columns: Date, Ticker, Ret, MTB. I want to rank the stocks based …

Python
Medium
Problem
Closed
Soudhamini
asked 5 years, 4 months ago
Views 507
Views 507

I have two lists

​
L1=['NAME','AGE','EMAIL','GENDER']
L2=['SOUMYA','22','soumya22@gmail.com','female']

​

I want the output as :

{'NAME':'SOUMYA','AGE':'22','EMAIL':'soumya22@gmail.com','GENDER':'FEMALE'}

Python
Low
Problem
Closed
Soudhamini
asked 5 years, 3 months ago
Views 511
Views 511

I want to know what is different between these abstract class and interface...

Answer  from anyone will help me a …

Java
Medium
Question
Closed
ashutoshmishra333
asked 5 years, 4 months ago
Views 558
Views 558

Suppose there are 7 choices ,e.g 7 days

I want all the name of 7 days in a list

I …

Django
Medium
Task
Closed
bhanupriyakuchana123
asked 5 years, 4 months ago
Views 2469
Views 2469

I was trying to login in this website https://www.henryschein.com/us-en/Profiles/Login.aspx using Python Selenium and Chrome driver but it says that Access …

Python
Medium
Problem
Closed
BrunoSeixas
asked 5 years, 5 months ago
Views 1035
$10
Views 1035

So my issue is that when i try to render_to_string and send the email with that message it shows only …

Python
Urgent
Question
Closed
Soudhamini
asked 5 years, 3 months ago
Views 439
Views 439
public class Main
{
	public static void main(String[] args) {for (int i=0; i<6; i++)
  {
  for (int j=0; j<i; j++) …
Java
Medium
Task
Closed
Soudhamini
asked 5 years, 3 months ago
Views 523
Views 523
Python
Low
Question
Closed
Vengat
asked 5 years, 3 months ago
Views 538
Views 538

I have a requirement to read the 

{{ request.user.username }}

in Javascript to pass the value to Django backend. But …

Django
Medium
Question
Closed
Soudhamini
asked 5 years, 3 months ago
Views 480
Views 480
l1=[20,30,10.5]

I have the following list I want the output as:

[30,40,20.5]

I want the most efficient way of answer

Python
Medium
Problem
Closed
Soudhamini
asked 5 years, 3 months ago
Views 1377
Views 1377
s = [1,20, 67, 21, 56, 13]
print(*s, sep = '\n')

this is the list I have 

I want this …

Python
Low
Problem
Closed
Soudhamini
asked 5 years, 3 months ago
Views 507
Views 507
<span style="background-colour:red; @media (max-width:300px){background-colour:yellow;}"></span>

Is this possible?

Help me out.......

CSS
Medium
Question
Closed
Soudhamini
asked 5 years, 3 months ago
Views 468
$5
Views 468

I have the following code:

class ClassA(object):
    def __init__(self):
        self.var1 = 5
        self.var2 = 2

    def methodA(self):
        self.var1 = self.var1 …
Python
High
Question
Closed
9895fernando
asked 5 years, 5 months ago
Views 568
Views 568
Hi, I have a problem. When I try to log in in the Django Admin, this error occurs (image attached). …
Python
Medium
Question
Closed
prameessa249
asked 5 years, 5 months ago
Views 1667
Views 1667

Hello,

I have a django web app and i want to add some like button in my feeds like facebook,twitter …

Django
Low
Question
Closed
Soudhamini
asked 5 years, 4 months ago
Views 447
Views 447

I have the following code

def fun1(par):
    print('Hi this is a function without filling the parameter')
    return True

fun1()

And …

Python
Medium
Question
Closed
moazamrana22
asked 5 years, 7 months ago
Views 515
Views 515

i have used on delete cascade and on update cascade in my database i.e, mysql. i am using django version …

Django
Medium
Question
Closed
eslamelnagar44
asked 5 years, 7 months ago
Views 491
$5
Views 491

i need to know if i can login more than one user in the same time because when i login …

Python
High
Question
Closed
ahmed.hisham87
asked 5 years, 8 months ago
Views 618
Views 618

I wanted to add a comment section but i got a post() missing 1 required positional argument: 'post_id' ` error

class …
Python
Low
Question
Closed
bookletgo
asked 5 years, 8 months ago
Views 487
Views 487

when i create the object manager in model its not rendering properly

Django
Low
Question
Closed
bookletgo
asked 5 years, 8 months ago
Views 510
Views 510

Actually, i am trying to pass the data to template in Detail view. But its not working. What is the …

Django
Low
Question
Closed
bookletgo
asked 5 years, 8 months ago
Views 557
Views 557

How to hide AWS S3 URL from front end?

Python
Low
Question
Closed
janice10sombillo
asked 5 years, 6 months ago
Views 1003
$5
Views 1003

I have this dropdown that filter the year of a documents it is working fine but i want to use …

Python
High
Question
Closed
ahmed.hisham87
asked 5 years, 8 months ago
Views 641
Views 641

I am trying to add a like button using Ajax and & Jquery in Like Button but  I keep getting the …

Python
Low
Question
Closed
ahmed.hisham87
asked 5 years, 8 months ago
Views 466
Views 466

Hi again friends,

The total_likes have been hashtagged/commented in the LikeView.

The count is working perfectly in the admin and …

Django
Low
Question
Closed
ahmed.hisham87
asked 5 years, 8 months ago
Views 632
Views 632

I am trying to switch from writing the id:pk of the blog to writing a function to add the post …

Django
Low
Question
Closed
ahmed.hisham87
asked 5 years, 8 months ago
Views 484
Views 484

Hi there, 

Thanks to you we have found a solution for moving from PK to slug in the detailed view …

Django
Low
Question
Closed
ahmed.hisham87
asked 5 years, 8 months ago
Views 576
Views 576

I am adding a comment section for my posts, the issue is after submitting it leads to HTTP ERROR 405 …

Django
Low
Question
Closed
chris
asked 5 years, 8 months ago
Views 490
Views 490
class TokenView(ListView):
    template_name = 'home.html'
    queryset  = Token.objects.filter(approved='Y')
  

Please help me on this 

Django
Low
Question
Closed
maheshbist111
asked 5 years, 8 months ago
Views 843
Views 843

System check identified no issues (0 silenced).
May 28, 2020 - 13:23:50
Django version 3.0.6, using settings 'ecommerce.settings'
Starting development …

Django
Low
Question
Closed
ahmed.hisham87
asked 5 years, 7 months ago
Views 611
Views 611

I am trying to link each comment to a post and to a username

I have proceeded with the logic …

Django
Low
Question
Closed
ahmed.hisham87
asked 5 years, 7 months ago
Views 499
Views 499

Helloo Teckiys, 

I am trying to fix the add to cart and single item remove from the cart and I …

Python
Low
Question
Closed
moazamrana22
asked 5 years, 7 months ago
Views 2313
$10
Views 2313

After connecting my django project with mysql localhost database i had created an app after that run the command python …

Python
Urgent
Question
Closed
sarojkoirala42
asked 5 years, 6 months ago
Views 6201
$5
Views 6201

ajax code

<button>Load Data</button>
          <hr>
            <script>
             $(document).ready(function(){
                
                $("button").click(function(){
                    
                    $.ajax({
                     url: "loadtabledata", 
                     type: "GET", //send it through get method 
                     data: { …
Python
High
Question
Closed
BrunoSeixas
asked 5 years, 5 months ago
Views 3198
$10
Views 3198

Hi i have found an issue while developing my webapp

So i tried to render my template called marketingup.html and …

Python
Urgent
Question
Closed
kovy.jacob
asked 5 years, 5 months ago
Views 548
Views 548

I am getting this when I run my django site's form:

Forbidden (403)

CSRF verification failed. Request aborted.

Help

Reason given …

Django
Medium
Question
Closed
lassejonassen
asked 5 years, 5 months ago
Views 615
$5
Views 615

I have just uploaded my django project to a ubuntu server at Linode.com. I wanted to test out my site …

Django
High
Question
Closed
BrunoSeixas
asked 5 years, 4 months ago
Views 523
$10
Views 523

Hey there i cannot connect my app.. I tried to follow Corey Shaffer tutorial on how to deploy in heroku …

Python
Urgent
Question
Closed
Vengat
asked 5 years, 4 months ago
Views 473
Views 473

I am facing some challenge to formatting the Float data type in Postgresql DB.

I have order table after I …

Postgresql
Medium
Problem
Closed
Vengat
asked 5 years, 4 months ago
Views 463
Views 463

I have added the logo for my website as a title one.

So I have used link shortcut icon set …

Html
Low
Problem
Closed
Soudhamini
asked 5 years, 4 months ago
Views 474
Views 474
def isPrime(x):
    if x > 1:
        for i in range(2, x):
            if x % i == 0:
                return False

        return …
Python
Medium
Problem
Closed
meena
asked 5 years, 4 months ago
Views 1167
Views 1167

I require to sftp files from one linux server to another using password authentication. I need to call this script …

Unix
Medium
Question
Closed
Soudhamini
asked 5 years, 4 months ago
Views 456
Views 456

I want a function like

​
d = dict(p1=1, p2=2)
def f2(p1, p2):
    print(p1, p2)
f2(d)

​

which returns output …

Python
Medium
Task
Closed
ashutoshmishra333
asked 5 years, 4 months ago
Views 632
$5
Views 632

How to delete token of the recently logged in user.

#models.py

class MyUserManager(BaseUserManager):

def create_user(self, email, password=None, **extra_fields):

if not …

Django
High
Question
Closed
Soudhamini
asked 5 years, 4 months ago
Views 476
Views 476

 I have two lists, l1 and l2. I want to perform l1 - l2, which …

Python
Medium
Problem
Closed
Soudhamini
asked 5 years, 4 months ago
Views 460
Views 460

I want a code which compares multiple integer values for one value and therefore it returns a list as an output …

Python
Medium
Problem
Closed
Soudhamini
asked 5 years, 4 months ago
Views 442
Views 442

I have a list of characters like 

a = ['he','ll','o','  ','good','mo','rni','n','g']

I want te final output as

hello  goodmorning

could …

Python
Low
Problem
Closed
Vengat
asked 5 years, 4 months ago
Views 544
Views 544

I am trying to pass the CHOICE field value in Django Template in a tag, like below,

<a href="{% url …
Django
Medium
Problem
Closed
p789ahm
asked 5 years, 4 months ago
Views 574
Views 574

I am looking to find a way to make my HTTP request in a specfic/exact time for example 09:02:00:00 AM. …

Python
Low
Question
Closed
chitu
asked 5 years, 5 months ago
Views 547
$5
Views 547

Hi team, 
I'm working on project, data transfer from onpremis postgres DB to cloud postgres DB through Google cloud data …

Python
High
Question
Closed
BrunoSeixas
asked 5 years, 5 months ago
Views 481
$10
Views 481

i want this to disappear (<django....>) how can i do that

After i receive the email instead of showing the …

Python
Urgent
Question
Closed
perez
asked 5 years, 5 months ago
Views 513
$10
Views 513

How do i work on post, put, get , delete and patch methods on models with relationships from the django …

Django
Urgent
Question
Closed
shovon
asked 5 years, 5 months ago
Views 624
$10
Views 624

I have deployed a scrapy project on an ec2. I need a splash for scrapping some websites. Splash is working …

Python
Urgent
Question
Closed
karan
asked 5 years, 5 months ago
Views 510
Views 510

how to fetch images from google cloud to my django image slider web app?

Python
Medium
Question
Closed
ben
asked 5 years, 5 months ago
Views 496
Views 496

Hi, I'm after some advice, i'm currently new(ish) to Django and want to know what would the best package/framework to …

Django
Medium
Question
Closed
swastikshrestha0001
asked 5 years, 5 months ago
Views 450
Views 450

Hello,

I was just try to build django ecommerce site from just django channel .Then i got an error User matching …

Django
Medium
Question
Closed
lassejonassen
asked 5 years, 5 months ago
Views 534
$5
Views 534

I have not succesfully been able to have mit django website running via Apache. The problem is now that i …

Python
High
Question
Closed
ahmed.hisham87
asked 5 years, 5 months ago
Views 574
Views 574

I'm trying to fix a bug in my project.

When a user goes to the product detail page, the user …

Python
Low
Question
Closed
mominul
asked 5 years, 5 months ago
Views 601
$5
Views 601

I'm trying to clone the Instagram web page using Django(version-3.1). My Django project has an app called 'post'. One of …

Django
High
Question
Closed
mominul
asked 5 years, 5 months ago
Views 466
Views 466

I'm trying to clone instagram web page using Django(version-3.1).
my Django project has an app called 'post'.
one of it's …

Python
Low
Question
Closed
ahmed.hisham87
asked 5 years, 5 months ago
Views 509
Views 509

I am creating a project where there are Posts and Items, 2 different models in 2 different apps and each …

Python
Low
Question
Closed
catgomessousa
asked 5 years, 5 months ago
Views 535
Views 535

I need to add an event calendar to my Django app

I have tried Django-scheduler but I can't manage to …

Django
Medium
Question
Closed
ashutoshmishra333
asked 5 years, 5 months ago
Views 435
Views 435

I am posting the link of my prototype,please guide me how can i do this.

https://marvelapp.com/prototype/769if5d/screen/70192002

Python
Low
Question
Closed
js-tutul
asked 5 years, 5 months ago
Views 514
$10
Views 514

I want to make something like when someone download a pdf from my site after downloading download value will be …

Django
Urgent
Question
Closed
swastikshrestha0001
asked 5 years, 5 months ago
Views 456
$5
Views 456

 This is my nav bar dropdown in django template. I want it to be changed to become a freelancer when we …

Django
High
Question
Closed
sushkc787
asked 5 years, 6 months ago
Views 1292
$5
Views 1292

How to handle search using filters checkbox in Django?

Django
High
Question
Closed
catgomessousa
asked 5 years, 6 months ago
Views 572
Views 572

Hello! I am an industrial engineering student and I am developing a small project with a Gantt chart. I am …

Django
Medium
Question
Closed
catgomessousa
asked 5 years, 6 months ago
Views 519
Views 519

Hello! I am an industrial engineering student and I am developing a small project with a Gantt chart. I am …

Django
Medium
Question
Closed
oghomwenogunmwonyi
asked 5 years, 6 months ago
Views 552
Views 552

Can someone help me change class base to function base, I am better of function base, class base is quite …

Python
Medium
Question
Closed
RadySonabu
asked 5 years, 6 months ago
Views 579
$10
Views 579

I am currently having a single database for service_1 and service_2. Now a client wants to make it a separate …

Python
Urgent
Question
Closed
swastikshrestha0001
asked 5 years, 6 months ago
Views 509
$5
Views 509

Hello everyone, i was creating api for comments in django and i submit comment then i got runtime error and …

Django
High
Question
Closed
sabaict8
asked 5 years, 6 months ago
Views 439
Views 439

  please can anyone solve the issue.  It stopped installing process after sometimes.    

I posted it before but accidently …

SQL
Low
Question
Closed
sabaict8
asked 5 years, 6 months ago
Views 481
Views 481

                                        …

SQL
Low
Question
Closed
RadySonabu
asked 5 years, 6 months ago
Views 501
Views 501

Currently I am connecting 2 service via search_path and using inspectdb. I wonder if there;s a way like using a …

Python
Medium
Question
Closed
Israr697-coder
asked 5 years, 6 months ago
Views 489
Views 489

Anyone can help me with ajax. I'm making a form and getting data from backend but my ajax is not …

Javascript
Medium
Question
Closed
venkatsushil.99
asked 5 years, 6 months ago
Views 520
$5
Views 520

Hai Guys, so i am using django and react. Now i need to display a search box in page-2, which …

Javascript
High
Question
Closed
RadySonabu
asked 5 years, 6 months ago
Views 499
Views 499

How do you foreign key an API? Like for Microservices in Django

1. Do I need to make a model …

Python
Medium
Question
Closed
ashutoshmishra333
asked 5 years, 6 months ago
Views 452
$10
Views 452

I am creating to get data from django model to excel sheet,while doing so I am getting all the data …

Django
Urgent
Question
Closed
kopacanova47
asked 5 years, 6 months ago
Views 709
$10
Views 709

i am having a problem uploading files to my server (shareserver) in cpanel.

when I upload a file either by …

Django
Urgent
Question
Closed
RadySonabu
asked 5 years, 6 months ago
Views 556
Views 556

I have 3 separate django projects and they share the same database.

1. I create a abstractuser model and everytime …

Python
Low
Question
Closed
deepikasrinivasasharma
asked 5 years, 6 months ago
Views 518
Views 518

I relly want to know how to send emails from django admin panel...

Like i want to send emails to …

Django
Low
Question
Closed
moazamrana22
asked 5 years, 6 months ago
Views 460
$10
Views 460

Waiter Task Model

'''

class WaiterTasks(models.Model):
    task_id = models.AutoField(primary_key=True)
    admin = models.ForeignKey(Admins, models.DO_NOTHING, blank=True, null=True)
  …

Other
Urgent
Question
Closed
manupanduworld
asked 5 years, 6 months ago
Views 485
Views 485

i want to add currency converter to my E-Commerce website. how can i do like this?

Django
Medium
Question
Closed
manupanduworld
asked 5 years, 7 months ago
Views 576
$10
Views 576

what is difference between object and instance? any one give me some clarification with exampke. 

Django
Urgent
Question
Closed
moazamrana22
asked 5 years, 6 months ago
Views 512
$10
Views 512

I am using my custom login func. when i find the specific user whose id pass is correct i want …

Django
Urgent
Question
Closed
ahmed.hisham87
asked 5 years, 7 months ago
Views 480
Views 480

Hi Teckiys,

I have created a newsletter app to send emails to subscribers. After adding a new newsletter and setting …

Django
Low
Question
Closed
JoshFauske
asked 5 years, 6 months ago
Views 561
Views 561

I'm trying to create a json packet like the one in the first picture. What I'm getting is what's in …

Django
Medium
Question
Closed
sarojkoirala42
asked 5 years, 7 months ago
Views 541
$5
Views 541

Views.py 

def updatetable(request):

   if request.method == 'GET' :

    post_id = p_board_detail.objects.filter(board_year_id= year_id)

    return HttpResponse("post_id")

Django
High
Question
Closed
moazamrana22
asked 5 years, 7 months ago
Views 559
$5
Views 559

I am creating an api for post to add a record into my table but the problem is that i …

Django
High
Question
Closed
maheshbist111
asked 5 years, 7 months ago
Views 551
Views 551

Getting bellow error

InvalidRequestError at /cart/checkout/

Request req_SMZSaDduY9pgEX: Invalid string: {
  "addre...d": null
}; must be at most 500 characters …
Django
Low
Question
Closed
moazamrana22
asked 5 years, 7 months ago
Views 733
$5
Views 733

def update(request,id):
    user=Login.objects.get(id=id)
    print(user.user_id)
    print(user.user_pass)
    form=LoginForm(request.POST)
    if form.is_valid():
        print("Form is valid.")
       …

Django
High
Question
Closed
janice10sombillo
asked 5 years, 7 months ago
Views 645
$5
Views 645

Hi, I want to create a website visitors counter where it shows on the website how many users visits the website. …

Django
High
Question
Closed
moazamrana22
asked 5 years, 7 months ago
Views 530
$5
Views 530

i am trying to update a record from mysql database. Following is my update func.

def update(request,id):
    user=Login.objects.get(id=id)
   …

Django
High
Question
Closed
mianfazal
asked 5 years, 7 months ago
Views 522
$10
Views 522

I have a mode in which two fields one is Name and other is Image.

I upload image by the …

Django
Urgent
Question
Closed
ahmed.hisham87
asked 5 years, 8 months ago
Views 555
Views 555

I have a problem with the variations and the quantity related to it in the order summary page.

This is …

Django
Low
Question
Closed