Re: Try to save multiple files using a one to many fields django

2021-02-22 Thread Ryan Nowakowski
On February 21, 2021 11:04:49 PM CST, jose angel encinas ramos wrote: >hello everyone, i working in my inventory django app, in this project i >try >to create a new area and in to each area has a posible to save >multiples >pdf. >so, when i try to save pdf in some new area have this error in

Re: How to use .vue files in Django project

2021-02-25 Thread Ryan Nowakowski
On Thu, Feb 25, 2021 at 04:24:25PM +0530, Salima Begum wrote: > I have developed a project by using django and for front end functionality > I am using vuejs so, how to use .vue files in django project in my project > .vue files are not accepting. Can you provide more details like the error messag

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 mig

Re: SVG, clipPath, listview django.

2021-02-25 Thread Ryan Nowakowski
On Wed, Feb 24, 2021 at 12:50:43AM -0800, Siarhei Siarhei wrote: > Есть слайдер - файл "svg", картинки - "обтравка-clipPath" > > > (image cont от 6 и более) > Как же, это пропустить через - ListView? > Надеюсь что кто то, с таким сталкивался... (Google Translation from Russian below) > There is

Re: Log out all sessions for current user logged in

2021-02-25 Thread Ryan Nowakowski
On Wed, Feb 17, 2021 at 08:23:08AM +0530, Salima Begum wrote: > Logout all sessions based on current user id and clear django sessions > table based on user id. It is logging off all sessions. > > ``` > # Logout all devices in account security page. > def logoff_all(request): > try: > >

Re: Log out all sessions for current user logged in

2021-02-26 Thread Ryan Nowakowski
Have your tried my suggestion below? Did it work? On February 25, 2021 9:42:55 PM CST, Salima Begum wrote: >Logout all sessions belong to logged in user Can you please how can I >achieve this? > >Thanks >~salima > >On Fri, Feb 26, 2021 at 4:56 AM Ryan Nowakowski >wr

Re: Log out all sessions for current user logged in

2021-02-27 Thread Ryan Nowakowski
;On Sat, 27 Feb 2021, 12:35 am Ryan Nowakowski, >wrote: > >> Have your tried my suggestion below? Did it work? >> >> On February 25, 2021 9:42:55 PM CST, Salima Begum < >> salim...@rohteksolutions.com> wrote: >>> >>> Logout all sessions

Re: Class Base View Foreign key

2021-02-27 Thread Ryan Nowakowski
I think choices is causing the problem. Try limit_choices_to instead: https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ForeignKey.limit_choices_to On February 27, 2021 8:06:26 AM CST, "sebasti...@gmail.com" wrote: >Hello, > >I have a CBV with Createview. Now i have a Fo

Re: Log out all sessions for current user logged in

2021-03-01 Thread Ryan Nowakowski
n as e: >logging.error(e) >print(e) >return HttpResponseRedirect("/home") > >``` >**Error** >``` >'Session' object has no attribute 'flush' >``` > >On Sat, Feb 27, 2021 at 7:45 PM Ryan Nowakowski >wrote: > >> Pleas

Re: Api's for another projects.

2021-03-07 Thread Ryan Nowakowski
On Fri, Mar 05, 2021 at 04:09:27AM -0800, Sheldon Le Cooper wrote: > I have requirement of Django Api's. > > Brief about the requirement: > > I have 2 projects (A and B), I did develop the API'S for Project A. The > Project A has been deployed in CentOs with NGNIX server. Now I wanna use > the

Re: Problem with adding image files to my object.

2021-03-07 Thread Ryan Nowakowski
On Thu, Mar 04, 2021 at 05:16:55AM -0800, N!KH!L wrote: > Hello everyone! > I am trying to convert multiple audio files to image files. > After data processing when i try to add o/p(image) using > below code, > *I am getting an error "'list' object has no attribute '_committed'" in my > browser*

Re: can we integrate html views that look far better then what is available with django

2021-03-07 Thread Ryan Nowakowski
hboards) * (I did a quick web search for a "stackoverflow Q&A theme but couldn't find one) You can use any of these as your base template[1] in Django. Hope this helps! - Ryan [1] https://docs.djangoproject.com/en/3.1/ref/templates/language/#template-inheritance On Sat, Mar 06,

Re: login and signup form in one view

2021-03-07 Thread Ryan Nowakowski
On Fri, Mar 05, 2021 at 08:51:54AM -0800, uma shankar wrote: > I want to connect my Html input tags with fields created in models .py > using the name attribute of each input tag > > def user_login(request): > if request.method=='POST': > if request.POST.get('submit') == 'checkfor

Re: Chat Application in Django

2021-03-10 Thread Ryan Nowakowski
On Wed, Mar 10, 2021 at 10:45:13PM +0530, vijay naudiyal wrote: > I am a rookie and Django and trying to make chat application. > > I want users to be able to send messages to each other in real-time. > > I also want to create the chat rooms and provide permissions to users. > > What is the best

Re: How to disable django views in the browser

2021-03-10 Thread Ryan Nowakowski
On Wed, Mar 10, 2021 at 07:43:55AM -0800, Mostapha Bouderka wrote: > I'm working on a project with react and django; and want to use django > views to be used as information source only and not show a page on the > browser. For example, I have a pilot sign up page that uses a pilot create > view

Re: Calendar based on JS/JQuery needs to communicate with Django

2021-03-17 Thread Ryan Nowakowski
You probably don't need a slug just to group by date. Take a look at the regroup and date template tags: https://stackoverflow.com/a/1255076/226697 On March 17, 2021 5:14:36 AM CDT, Manuel Buri wrote: >Hello, > >I am having a website where people are able to *make bookings for >offices*. >Clie

Re: Hello from a new user

2021-03-17 Thread Ryan Nowakowski
search? I find that mailing lists are good for detailed Q and A and I prefer web search for everything else. In any case, I hope we can help you along your journey with Django! - Ryan On March 17, 2021 8:01:10 AM CDT, Mahmood wrote: >Hi All, > >I am a new user to Django and am exp

Re: create super user

2021-03-17 Thread Ryan Nowakowski
On March 17, 2021 2:24:18 AM CDT, arun arunisto wrote: >theres an error showing in django while creating superuser, but its >happening recently, after the update of new version 3.1.7 Interesting! A few more details would help us narrow down the problem here. 1. What version of Django were y

Re: Infinite HttpStreamingResponse Doesn't work with websocket on channels asgi

2021-03-17 Thread Ryan Nowakowski
On March 17, 2021 8:29:53 AM CDT, erfan faraj wrote: >I ran into an issue with channels asgi today. I had a wsgi server which >i >implemented with django and django rest framework. the server streams >video >from a webcam indefinitly and at the same time listens for requests >like >save imag

Re: Infinite HttpStreamingResponse Doesn't work with websocket on channels asgi

2021-03-17 Thread Ryan Nowakowski
On Wed, Mar 17, 2021 at 07:15:20AM -0700, erfan faraj wrote: > On Wednesday, March 17, 2021 at 5:33:49 PM UTC+3:30 Ryan Nowakowski wrote: > > > > I haven't messed much with Django async. Could your video streaming view > > be blocking the asgi run loop? > >

Re: Infinite HttpStreamingResponse Doesn't work with websocket on channels asgi

2021-03-17 Thread Ryan Nowakowski
On Wed, Mar 17, 2021 at 09:42:26AM -0700, erfan faraj wrote: > On Wednesday, March 17, 2021 at 8:10:41 PM UTC+3:30 Ryan Nowakowski wrote: > > On Wed, Mar 17, 2021 at 07:15:20AM -0700, erfan faraj wrote: > > > On Wednesday, March 17, 2021 at 5:33:49 PM UTC+3:30 Ryan Now

Re: Python libraries for visualisations

2021-03-17 Thread Ryan Nowakowski
On March 14, 2021 11:49:19 PM CDT, GEETHANJALI S P wrote: >Hi..How to build a dashboard using django and python libraries for >creating >visualisations?. Please let me know .Thanks in advance! I'm terrible at web design so I usually like to start with some HTML that is already styled. I've

Re: runserver unsuccessfully without any exception or traceback

2021-03-17 Thread Ryan Nowakowski
On March 15, 2021 7:26:11 AM CDT, lilyfan195 wrote: > >however when I enter the http://127.0.0.1:8000 it showed page not >found, and the thing is whatever I clicked, the powershell remained the >same and didn't show any Exception traceback or something like that and >the pycharm didn't show any

Re: load standard user settings per view

2021-03-20 Thread Ryan Nowakowski
I'd store the query parameters in the user's session: https://docs.djangoproject.com/en/3.1/topics/http/sessions/#examples On March 19, 2021 9:56:54 AM CDT, "sebasti...@gmail.com" wrote: >Hello, > >i have a addresslistview that also take parameter like pagingsize and >ordering over url. For ex

Re: reg: Django vs DRF

2021-03-27 Thread Ryan Nowakowski
A bit of googling led me to this: https://pypi.org/project/drf-registration/ I haven't personally used it but it looks like it might fit the bill. On March 26, 2021 2:51:54 AM CDT, 'Amitesh Sahay' via Django users wrote: >I have a basic question.From all the tutorials and document that I have

Re: Data from form is not being saved in DB

2021-03-28 Thread Ryan Nowakowski
Please post the full error including the traceback and any additional information. On March 24, 2021 2:59:27 AM CDT, "Герман Свердлов" wrote: >Hi all! > >I'm newbie in Django, still trying to figure out how everything works >and >this is my first back end framework, that I'm using. Currently b

Re: how to use reverse query data from a child model to do arithmetic's in parent model?

2021-03-28 Thread Ryan Nowakowski
On March 28, 2021 1:42:50 AM CDT, Vansh Jagyasi -IIITK wrote: >I have created a model location, and a model transaction which has a >many >to one relation with location which has the information of a >transaction >done at a particular location, say 3 dollars spent at macdonalds, now I > >wan

Re: File Input from User

2021-03-29 Thread Ryan Nowakowski
On Thu, Mar 18, 2021 at 11:37:08PM -0700, Kumar Gaurav wrote: > I have a social media kind of portal in Django where user can post an image > and write something. > Earlier for image , I used input type=file so that user can select image > from there system . But for my requirement, now I want th

Re: Django dependent select without Ajax

2021-03-30 Thread Ryan Nowakowski
About how many elements do you anticipate will be in the drop-down? On March 30, 2021 8:59:19 AM CDT, Sachin Kumar wrote: >Hi Experts, > >Does anyone knows Drop down list in Django without Ajax which is faster > >enough to fetch data from Big DataBase. > >Please guide me on this. > >Regards >Sach

Re: Nested comments feature

2021-03-31 Thread Ryan Nowakowski
On March 31, 2021 1:08:10 AM CDT, Salima Begum wrote: > We are planning to add nested comments features in our web application >and >are wondering whether Django FWK has a specific function or library >that we >can make use of and customize it according to our application. I would >appreciate

Re: Deploy Django website internally within company network

2021-04-01 Thread Ryan Nowakowski
I typically develop the website and also handle deployment. I've done this in a couple of ways. I get the IT department to give me a virtual machine or an AWS account so I can spin up my own EC2 instance. Then I get them to assign a DNS name to the server. On March 31, 2021 6:11:11 PM CDT, tri

Re: ModuleNotFoundError -- Please help :)

2021-04-01 Thread Ryan Nowakowski
Since your models aren't in the migrations python package, I would use an absolute path in the import statement here rather than the relative path. On March 31, 2021 9:50:30 PM CDT, 'Dante Costabile' via Django users wrote: >Hiya Folks. Relatively new to django and quite enjoying it. However

Re: Trying to understand duplicate results from related_set

2021-04-01 Thread Ryan Nowakowski
Maybe it has something to do with the fact that once you start iterating through a query set it gets evaluated[1]. If you slice a query set before it gets evaluated that is different than slicing a query set after it gets evaluated. I'm not exactly sure why you're getting different results but

Re: How to avoid select lists on formsets and ManyToMany?

2021-04-01 Thread Ryan Nowakowski
Django admin does something like this with raw_id_fields[1]. I think it works by just swapping out the form widget. But you could take a look at the admin code to see for sure. [1] https://docs.djangoproject.com/en/3.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin.raw_id_fields On April 1

Re: Django Custom User model and making auth api

2021-04-02 Thread Ryan Nowakowski
I don't have a ton of experience with it but when a question includes the term "create an API", the answer usually includes "just use Django Rest Framework". On April 2, 2021 1:59:10 AM CDT, Saad Mrabet wrote: >Hello every i m currently working on a project where had to overwrite >the Abstract

Re: Regarding auto-generating a map with measurements

2021-04-03 Thread Ryan Nowakowski
Perhaps use SVG? On April 3, 2021 12:00:12 AM CDT, Srijita Mallick wrote: >Hello all! >I'm doing a project where provided length and breadth of a land, I have >to >auto-generate a map with no. of flower beds (length of them provided >too) >in it like the image I have attached below. How can I

Re: ListView , Need Help !

2021-04-03 Thread Ryan Nowakowski
Take a look at CSS to change how your blog posts are laid out. On April 3, 2021 4:19:49 PM CDT, Mustafa Burhani wrote: >When i create blog post they are aligned vertical i want align be >horizontal how i can do ? > > > >For Example : ># Vertical Post ># Vertical Post >

Re: calling self.clean() before super.save()

2021-04-05 Thread Ryan Nowakowski
I believe ModelForm calls your model's self.clean so if you use it, or use the admin which uses it, you'll need to make sure that clean is idempotent since it'll get called at least twice in that case. On April 4, 2021 6:33:54 PM CDT, Mike Dewhirst wrote: >Is it sensible to generally call self.

Re: Regarding auto-generating a map with measurements

2021-04-05 Thread Ryan Nowakowski
out what values I need to change in my SVG Django template. On Sun, Apr 04, 2021 at 08:05:27AM +0530, Srijita Mallick wrote: > Actually that's a great idea, thanks :). We can create a large rectangle > and fit in small SVG beds using loop as per measurements. > > Thanks again! >

Re: Beginning project of displaying graphical information from a sql database

2021-04-06 Thread Ryan Nowakowski
If you already have the data you need via the API you may not need models in your case. To start out, call the API from your Django view, add the data from the resulting data frame to the context for the template. Then in the template render it however you like... charts, graphs, tables, whateve

Re: how to publish django-reactnative app on google playstore

2021-04-06 Thread Ryan Nowakowski
27;ll probably want to ask this question on an Android developer mailing list. - Ryan On April 6, 2021 11:59:28 AM CDT, Smriti Garg wrote: >Hi Kasper, > >Thank you so much for replying. >Actually I am working for last 1.5 years only and have worked >previously on >web only. I

Re: License management system Refrence

2021-04-06 Thread Ryan Nowakowski
What kind of product are you trying to license? A proprietary computer desktop application? A mobile application for iOS or Android? A proprietary self-hosted web app? On April 6, 2021 1:50:51 AM CDT, "bikash...@gmail.com" wrote: >Can any one provide me reference regarding license (Serial Key)

Re: image reading

2021-04-06 Thread Ryan Nowakowski
I'm going to assume you mean "text" here and not "test". For recognizing text in images I've used the tesseract project with pretty good success. For more information about this you can Google OCR or optical character recognition. For parsing text in PDF, it depends on how the text is encoded i

Re: Unique and null

2021-04-07 Thread Ryan Nowakowski
I'm not sure about the case with null. However, I believe that most uses of CharField leave null=False and use the empty string instead to represent "empty" value. On April 7, 2021 1:06:44 AM CDT, Mike Dewhirst wrote: >I have just made a CharField unique and Django detects duplicates >nicely

Re: Unique and null

2021-04-08 Thread Ryan Nowakowski
On Wed, Apr 07, 2021 at 03:25:53PM +0100, Roger Gammans wrote: > This is mostly (form the Django perspective) and issue with CharFields, > because a CharField can store None or ''. For values of '' > in CharField, IIRC, django will convert them to null, with null=True, > blank=True. But not with

Re: Listview Iterate over List

2021-04-08 Thread Ryan Nowakowski
On Wed, Apr 07, 2021 at 11:02:04AM -0700, sebasti...@gmail.com wrote: > i want to create a Listview like this: > > class HistorieListView(ListView): > model = Address > template_name = 'marketing/liststandardtemplate.html' > fieldlist = ('id', 'lastname', 'firstname') > > now i want i

Re: Extending with plugins remotely -at least from a frontend

2021-04-08 Thread Ryan Nowakowski
On Wed, Apr 07, 2021 at 11:42:30PM +0100, Joel Tanko wrote: > Hi guys I have a question just one, but it houses a myriad of smaller > questions for clarity. > > So I'm building a django app that creates virtual organizations, I'm > planning on hosting with digitalocean for reasons. My app just cre

Re: Assistance with Django Booking app

2021-04-08 Thread Ryan Nowakowski
On Thu, Apr 08, 2021 at 07:19:53AM -0700, Eric 247ERICPOINTCOM wrote: > I am new to Python and Django, I just discovered that I can use Django to > easily implement a project that am working on. > > I would like to get some assistance with implementing a booking app into my > project. > > I ca

Re: Unique and null

2021-04-08 Thread Ryan Nowakowski
On Thu, Apr 08, 2021 at 11:12:51PM +0100, Roger Gammans wrote: > On Thu, 2021-04-08 at 16:36 -0500, Ryan Nowakowski wrote: > > On Wed, Apr 07, 2021 at 03:25:53PM +0100, Roger Gammans wrote: > > > This is mostly (form the Django perspective) and issue with > > >

Re: License management system Refrence

2021-04-08 Thread Ryan Nowakowski
f device A hits the service API at 9:00:00 and device B hits the service at 9:00:01, is that allowed? > On Wed, Apr 7, 2021 at 10:16 AM Ryan Nowakowski wrote: > > > What kind of product are you trying to license? A proprietary computer > > desktop application? A mobile applicati

Re: new python dev jobs (was: Try to connect Redis Channel in Django Chat Project)

2021-04-09 Thread Ryan Nowakowski
ou looking for something near your physical location? Or are you looking for a job that's totally remote? Take a look at the Python jobs board[2] and/or the Django jobs boards[3] Good luck! - Ryan N [1] https://www.google.com/search?q=don't+hijack+a+mailing+list+thread [2] https://www

Re: Create email template with the click of a button

2021-04-17 Thread Ryan Nowakowski
I've had a similar issue in the past. With the latest version of Django pretty much each database back in now supports JSONField. So I created a custom field that inherits from JSON field to take a string of comma delimited values, split them by comma, validate each value individually, then stor

Re: Create email template with the click of a button

2021-04-17 Thread Ryan Nowakowski
Sorry for the weird wording below. Speech to text isn't all is cracked up to be. Just one more point: the JSONField allows your to easily do queries on the individual email addresses if your need to. On April 17, 2021 12:52:15 PM CDT, Ryan Nowakowski wrote: >I've had a similar

Re: Django Offline

2021-04-18 Thread Ryan Nowakowski
Typically JavaScript is treated as a static file: https://docs.djangoproject.com/en/3.2/howto/static-files/ On April 18, 2021 11:25:53 AM CDT, Abid Mohamed Nadhir wrote: >Hello, I'm trying to implement a django project with service worker, >i'm >wondering where to put my service worker? >Thank

Re: Assistance with Django Booking app

2021-04-21 Thread Ryan Nowakowski
run the >server >anymore. Is there a way I can manage to run the booking app without >using >django.utils It looks like you're probably trying to run that Django booking app with a version of Django that it was never designed to run with. It looks like the author of Django bookin

Re: DEFAULT Django Session is still using File in /tmp (Can't read from directory)

2021-04-27 Thread Ryan Nowakowski
On April 26, 2021 11:31:24 PM CDT, Andre Foote wrote: >However, the application crashes with the error stating that it is >unable >to read the session data stored in "/tmp". Please post the full error including any exception messages and the full Python trace back if available. -- You rec

Re: DEFAULT Django Session is still using File in /tmp (Can't read from directory)

2021-04-28 Thread Ryan Nowakowski
ppreciated.) > >However I'm using the default configuration for sessions that's >supposed to >be database-backed. >On Tuesday, April 27, 2021 at 9:52:03 PM UTC+2 Ryan Nowakowski wrote: > >> >> >> On April 26, 2021 11:31:24 PM CDT, Andre Foote >>

Re: Loading csv data in database

2021-04-29 Thread Ryan Nowakowski
Typically you would write a custom management command for this kind of thing: https://docs.djangoproject.com/en/3.2/howto/custom-management-commands/ On April 29, 2021 11:05:29 AM CDT, 'Muhammad Asim Khaskheli' via Django users wrote: > >Hi, > >I wanted to ask how to load CSV data into the mode

Re: To get object id currently modified in django administration

2021-05-02 Thread Ryan Nowakowski
While in your ModelForm, check out self.instance.id On May 2, 2021 2:42:30 AM CDT, Serge Alard wrote: >Bonjour > >Je suis en train de faire des validations personnalisées sur des objets >de >mon projet dans l'administration de Django. Pour cela j'ai créé un >ModelForm, mais je ne sais pas comme

Re: custom commands for django-admin

2021-05-06 Thread Ryan Nowakowski
On May 6, 2021 5:35:58 PM CDT, Ilia Rk wrote: > >hi how should i write custom commnads for django-admin which work with >all >apps existing in project not just apps with specific defined name When you say "work with all apps" what do you mean? Any custom management command can import modules

Re: Threading videos one after the other

2021-05-09 Thread Ryan Nowakowski
https://stackoverflow.com/a/2552131/226697 On May 8, 2021 2:12:15 PM CDT, "מוריה יצחקי" wrote: >Hi >Thanks to all the helpers >I got from the Python file to the HTML file a list of URLs that are >inside >the arraysrc variable >And I want to run all the videos one after the other ends up in the >

Re: Threading videos one after the other

2021-05-09 Thread Ryan Nowakowski
Note: I googled for "HTML video playlist" On May 9, 2021 10:41:28 AM CDT, Ryan Nowakowski wrote: >https://stackoverflow.com/a/2552131/226697 > >On May 8, 2021 2:12:15 PM CDT, "מוריה יצחקי" >wrote: >>Hi >>Thanks to all the helpers >>I got from th

Re: Attribute error

2021-05-13 Thread Ryan Nowakowski
It's likely that your instance of OrderItem has a product field that's null. On May 12, 2021 3:50:42 AM CDT, Peter Kirieny wrote: >can somebody help with this please, am building an ecommerce web and >when i >want to view my cart i get this error >AttributeError: 'NoneType' object has no attribu

Re: Creating dynamic chart / graphs with Django

2021-05-16 Thread Ryan Nowakowski
I like to start with one of the free dashboard templates for a project like this. I've used both CoreUI and AdminLTE in the past with good success. These dashboard templates include some sample graphs using one of the standard JavaScript charting libraries. I look at these graph examples for h

looking for an expert django developer

2021-05-21 Thread ryan yadav
i need an expert django developer ,who alone can build the whole platform its a medical edtech startup and i have made 30% of total development i need further collaboration to make it right on time . this works is going to be contract basic or may be it can lend you a full time interested peopl

Re: looking for an expert django developer

2021-05-22 Thread ryan yadav
> > On Sat, May 22, 2021, 2:18 AM ryan yadav wrote: > >> i need an expert django developer ,who alone can build the whole platform >> its a medical edtech startup and i have made 30% of total development i >> need further collaboration to make it right on time . >>

Re: looking for an expert django developer

2021-05-23 Thread ryan yadav
drop me a mail for requirements On Sunday, 23 May 2021 at 09:06:29 UTC+5:30 mehdiz...@gmail.com wrote: > Depends on what your requirements are. > What type of code you are doing. > What are your expectations - work expectations and achievables. > > Please set out more information ? - or lets

Re: looking for an expert django developer

2021-05-23 Thread ryan yadav
https://docs.google.com/presentation/d/1V1ou6JfXUrlK1j2vyAKmeNGuN4XcCBrwiLrlcYqP-gY/edit#slide=id.p On Sun, 23 May 2021 at 09:28, Deepak joshi wrote: > hey dear you are looking for django developer ,, can you tell me your > requirements? i am fullstack web developer i can develop whatever you w

Re: looking for an expert django developer

2021-05-23 Thread ryan yadav
please drop me a mail On Sunday, 23 May 2021 at 09:28:17 UTC+5:30 joshig...@gmail.com wrote: > hey dear you are looking for django developer ,, can you tell me your > requirements? i am fullstack web developer i can develop whatever you want > regarding django. > > > -- You received this m

Re: Tables missing in SQLite but viewable in admin (confusion)

2021-05-29 Thread Ryan Kite
as > the one that is being read by Django. E.g. move the database file somewhere > else (and restart Django) and make sure that the data in Django admin is > gone. > > Antonis Christofides+30-6979924665 <+30%20697%20992%204665> (mobile) > > > On 29/05/2021 02.56, Ryan

Re: django app with okta authentication --

2021-06-01 Thread Ryan Nowakowski
On Tue, Jun 01, 2021 at 10:18:24PM +0530, SNJY G wrote: > I am running an application on django2.2 which needs to be integrated with > okta for user authentication. > Okta team has provided a Metadata URL which contains Okta URL, Okta Entity > ID and Okta certificate but I am not sure where I need

Re: DEFAULT Django Session is still using File in /tmp (Can't read from directory)

2021-06-13 Thread Ryan Nowakowski
> admin tried to implement the application on multiple nodes. > > On Wednesday, April 28, 2021 at 6:41:24 PM UTC+7 Ryan Nowakowski wrote: > > > What makes you think this has anything to do with Django sessions? > > > > > > On April 27, 2021 11:15:57 PM CDT, A

Re: Real-time dashboard method after delivering restapi from outside

2021-06-15 Thread Ryan Nowakowski
On June 14, 2021 1:46:29 AM CDT, "이경현" wrote: >It is currently returning after receiving an api request from another >system. Is this API request to another system initiated from Django on the back end or in JavaScript on the front end? -- You received this message because you are subscri

Django Admin: object history not working

2021-06-21 Thread Ryan Kite
Hello, The issue is when clicking the "History" button on an object from the Django admin site, it opens to the template but says "*This object doesn't have a change history. It probably wasn't added via this admin site."* >From reading the docs it appears that: *history_view*() already exists

Re: Django Admin: object history not working

2021-06-22 Thread Ryan Kite
the log entry. > > On Tue, 22 Jun 2021 at 00:48, Ryan Kite wrote: > >> Hello, >> >> The issue is when clicking the "History" button on an object from the >> Django admin site, it opens to the template but says "*This object >> doesn't h

Re: DRF | Django | Up votes | Down Votes

2021-06-25 Thread Ryan Nowakowski
.value = -1 You can then vote like this: vote = Vote(user=user, post=post) vote.vote_up() # or vote.vote_down() vote.save() Here's a post's up vote count: post.vote_set.up_total() You can change a user's vote like this: vote = user.vote_set.get(post=post) vote.vo

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 p

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

Re: Git Hub Project

2021-08-10 Thread Ryan Nowakowski
You might have mixed tabs and spaces. PEP8 standard is 4 spaces per level of indentation, IIRC. On August 9, 2021 7:24:56 AM CDT, Rana Zain wrote: > >Thank you so much everyone. It's work. > >I have another problem. I am facing this issue in Pycharm . I tried >spaces >& tabs. > >Error is :"Uni

Re: Python code changes are not reflecting on Django-based web server.

2021-08-19 Thread Ryan Nowakowski
I'd verify that the systemctl commands are actually starting and stopping httpd. Does the pid change? On August 18, 2021 11:04:07 AM CDT, Hasan Baig wrote: >Hi, > >I have been hosting a django-based web server (httpd with mod_wsgi package) on >Linux CentOS 7. I used to reflect the changes made

Re: Python code changes are not reflecting on Django-based web server.

2021-09-30 Thread Ryan Nowakowski
You can use the ps command: ps -aef | grep "apache\|httpd" The process id(pid) is the second column usually. If it changes, then you know the process was restarted. - Ryan N On Thu, Aug 19, 2021 at 10:52:04PM -0400, Hasan Baig wrote: > Yes systemctl stop and start httpd,

Reusable apps that support being nested wihin other apps

2019-08-11 Thread Ryan Causey
Is it possible in Django to reverse URLs within a reusable app such that the reversing will still work if the app is nested with another? It's essentially the same question as this stack overflow question

Re: Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread Ryan Gedwill
My favorite is django-book. I used it as a reference for 2 years after I first started using Django. Ryan Gedwill > On Sep 1, 2019, at 7:09 AM, WebTrainingRoom Online > wrote: > > Hi! > you may find this useful > https://www.webtrainingroom.com/python/django-pro

Re: Raju | ITC Infotech - Looking for Backend Developers (Python/Django ORM - New York City )

2019-09-18 Thread Ryan Gedwill
Hi, I am interested in the position. I am available to work in US, but would need to relocate as I am located in California. Ryan Gedwill > On Sep 17, 2019, at 1:21 PM, Raju N Somanna wrote: > > Hi All > > I've an immediate need for Backend Developers (Python/Django OR

Re: Full Stack Developer (Python/Django) position requirement for US GC/Citizen/Can Citizen

2020-01-03 Thread Ryan Gedwill
I am interested in this position, please see resume attached. On Fri, Jan 3, 2020 at 2:16 PM Shirley Nelson wrote: > I am interested in this position. > > On Fri, Jan 3, 2020, 12:35 PM Yash Garg wrote: > >> For a large multi billion dollar Publishing house in New York, client >> needs a Full St

Looking for a job

2020-01-03 Thread Ryan Gedwill
Hello all, I am looking for a development job, specifically Python/Django but I have experience in other areas. I am located in Sacramento, CA (close enough to the SF bay area to commute). I am also available for remote work as well. Please see my resume attached Thank you Ryan Gedwill r

Re: Looking for a job

2020-01-05 Thread Ryan Gedwill
Hi Erik, Yes, that sounds great. I am pretty open in the mornings this week, how about 10am PST Tuesday? Ryan Gedwill > On Jan 3, 2020, at 4:24 PM, Erik Gunderson wrote: > >  > Hi Ryan, > > I have a job in San Francisco that might be an interest for you as well. I

Re: .objects.all() issue

2020-02-22 Thread Ryan Gedwill
Can we see the code for the model? Are you sure the column name is author_id, and have you ensured it’s actually been migrated and exists in your database? Ryan Gedwill > On Feb 22, 2020, at 7:14 AM, Kolluri Mounish wrote: > >  > I have imported Post. But still i'm

Django + WebDAV

2011-02-15 Thread Michael A. Ryan
Hello Django Users I'm looking for people who have experience interfacing Django with WebDAV protocol, or using Django as a basis for authentication to a WebDAV server. I'm interested in at least comparing notes but potentially interested in maybe co-authoring an open source module for WebDAV.

Re: Django: Begginer Problems

2016-05-31 Thread &#x27;Ryan Nowakowski' via Django users
On Sun, May 29, 2016 at 02:22:48PM -0700, David Zárate wrote: > Hi! I'm making a financial analysis app in Django and to have some data to > play with i have to store historical data of balance sheets and profit/loss > statements. I need some suggestions on how i can accomplish that. > > Th

Re: CSV generation from url

2020-07-29 Thread &#x27;Ryan Nowakowski' via Django users
On Wed, Jul 29, 2020 at 06:18:51PM +0530, Prashant Singh wrote: > Hi Everyone, > i wanted to predict price for advertising board so can somebody help me out > how i can approach for this and convert it into csv file > > > https://www.bluelinemedia.com/billboard-advertising/boston-ma You're prob

Re: Advice please.

2020-08-02 Thread &#x27;Ryan Nowakowski' via Django users
On August 2, 2020 7:21:04 PM CDT, Hector Berrones wrote: >I have very little experience using django and I would like to know how >would be the most conveniente way to store and manage the common data >in a >django proyect that would have several applications when I say common >data I mean i

Sigterm handling on the TCP server

2020-11-27 Thread &#x27;Ryan Siu' via Django users
Hi community, I am now using the Django server with gunicorn. I hit a problem in the worker termination. I've got logs with tshark in the following. *2020-11-27 06:50:37.509 GMT* [2020-11-27 06:50:37 +] [1] [INFO] Handling signal: term *2020-11-27 06:50:37.560 GMT *[2020-11-27 06:50:37 +000

Re: File handling in Django

2025-01-29 Thread &#x27;Ryan Nowakowski' via Django users
On 1/27/25 7:41 AM, Mayank Prajapati wrote: > I am making a full stack project with JavaScript and react for front end , > Postgre SQL for database and Django for backend and Django rest framework for > APIs. So in models.py file there's one field which is to be removed and > another field is t

<    1   2   3   4   5   6