Re: Question about `_meta` API's naming

2024-02-21 Thread Jason
https://forum.djangoproject.com/ would be a better place to ask, FYI. as far as why keep private... lets flip it around. Why make it public? what's the benefit of this change? Having it private means that the API internals can change if necessary On Tuesday, February 20, 2024 at 10:15:43 AM

Question about `_meta` API's naming

2024-02-20 Thread Gyeong Hoe Koo
As the documentation says, Django's `_meta` API is core (https://docs.djangoproject.com/en/5.0/ref/models/meta/), but in my knowledge, APIs that start with `_` are private. Table names, etc. are one of the important APIs, and they seem to be pretty stable. Shouldn't we make them public instead

question-test

2023-10-17 Thread 'RAUL OLAZAGOITIA' via Django users
Hi group I am reaching out to try and ask for django common issues. Can't see your comments on the group. can you help me? -- 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

Re: Can any one help me with this question

2023-06-22 Thread Annadatha Rao
Hi, Can you please recommend any ui components to use with django, like graphs, datagrid etc. With regards, Annadatha. On Sun, Jun 18, 2023, 8:59 PM Annadatha Rao wrote: > Dear All, > > Do DJANGO migrations work with Oracle 11.2 with python-oracle db driver, > please show me an example if

Re: Can any one help me with this question

2023-06-22 Thread Annadatha Rao
Thank you for your reply. Annadatha. On Thu, Jun 22, 2023, 10:45 PM Praveen Chaudhary wrote: > Hi Annadatha, > > I'm glad to hear that upgrading to Oracle 21c worked for you. As for your > question about working without migrations in Django, it's certainly > possible but

Re: Can any one help me with this question

2023-06-22 Thread Praveen Chaudhary
Hi Annadatha, I'm glad to hear that upgrading to Oracle 21c worked for you. As for your question about working without migrations in Django, it's certainly possible but it's important to understand the implication and trade-offs. Django migrations provide a way to manage and apply changes

Re: Can any one help me with this question

2023-06-22 Thread Annadatha Rao
Hi Prabin, Thank you, it worked when I upgraded db to 21c (oracle), thank you for your help. Small question, can I work without migrations, some have I hate migrations being a legacy programmer from (Cobol days). I value your opinion. Thank you, ANNADATHA. On Sun, Jun 18, 2023 at 9:19 PM

Re: Can any one help me with this question

2023-06-18 Thread Annadatha Rao
Thank you very much praveen, I will try and let you know. Annadatja On Sun, Jun 18, 2023, 9:19 PM Praveen Chaudhary wrote: > Yes, Django migrations can work with Oracle 11.2 using the python-oracle > database driver. However, it's important to note that the python-oracle > package is not an

Re: Can any one help me with this question

2023-06-18 Thread Praveen Chaudhary
Yes, Django migrations can work with Oracle 11.2 using the python-oracle database driver. However, it's important to note that the python-oracle package is not an official Oracle-provided driver. The official driver is called cx_Oracle, which is widely used for connecting Django to Oracle

Can any one help me with this question

2023-06-18 Thread Annadatha Rao
Dear All, Do DJANGO migrations work with Oracle 11.2 with python-oracle db driver, please show me an example if works. Thank you for your support, Annadatha. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: Question re: input

2023-04-01 Thread Robin Riis
You can check out rabbitMQ if it can fit your needs. Theres a plugin in django that simplifies integration. On Sat, Apr 1, 2023, 19:06 o1bigtenor wrote: > On Sat, Apr 1, 2023 at 9:51 AM Robin Riis wrote: > > > > What kind of environment are we talking about? > > Me designed software - - -

Re: Question re: input

2023-04-01 Thread o1bigtenor
On Sat, Apr 1, 2023 at 9:51 AM Robin Riis wrote: > > What kind of environment are we talking about? Me designed software - - - physically challenging (possible outdoors, possible inclement conditions + ) > > But i guess you mean that you have a server in one location and multiple > clients

Re: Question re: input

2023-04-01 Thread Robin Riis
What kind of environment are we talking about? But i guess you mean that you have a server in one location and multiple clients from diffrent locations that should be able to upload some kind of data to the server. SSH is great to connect to a remote machine in a secure manner. And scp to send

Question re: input

2023-04-01 Thread o1bigtenor
Greetings I am in the porcess of planning out a complicated environment. User will almost always be remote. How does one easily get information 'into' the environment? (Not sure these are the right questions but 1. Does one have to be connected to the environment 2. Does the complete form have

Re: Hierarchy for Docker Files / "docker-compose up" issue — Question re: Chapter 2 of Django for Professionals

2022-09-08 Thread Bhuvnesh Sharma
hi Stephanie, Can you post the screenshot of your dockerfile? On Thursday, September 8, 2022 at 10:57:46 PM UTC+5:30 stephanie...@gmail.com wrote: > Hi all, any help would be appreciated: > > *Question:* > >1. In the below screenshot of VSC, are the last six files all in

Re: data model question

2022-08-17 Thread Ryan Nowakowski
e from postgres databases, some >from hibob (human management reources) >the question is this, >here are my >1. do I use a disconnected external ETL process or use django for everything >2. do I create all data resources using django data modeling or use the >internal manageme

data model question

2022-08-17 Thread yaron amir
we are developing a control system that looks at data from multiple sources. some of the data is extracted from AWS, some from postgres databases, some from hibob (human management reources) the question is this, here are my 1. do I use a disconnected external ETL process or use django

Re: DRF question

2022-07-24 Thread Ram
Hi Jason, Thank you for your email. 1. I'm not sure what you are referring to 'template-based' responses with RESTFUL? 2. Also we are not looking for extensibility to be smooth. My concern is why we need to change the existing implementation in user registration when DRF is a separate package?

Re: DRF question

2022-07-24 Thread Ram
Hi Jason,is separ Thank you for your email. 1. I'm not sure what you are referring to 'template-based' responses with RESTFUL? 2. Also we are not looking for extensibility to be smooth. My concern is why we need to change the existing implementation in user registration when DRF is a separate

Re: DRF question

2022-07-23 Thread Jason
sure, it can be used to extend, but you're also equating template-based responses with restful. those are pretty differnet paradigims, so you do need to account for the different use cases. there's a reason why DRF is a separate package built on top of django, and not in core. because its a

Re: DRF question

2022-07-23 Thread Ram
Hi Jason, Thank you for your email. I expected DRF could be an extensible feature rather than forcing to change existing implementation. Extensibility practice happens in many open source and enterprise projects. That is why I'm shocked to learn this. Best regards, ~Ram On Sat, Jul 23, 2022

Re: DRF question

2022-07-23 Thread Jason
Ram, what did you expect, to be honest? Going from forms to rest are two different implementation details for the same concept. When you do such things, you need to evaluate whether the tradeoffs are worth it. On Saturday, July 23, 2022 at 1:30:43 AM UTC-4 ram.mu...@gmail.com wrote: > Hi

Re: DRF question

2022-07-22 Thread Ram
Hi Thomas & Julio, Thank you for your answers, but we are shocked to learn that our user registration functionality has to be rewritten again to create REST APIs. That means whatever Apps that we developed on User registration have to be modified too and this further means that we will have to

Re: DRF question

2022-07-20 Thread Julio Cojom
Hi Ram, Aditional to all the suggestions, please keep in mind django-filters as they are important to filter data in your api requests Regards, Julio Cojom El mié, 20 jul 2022 a las 20:37, Michael Thomas (< michael.thomas.s...@gmail.com>) escribió: > There's no reason at all that DRF can't be

Re: DRF question

2022-07-20 Thread Michael Thomas
There's no reason at all that DRF can't be used to do this. Just don't use a viewset, as it's not the right fit for this type of thing. Read through the code for how your current system works, then re-implement the relevant parts as DRF ApiView's. On Thu, Jul 21, 2022 at 8:43 AM Ram wrote: >

Re: DRF question

2022-07-20 Thread Ram
Thank you all for quick suggestions. We are stuck with implementing the first API, which is login endpoint. That means since we already developed user registration functionality before without DRF, there seems no way to create a login endpoint so that an existing registered user can login using

Re: DRF question

2022-07-19 Thread Hella thor
Hi Ram 您可以在原来项目的基础上创建新的APP来单独给移动应用程序来使用,并在整体项目完成以后研究是不是需要DRF来兼容。 Lalit Suthar 于2022年7月19日周二 19:04写道: > I would also suggest keeping Django views as it is and writing new views > for your APIs > maybe you can create another file named apiviews.py and then write new > APIs with help of your

Re: DRF question

2022-07-19 Thread Lalit Suthar
I would also suggest keeping Django views as it is and writing new views for your APIs maybe you can create another file named apiviews.py and then write new APIs with help of your present views refer: https://www.django-rest-framework.org/api-guide/views/ On Tue, 19 Jul 2022 at 06:38, Nikhil

Re: DRF question

2022-07-18 Thread Nikhil Chawla
1. Serializers.py for each model. 2. Maybe create separate DRF views that parse and render JSON, and avoid cluttering pure Django views. 3. Keep the website UI as is. On Tuesday, July 19, 2022 at 5:52:19 AM UTC+5:30 ram.mu...@gmail.com wrote: > Hi, > > We completed coding all the features

Re: DRF question

2022-07-18 Thread Nikhil Chawla
Don't clutter the django views with DRF requests. Keep them separate, available at, say `api` endpoints. On Tue, 19 Jul 2022, 06:17 Michael Thomas, wrote: > Hey Ram, > > I'm afraid no one can answer your questions without knowing your code, how > it works, or anything else... > > Broadly

Re: DRF question

2022-07-18 Thread Ram
Hi Thomas, Thank you very much for your quick response. I think you understand my requirements. I'm basically trying to know what needs to be done in DRF implementation for developing a mobile app using Flutter when my website is still using existing UI and also without changing any

Re: DRF question

2022-07-18 Thread Michael Thomas
Hey Ram, I'm afraid no one can answer your questions without knowing your code, how it works, or anything else... Broadly speaking, here's how we approached a similar scenario: 1) Created one or more Serializer for each model that required interaction via API. Some models required more than

DRF question

2022-07-18 Thread Ram
Hi, We completed coding all the features without DRF for our web site and now we are planning to develop a mobile app for the same website by keeping the web site as it is and develop a mobile app using Flutter. Based on our understanding, we have do the following in the current code for adding

Re: ?? question ,its urgent

2022-06-26 Thread Wazed Khan
> wrote: >> >> how to store the data in django databse table if user append fields >> according to their need >> for example i have 1 one field 1) name 2) age 3) salary and the sign('+) >> if user click on + sign row append one plus in form..my question is that &g

Re: ?? question ,its urgent

2022-06-26 Thread Ryan Nowakowski
ording to their need >for example i have 1 one field 1) name 2) age 3) salary and the sign('+) >if user click on + sign row append one plus in form..my question is that i >want to store the data in all appended textboxes in single field in >database,, > >-- >You received this message

Re: ?? question ,its urgent

2022-06-23 Thread Soumen Khatua
f user click on + sign row append one plus in form..my question is that i > want to store the data in all appended textboxes in single field in > database,, > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To uns

Re: ?? question ,its urgent

2022-06-20 Thread Wazed Khan
You could make the fields as not required like name = models.CharField(blank =True) I could be wrong or Didn't get your question if I'm in one of them ignore the suggestion. On Mon, Jun 20, 2022 at 12:47 PM Abhinandan K wrote: > how to store the data in django databse table if user app

Re: ?? question ,its urgent

2022-06-20 Thread Seelam Mahesh
in form..my question is that i > want to store the data in all appended textboxes in single field in > database,, > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and sto

Re: ?? question ,its urgent

2022-06-20 Thread Paul Kudla (SCOM.CA Internet Services Inc.)
r need for example i have 1 one field 1) name 2) age 3) salary and the sign('+) if user click on + sign row append one plus in form..my question is that i want to store the data in all appended textboxes in single field in database,, -- You received this message because you are subscribed to the

Re: ?? question ,its urgent

2022-06-20 Thread Abhishek Choudhury
ble if user append fields > according to their need > for example i have 1 one field 1) name 2) age 3) salary and the sign('+) > if user click on + sign row append one plus in form..my question is that i > want to store the data in all appended textboxes in single field in > datab

?? question ,its urgent

2022-06-20 Thread Abhinandan K
how to store the data in django databse table if user append fields according to their need for example i have 1 one field 1) name 2) age 3) salary and the sign('+) if user click on + sign row append one plus in form..my question is that i want to store the data in all appended textboxes in single

Re: Question about from integer models

2022-05-30 Thread Hansel Johansyah
UTC+5:30 jakartaman...@gmail.com wrote: > >> Hi Everyone >> >> I wanna question about the integer would input by models, with some class >> ClassName >> numb = models.IntegerField() >> and the views is : >> number = ClassName.objects.values_list('numb'

Re: Question about from integer models

2022-05-30 Thread Chiranjeevi Kodati
. Regards Chiranjeevi On Monday, 30 May 2022 at 15:36:07 UTC+5:30 jakartaman...@gmail.com wrote: > Hi Everyone > > I wanna question about the integer would input by models, with some class > ClassName > numb = models.IntegerField() > and the views is : > number = ClassNam

Question about from integer models

2022-05-30 Thread Hansel Johansyah
Hi Everyone I wanna question about the integer would input by models, with some class ClassName numb = models.IntegerField() and the views is : number = ClassName.objects.values_list('numb', flat=True).distinct() then the templates is : 1 2 3 4 5 so i call the number from django admin

Re: GEODJANGO Problem/Question

2022-05-11 Thread Steve Watts
I suspect there are fewer than 7,000 errors. I had "Step" set to 1,000. I imagine I can figure out how many errors there really are by setting "Step" to 1, This will get me started, but I am still very interested in further insight regarding my original question. Thanks, St

GEODJANGO Problem/Question

2022-05-10 Thread Steve Watts
I am running a LayerMapping on a set of ShapeFiles acquired from a County GIS Department. I've done a quite a bit of this, and this is the first time I"ve seen such an issue. As LayerMapping is proceeding through the file saving model instances, it encounters one that it can't handle:

question in registeration

2022-05-05 Thread Mohammed Ahmed
hello every one i want to know in registeration i put random emails not registerd in gmail or hotmail or any kind of emails domain this email saved in my database i want to make sure this email is exist or not before registeraion complete -- You received this message because you are

Re: Python Question re Executing a Script (Mike)

2022-05-01 Thread Mike Dewhirst
o:* Brent Hunter ; python-l...@python.org *Subject:* Re: Python Question re Executing a Script On 1/05/2022 8:37 am, Brent Hunter wrote: Hello, I just purchased a new Windows 11 computer and installed Python 3.10.4 (64 bit).  I can't figure out from your documentation, how do I:   1

Re: Question regarding adding language support to webapp based on Django

2022-03-28 Thread Antonis Christofides
in question: https://gundam-data.herokuapp.com/uce/ We are currently managing the text to be translated via a Google Sheet and once we've gotten everything we will get it compiled and pushed out to the webapp. Thanks in advance for any tips/feedback on this! -- You received this message because you

Question regarding adding language support to webapp based on Django

2022-03-23 Thread Guan Zhang
examples that deals with this specifically, I will gladly review those. Oh in case anybody is interested, this is the webapp in question: https://gundam-data.herokuapp.com/uce/ We are currently managing the text to be translated via a Google Sheet and once we've gotten everything we will get

Question for Upload images issue

2021-11-23 Thread Alam Khazi
Hi, By using Vuejs, Axios and Django, we're uploading "multiple images" using Vuejs form in one upload/browse attempt. After uploading, the images are getting in a list and then the list of images names are stored into backend in ImageField. The image names are saving into database but not saving

Re: Question regarding organizing models

2021-11-18 Thread Twizerimana Emmanuel
hy yooo i got problem in python quadratic equation in python how to operate delta that is less than 0 using complex function On Sun, Nov 14, 2021 at 9:24 PM Peter of the Norse wrote: > You can put a string with the name of a class that is yet to be defined in > the ForeignKey. >

Re: Question regarding organizing models

2021-11-14 Thread Peter of the Norse
You can put a string with the name of a class that is yet to be defined in the ForeignKey. https://docs.djangoproject.com/en/3.2/ref/models/fields/#foreignkey In this case you would do created_by_id =

Re: Hi, i had question in django rest framework

2021-10-30 Thread MR INDIA
ng wrote: > >> Hello I am a backend developer who is developing python django. >> I sent you an e-mail because I had a question. >> Currently, my company provides web services using pure django. >> As the company grew bigger and bigger, >> the directio

Re: Hi, i had question in django rest framework

2021-10-30 Thread waqar khan
I am waqar khan I am from Maharashtra in thane city i am looking for job python web developer Please recommend any job. On Fri, Oct 29, 2021 at 10:16 PM taxijjang wrote: > Hello I am a backend developer who is developing python django. > I sent you an e-mail because I had a qu

Re: Hi, i had question in django rest framework

2021-10-29 Thread Sunil Gyawali
I really want to work in django On Fri, Oct 29, 2021, 10:15 PM taxijjang wrote: > Hello I am a backend developer who is developing python django. > I sent you an e-mail because I had a question. > Currently, my company provides web services using pure django. > As the company

Hi, i had question in django rest framework

2021-10-29 Thread taxijjang
Hello I am a backend developer who is developing python django. I sent you an e-mail because I had a question. Currently, my company provides web services using pure django. As the company grew bigger and bigger, the direction of development was decided through api communication by separating

Re: Quick question for web hosting production

2021-10-14 Thread Isaac Moctezuma
scomer El mié, 13 oct 2021 a las 1:13, Derek () escribió: > Here's a similar question on StackOverflow: > > > https://stackoverflow.com/questions/65141036/deploy-react-and-django-with-nginx-and-docker > > > On Friday, 8 October 2021 at 16:17:27 UTC+2 patz...@gmail.com wrot

MSSQL server database question

2021-10-14 Thread hebers
Greetings. I was given a task of creating a django app that will use a database. However, I am not given admin rights to create a database on MSSQL Server, and I can only create tables inside an assigned database with existing tables. I have tried migrations on an existing database (py

Re: Quick question for web hosting production

2021-10-13 Thread Derek
Here's a similar question on StackOverflow: https://stackoverflow.com/questions/65141036/deploy-react-and-django-with-nginx-and-docker On Friday, 8 October 2021 at 16:17:27 UTC+2 patz...@gmail.com wrote: > I want to ask a quick question guys that, is it possible to host 2 apps in > one

Re: Quick question for web hosting production

2021-10-11 Thread bnmng
, 2021 at 10:17:27 AM UTC-4 patz...@gmail.com wrote: > I want to ask a quick question guys that, is it possible to host 2 apps in > one cloud service? like for example, angular for the front end and django > for the backend? and they would use one ip address right but on a differen

Quick question for web hosting production

2021-10-08 Thread Patrick Luke Astrero
I want to ask a quick question guys that, is it possible to host 2 apps in one cloud service? like for example, angular for the front end and django for the backend? and they would use one ip address right but on a different port? -- You received this message because you are subscribed

Re: Question regarding organizing models

2021-09-23 Thread bnmng
Are you saying a user can only have one company? If a user can have more than one company then just define the foreign key in company. Then there will automatically be query set attached to each user called company_set. Otherwise, you can define a OneToOneField in User. You can create a

Re: how to question (web page item placement)

2021-07-12 Thread Ryan Nowakowski
I'm that case you might want to skip responsive design and take a look at relative or absolute positioning with CSS for the margin and indentation. Look at flexbox for the boxes. On July 11, 2021 4:13:58 PM CDT, o1bigtenor wrote: >On Sun, Jul 11, 2021 at 11:05 AM Ryan Nowakowski >wrote: >> >>

Re: how to question (web page item placement)

2021-07-11 Thread o1bigtenor
On Sun, Jul 11, 2021 at 11:05 AM Ryan Nowakowski wrote: > > Do you want the indentation to be different on different screens sizes(mobile > phone, tablet, laptop, desktop)? 3.5 cm might be too much on mobile devices. > Hmmm - - - main focus is NOT mobile devices - - - don't think they can

Re: how to question (web page item placement)

2021-07-11 Thread Ryan Nowakowski
Do you want the indentation to be different on different screens sizes(mobile phone, tablet, laptop, desktop)? 3.5 cm might be too much on mobile devices. On July 11, 2021 10:14:23 AM CDT, o1bigtenor wrote: >Greetings > >Am looking to use django for a personal application. > >I am one of those

how to question (web page item placement)

2021-07-11 Thread o1bigtenor
Greetings Am looking to use django for a personal application. I am one of those plagued by planning things out - - - in advance. I'm not finding direct information for how to specifically place things on as page. Vague - - - yes - - - that's html but if I want something like at 3.5 cm down

Re: code question

2021-06-29 Thread frank dilorenzo
I thought I had been everywhere on the web but guess not. This really helped me a lot and I have it working now. Thanks a lot! frank- On Tue, Jun 29, 2021 at 7:57 PM Lalit Suthar wrote: > https://youtu.be/SNXn76SI1Ks > try this > > On Wed, Jun 30, 2021, 1:27 AM frank dilorenzo > wrote: > >>

Re: code question

2021-06-29 Thread Lalit Suthar
https://youtu.be/SNXn76SI1Ks try this On Wed, Jun 30, 2021, 1:27 AM frank dilorenzo wrote: > Here is a function view: > > def base(request): > > shipments = Shipment.objects.all().order_by("-slabel")[:5] > > suppliers = Supplier.objects.all() > > > context = { > >

code question

2021-06-29 Thread frank dilorenzo
Here is a function view: def base(request): shipments = Shipment.objects.all().order_by("-slabel")[:5] suppliers = Supplier.objects.all() context = { "shipments": shipments, "suppliers": suppliers, } return render(request, "base/dashboard.html",

Re: Newbie question

2021-06-07 Thread Lalit Suthar
he record I want to edit. I can edit my fields > and now it is time to save the changes back to the database. > > I found a .save() method for > # Create a form to edit an existing Article, but use > # POST data to populate the form. > >>> a = Article.objects.get(pk=1) >

Newbie question

2021-06-07 Thread Moose Smith
rm to edit an existing Article, but use # POST data to populate the form. >>> a = Article.objects.get(pk=1) >>> f = ArticleForm(request.POST, instance=a) >>> f.save() My question is this: The .save method discuss in the Django Documentation above is a method of ModelForm b

Re: 'Question' object has no attribute 'choice_text'

2021-05-12 Thread UK Accounts
django.utils import timezone # Create your models here. class Question(models.Model): question_text = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def __str__(self): return self.question_text def was_published_recently(self): now = timezone.now() return now

Re: 'Question' object has no attribute 'choice_text'

2021-05-07 Thread Daniel Hepper
ing below error > > 'Question' object has no attribute 'choice_set' > selected_choice = question.choice_set.get(pk=request.POST['choice']) > Can you advice > > Regards > Rishi > On Monday, 25 December 2017 at 05:22:55 UTC+5:30 Daniel Hepper wrote: > >> Are you sure

Re: 'Question' object has no attribute 'choice_text'

2021-05-07 Thread Rishipal Singh
Hi Daniel, I am working on same tutorial and stuck at Tutorial # 4.. I have checked your code too.. Still getting below error 'Question' object has no attribute 'choice_set' selected_choice = question.choice_set.get(pk=request.POST['choice']) Can you advice Regards Rishi On Monday, 25

Re: Question about models. test

2021-05-02 Thread Peter of the Norse
This kind of script can be dangerous. It’s possible for malicious websites to create a page that can use up too many resources or otherwise act strangely. URLValidator

Re: Question about models. test

2021-02-25 Thread Ryan Nowakowski
On Thu, Feb 25, 2021 at 01:06:00AM -0500, dupakoor kannan wrote: > I have the following model > > class Publication(models.Model): > name = models.CharField(max_length=25, blank=True, null=False) > publication_url = models.TextField(blank=True) Once you clean out all the bad data, you

Question about models. test

2021-02-24 Thread dupakoor kannan
Hello everyone, I have the following model class Publication(models.Model): name = models.CharField(max_length=25, blank=True, null=False) publication_url = models.TextField(blank=True) and observed there are some inactive URLs on the production server (due to data entry mistakes). Is

Stack Overflow Question

2021-01-27 Thread Vooks Education
Hello kind souls, Anyone able to solve this stackoverflow question. Both answers were not able to solve the issue :) Any help is appreciated! https://stackoverflow.com/questions/65879639/how-do-i-include-my-def-clean-slug-function-into-my-views-or-template-so-that-it -- You received

Stack Overflow Question --- delete function not working

2021-01-27 Thread Vooks Education
Any kind soul: How may I solve this stack overflow question :) https://stackoverflow.com/questions/65912953/why-cant-i-remove-the-member-from-the-list-and-delete-their-interest -- You received this message because you are subscribed to the Google Groups "Django users" group. To u

Stack Overflow Question

2021-01-09 Thread Joel Tanko
Hey, guys any ideas on how to get about this? Django CMS in Django https://stackoverflow.com/q/65645573/12957767?sem=2 -- 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

Re: Was I supposed to be able to create a question on the website using 'runserver'?

2020-11-11 Thread Jorge Gimeno
That's a helper function to get the Question instances you need for testing. It's a way to query for those questions without repeating the same code over and over in tests. -Jorge On Wed, Nov 11, 2020 at 5:56 AM Carlos Henrique < carloshenrique...@poli.ufrj.br> wrote: > I'm

Was I supposed to be able to create a question on the website using 'runserver'?

2020-11-11 Thread Carlos Henrique
meant to be user-side and when I use 'runserver', on the website there's no such option, only the previously created question. This is the code for the function: def create_question(question_text, days): """ Create a question with the given `question_text` and published the

Re: Question about permissions for django.git

2020-10-31 Thread Christopher Keith
Hey Kasper- Many thanks! Tried your suggestion and it works. Does this mean that my specific git configuration is such that the 'git' URL will not work? If so, it is possible that https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/working-with-git/ could be updated to

Re: Question about permissions for django.git

2020-10-31 Thread Kasper Laudrup
Hi Chris, On 31/10/2020 17.02, Christopher Keith wrote: Folks - I am following the instructions from https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/working-with-git/ . However, when I try to 'git fetch' the source repo, I get 'Permission denied' PS

Question about permissions for django.git

2020-10-31 Thread Christopher Keith
Folks - I am following the instructions from https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/working-with-git/ . However, when I try to 'git fetch' the source repo, I get 'Permission denied' PS C:\Users\chris\Documents\Github> git clone

Re: A beginner question

2020-09-14 Thread Annick Sakoua
Hi , Here is the documentation link, follow every steps of the tutorial and it gonna be fine. https://docs.djangoproject.com/en/3.1/ All the best :) Le dimanche 13 septembre 2020 à 13:17:37 UTC+1, neginha...@gmail.com a écrit : > Hi, I'm a beginner, just now I installed Django, how can I

Re: A beginner question

2020-09-13 Thread Emmanuel Oppong Ntiamoah
https://www.youtube.com/playlist?list=PL6gx4Cwl9DGBlmzzFcLgDhKTTfNLfX1IK Sent from my iPhone > On 13 Sep 2020, at 12:17 PM, negin hajilou wrote: > > Hi, I'm a beginner, just now I installed Django, how can I use it?? > -- > You received this message because you are subscribed to the Google

Re: A beginner question

2020-09-13 Thread Kasper Laudrup
Hi Negin, On 13/09/2020 13.22, negin hajilou wrote: Hi, I'm a beginner, just now I installed Django, how can I use it?? Most serious software projects have a section on their homepage called "documentation". Django is no exception: https://docs.djangoproject.com/en/3.1/intro/ Kind

A beginner question

2020-09-13 Thread negin hajilou
Hi, I'm a beginner, just now I installed Django, how can I use it?? -- 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 django-users+unsubscr...@googlegroups.com.

question for register_model()

2020-09-05 Thread y b S
Hi all, I am currently studying Django source code, then i have one question: in registry.py, for app_config in self.app_configs.values(): app_config.import_models() import_models() uses self.apps.all_models but when this variable is filled? and when and how register_model

Re: A question about running Channels and Django code under Celery

2020-08-24 Thread shahee...@gmail.com
my original posting, I had not noticed that the exception noted below was still happening AND when I moved off my development system onto an AWS deployment setup, everything stopped working. On Saturday, 22 August 2020 at 14:52:33 UTC+1 shahee...@gmail.com wrote: > I have a question about

Re: My first question

2020-08-23 Thread sakshi jain
questions bank..tu phele mere swal ka jwab de On Sun, Aug 23, 2020, 13:53 firstd...@gmail.com wrote: > Re-formatted the answer and it's now available at > https://medium.com/@liuzheng900204/as-a-programmer-you-need-to-understand-these-about-files-b542c60d9285?sk=00c805001cd05feb7d501f6e7e1bbd04

Re: My first question

2020-08-23 Thread firstd...@gmail.com
Re-formatted the answer and it's now available at https://medium.com/@liuzheng900204/as-a-programmer-you-need-to-understand-these-about-files-b542c60d9285?sk=00c805001cd05feb7d501f6e7e1bbd04 On Tuesday, July 21, 2020 at 1:07:29 AM UTC+8 meth...@gmail.com wrote: > Consider reading this article

A question about running Channels and Django code under Celery

2020-08-22 Thread Shaheed Haque
I have a question about running Channels and Django code under Celery. Originally, I had some code that used neither Channels nor Celery, but simply run as part of the View code: def import_all(...) ...database access... This is an expensive operation and to avoid timing out the browser, I

Re: A short question:

2020-07-22 Thread Ronaldo Mata
Hi Hadisur Rahman, you can try to use selenium (web automation) or try to find an API call into DevTools > Network > XHR El mié., 22 jul. 2020 a las 11:41, Hadisur Rahman () escribió: > One of the websites we are going to scrape uses dynamic content loading > via JavaScript. How would you

A short question:

2020-07-22 Thread Hadisur Rahman
One of the websites we are going to scrape uses dynamic content loading via JavaScript. How would you overcome that? -- 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

Re: My first question

2020-07-20 Thread George
Consider reading this article on how to read csv files in Python . On Saturday, July 18, 2020 at 11:55:57 AM UTC+5:30, Sead Sejo Gicić wrote: > > What is the difference between ordinary txt file and csv file for using in >

Re: My first question

2020-07-20 Thread Liu Zheng
y much your informative post. Question below - - - > > On Sat, Jul 18, 2020 at 9:14 AM Liu Zheng > wrote: > >> Hi. Doesn't sound like a Django question, but I assume you came across >> this question when writing Django codes:) So anyway, let me try to see >>

Re: My first question

2020-07-20 Thread Liu Zheng
:) On Monday, July 20, 2020 at 2:25:00 PM UTC+8, Derek wrote: > > This would make a great blog post! And in future, we can all refer > directly to it, when someone asks a similar question. > > On Saturday, 18 July 2020 16:13:53 UTC+2, Liu Zheng wrote: >> >> Hi. Doesn't s

  1   2   3   4   5   6   7   8   9   10   >