Re: counting the same words within a song added by a user using Django

2021-07-05 Thread DJANGO DEVELOPER
021 at 5:43 PM Lalit Suthar wrote: >> >>> https://www.guru99.com/python-counter-collections-example.html >>> Counter can be helpful for this situation >>> >>> On Mon, 5 Jul 2021 at 17:07, DJANGO DEVELOPER >>> wrote: >>> >>>> Hi there

Re: No reverse match at /

2021-07-06 Thread DJANGO DEVELOPER
you have to provide id in your urls and in subject.html as well. share you views and url as well. On Tue, Jul 6, 2021 at 6:08 PM Bhanu prasad Ch wrote: > I had a problem in passing special characters in Charfield in DB of Django. > Is that possible to pass special characters in CharFi

Re: counting the same words within a song added by a user using Django

2021-07-06 Thread DJANGO DEVELOPER
; I found this as well. and I think I want the result this way. >>> >>> On Tue, Jul 6, 2021 at 9:21 AM Lalit Suthar >>> wrote: >>> >>>> [image: Screen Shot 2021-07-06 at 9.50.12 AM.png] >>>> Counter works with words also >>>>

Django Help | Counting word frequency in Django using dictionary.

2021-07-06 Thread DJANGO DEVELOPER
Hi I am developing a django project and I want to count word frequency at the django admin side. Means a word is repeating in a string should be counted and be saved in the database only. I have managed to do it on front-end side but now I also want to do it on django admin side. example

Re: hardware required to use django?

2021-07-06 Thread DJANGO DEVELOPER
you can use linux as well and I am using windows 10 right now and it is working fine with django development. I also used windows8 and it worked. On Wed, Jul 7, 2021 at 6:39 AM Rusty wrote: > We are planning the development using django. > > Could I know the minimum specifications of

Re: Django Help | Counting word frequency in Django using dictionary.

2021-07-06 Thread DJANGO DEVELOPER
I am using sqlite3. so only needs to store the data in django admin/database but in the form of dictionary or in the form of counted words. On Wed, Jul 7, 2021 at 9:09 AM Lalit Suthar wrote: > you can use postgres JsonField > https://docs.djangoproject.com/en/3.2/ref/contrib/postgres/

Re: Role based Authentication

2021-07-07 Thread DJANGO DEVELOPER
f On Wed, Jul 7, 2021 at 7:07 PM LokRaj Kumar Vuppu < lokrajkumarvu...@gmail.com> wrote: > How to assign a role to user when registered into our application. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" gr

Re: i have a picture field in my model that was not stored properly in django database and i can't retrive that picture

2021-07-07 Thread DJANGO DEVELOPER
> -- > 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. > To view this discussion on the web vi

Re: Role based Authentication

2021-07-07 Thread DJANGO DEVELOPER
ups. > then filter users' roles based on the specific group that you have > assigned them to. > > > > On Thu, Jul 8, 2021 at 3:53 AM Lalit Suthar > wrote: > >> you can extend User model and have a role field in default User model >> >> https://simpleisbett

Re: Role based Authentication

2021-07-07 Thread DJANGO DEVELOPER
you also save the user model also parallely with the student model(in > reference with my repo) > > On Thu, Jul 8, 2021 at 7:44 AM DJANGO DEVELOPER > wrote: > >> Avi Shah I have just visited your github repo. is there any other code >> where you have performed multi-user si

Django help| Urgent | how to find the frequency of a string for each word using django admin?

2021-07-08 Thread DJANGO DEVELOPER
= models.ForeignKey(user, on_delete=models.SET_NULL)* *def __str__(self):* *return self.song* now what I want to do at django admin side that the string added in* "String" *model should be saved in Song_Wors_count model and string should be splitted in a single word and frequency

Re: Django help| Urgent | how to find the frequency of a string for each word using django admin?

2021-07-08 Thread DJANGO DEVELOPER
is there anyone who can help me here? On Fri, Jul 9, 2021 at 2:51 AM DJANGO DEVELOPER wrote: > let suppose I have 2 models: > *class String(models.model):* > *string = models.textarea(null = True, blank = True)* > *user = models.ForeignKey(user, on_delete=models.CASCADE)

Re: counting the same words within a song added by a user using Django

2021-07-08 Thread DJANGO DEVELOPER
sum it is giving me error of TextField is not iterable On Wed, Jul 7, 2021 at 5:30 AM DJANGO DEVELOPER wrote: > so will it run smoothly? > I mean there is no filter function there so will it filter a specific > field and will give me count for the words? > > On Tue, Jul 6, 2021

Re: counting the same words within a song added by a user using Django

2021-07-09 Thread DJANGO DEVELOPER
https://stackoverflow.com/questions/41689274/split-multiple-selections-into-separate-records-in-a-django-model I also want the same result as it is mentioned here in the stackoverflow question On Fri, Jul 9, 2021 at 10:56 AM DJANGO DEVELOPER wrote: > sum it is giving me error of TextField

Re: Django help| Urgent | how to find the frequency of a string for each word using django admin?

2021-07-09 Thread DJANGO DEVELOPER
. i have no idea why you have a foreignkey relation. Why you save words > not in another column in String class? > > Regards > > > Am Fr., 9. Juli 2021 um 17:30 Uhr schrieb 'Peter van der Does' via Django > users : > >> Overwrite the save method on the String

Re: Django help| Urgent | how to find the frequency of a string for each word using django admin?

2021-07-09 Thread DJANGO DEVELOPER
hi Sebastian, do you know how can I resolve my problem? I want to count same words in a string. after splitting it On Fri, Jul 9, 2021 at 10:14 PM DJANGO DEVELOPER wrote: > Hi Peter, thanks for your reply. Sorry I have m2m relationship of User > model with Song model and I am using m2m_c

Re: counting the same words within a song added by a user using Django

2021-07-11 Thread DJANGO DEVELOPER
> On Fri, Jul 9, 2021 at 4:57 PM DJANGO DEVELOPER > wrote: > >> sum it is giving me error of TextField is not iterable >> >> On Wed, Jul 7, 2021 at 5:30 AM DJANGO DEVELOPER >> wrote: >> >>> so will it run smoothly? >>> I mean there is no fi

Re: AttributeError: module 'polls.views' has no attribute 'index'

2021-07-26 Thread DJANGO DEVELOPER
as you mentioned that you're using django 3.2 but your urls.py file is following the pattern of django 1.7. use your urls.py this way : path('your polls url here', views.index, name='index') On Mon, Jul 26, 2021 at 6:45 PM Zain wrote: > Had the same issue. > &

Re: OperationalError: foreign key mismatch

2021-07-26 Thread DJANGO DEVELOPER
lowing return > the correct data: > queryset = FilenameTbl.objects.values( > 'rowid', 'filename', > 'proceduretbl__rowid') > > Raw SQLite commands to write/update to the ProcedureTbl table function > properly. > > If I removed fil

Re: iterate over query set

2021-07-26 Thread DJANGO DEVELOPER
gt; be able to print all the #values > for a in users: > print(a)# this only print value for the first user > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving e

Re: OperationalError: foreign key mismatch

2021-07-27 Thread DJANGO DEVELOPER
;filename_number', > to_field='rowid',null=True,blank=True,on_delete=models.SET_NULL) > > This is what eventually worked for me: > > https://stackoverflow.com/questions/68537031/how-do-i-resolve-the-following-error-in-django-operationalerror-foreign-key-m > > Che

Re: Can anyone help me

2021-07-28 Thread DJANGO DEVELOPER
Hi nagaraju, if you're new to django then you should go for a CRUD functionality to understand django. you can also build a blog post web app then you will be able to build this form by yourself. well if you don't want to build other ideas and want to work on this form then you should

Re: Wish list functionality in products listing page.

2021-07-29 Thread DJANGO DEVELOPER
I think you have to save the products in your wishlist feature just by doing the same way as we do in saving things in django On Thu, Jul 29, 2021 at 10:07 AM Salima Begum wrote: > Hi all, > In my project I want to implement wishlist functionality in products > listing pages. >

Re: Error: NoReverseMatch at

2021-08-16 Thread DJANGO DEVELOPER
okay add a url. first of all import the view into urls.py file and make a path. On Mon, Aug 16, 2021 at 5:32 PM 'Rahul Chauhan' via Django users < django-users@googlegroups.com> wrote: > Here is how the the project's url.py looks like. Not made any changes to &g

Re: Error: NoReverseMatch at

2021-08-16 Thread DJANGO DEVELOPER
show me your django app url and views as well. On Tue, Aug 17, 2021 at 1:10 AM DJANGO DEVELOPER wrote: > okay add a url. first of all import the view into urls.py file and make a > path. > > On Mon, Aug 16, 2021 at 5:32 PM 'Rahul Chauhan' via Django users < > d

UML to Django models

2021-08-25 Thread DJANGO DEVELOPER
Currently, I am working on an inventory management system and I have got some UML diagrams and want to convert those uml diagrams into django models. So can anyone guide me on how to convert those UML diagrams into django models? an example is below of uml diagram -- You received this message

Re: UML to Django models

2021-08-26 Thread DJANGO DEVELOPER
can anyone help me? On Thu, Aug 26, 2021 at 9:32 AM DJANGO DEVELOPER wrote: > Currently, I am working on an inventory management system and I have got > some UML diagrams and want to convert those uml diagrams into django > models. So can anyone guide me on how to convert those UML

Re: UML to Django models

2021-08-26 Thread DJANGO DEVELOPER
of course. > > HTH. > > On Thursday, 26 August 2021 at 10:28:23 UTC+2 abubak...@gmail.com wrote: > >> can anyone help me? >> >> On Thu, Aug 26, 2021 at 9:32 AM DJANGO DEVELOPER >> wrote: >> >>> Currently, I am working on an inventory management s

Re: UML to Django models

2021-08-26 Thread DJANGO DEVELOPER
Field( max_length=255) >>> date_introduction = models.DateField() >>> comment = models.TextField() >>> >>> #etc. >>> >>> You'll need to use ForeignKey fields to link related tables, of course. >>> >>> HTH. >>>

Re: A server error occurred. Please contact the administrator.

2021-09-27 Thread DJANGO DEVELOPER
he administrator like the error message said > you should? > > Kind regards, > > Kasper Laudrup > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop recei

Re: A server error occurred. Please contact the administrator.

2021-09-27 Thread DJANGO DEVELOPER
you just don't need to be rude if I didn't get it. On Mon, Sep 27, 2021 at 9:14 PM Kasper Laudrup wrote: > On 27/09/2021 17.40, DJANGO DEVELOPER wrote: > > are you facing an internal server error(500) > > > > No, but thanks for asking. > > I'm just

Re: Keycloak & Django Setup Error - "UNIQUE constraint failed: auth_user.username" & usernames are being hashed

2021-10-05 Thread DJANGO DEVELOPER
you're facing this error because django receives nique usernames. so you are not allowed to create another username with the same username. On Wed, Oct 6, 2021 at 1:36 AM Ammon Quackenbush wrote: > > I am setting up keycloak for a django project and this is the error

Re: Working on a Django server Need Team to join me

2024-02-15 Thread DJANGO DEVELOPER
Hi. I am interested however your link is not working. On Thu, 15 Feb 2024, 6:04 pm Space1 Technology, wrote: > Anyone interested in working with me am working on a personal Django > server project for my flutter frontend app. It’s a project am working on to > boost my portfolio. Kindl

Re: Working on a Django server Need Team to join me

2024-02-15 Thread DJANGO DEVELOPER
4, 6:35 PM Space1 Technology >> wrote: >> >>> Anyone interested in working with me am working on a personal Django >>> server project for my flutter frontend app. It’s a project am working on to >>> boost my portfolio. Kindly send me hi. It’s a complex project w

Drag and drop

2019-08-02 Thread Django Dojo
I’m looking to build a drag and drop for end users to customize a webpage. Does Django have any packages for that or are they any other options? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Form fill out and review

2019-08-15 Thread Django Dojo
Hello, I’m new to Django and I’m looking to do the following steps: 1. Person fills out a form 2. Person reviews/previews the information they fill out 3. Once it’s reviewed they can post it to website -- You received this message because you are subscribed to the Google Groups "Django

Re: Form fill out and review

2019-08-15 Thread Django Dojo
I’m trying to find out if there’s any Django packages for this type of project? On Thursday, August 15, 2019, Tosin Ayoola wrote: > Ohk cool so Wat do u need help on, Wat have u done so far > > On Aug 15, 2019 12:16, "Django Dojo" wrote: > >> Hello, >> I’m n

import error on dateutil.parser

2010-01-14 Thread newspaper-django-lackey
t; value='Thu, 14 Jan 2010 16:51:27 GMT' >>> x = parse(value) >>> print x 2010-01-14 16:51:27+00:00 I have no idea why it would work from the python interpreter, but not from a django templatetag file. thanks, -- You received this message because you are

Re: import error on dateutil.parser

2010-01-15 Thread newspaper-django-lackey
Okay, On our production server we used apt-get to install django and python- dateutil. In an attempt to avoid having to add the path to every wsgi settings file I tried several things: I put a symbolic link called dateutil from /usr/lib/python2.5/site- packages to /usr/share/python-support

Re: django-app user clashes with python-module user

2010-02-05 Thread newspaper-django-lackey
which hides the one I want. hope this helps. jeff On Feb 4, 3:17 am, patrickk wrote: > our hosting-provide told me that I should rename my django-app "user" > to something else, because there´s a python-module "user" and with > using user.urls (within our url confi

Re: Problem with apache server

2010-02-05 Thread newspaper-django-lackey
If you are using wsgi you can touch your wsgi settings file and it has the same effect as restarting apache without a restart most of the time. If you are only running one site on the django installation it isn't any better, but if you are hosting multiple sites and your change is o

Re: Template-Include and block.super

2010-02-05 Thread newspaper-django-lackey
The others are correct. You can't put block tags inside an include. It's pretty logical really. The block system cascades down templates through the "extends" system. Includes are by nature outside that track. They can be pulled into any template at any point in the process. Block tags in an includ

Include tag returning a hard return

2010-02-24 Thread newspaper-django-lackey
e parent template simply causes the hard return to move from before those divs to after them, before the first html tag in the include. I'm running Django 1.1 on my dev server with mod-wsgi. My text editor is BBedit. I'm saving my files as UTF-8 Unix (LF). This has happened numerous t

Problem with tuncated Admin pages in apache + mod_fcgid

2012-03-15 Thread Another Django Newbie
Hi, I've just started playing with django this week and was following the example in the Django Book. I created an example of my own, based on the models.py in the book and tested it with manage.py runserver. All worked OK, but when I try it in apache one of my admin pages is truncate

Re: Problem with tuncated Admin pages in apache + mod_fcgid

2012-03-19 Thread Another Django Newbie
On Thursday, March 15, 2012 1:05:53 PM UTC, Another Django Newbie wrote: > > Hi, > > I've just started playing with django this week and was following the > example in the Django Book. > > I created an example of my own, based on the models.py in the book and

Re: Problem with tuncated Admin pages in apache + mod_fcgid

2012-03-20 Thread Another Django Newbie
: You mention using mod_fcgid, but you do not give us any idea of > how you are using mod_fcgid. Configuration and error logs please. FYI, > we run django quite happily under mod_fastcgi. > > Cheers > > Tom > Hi Tom, Jani, Currently struggling to compile mod_wsgi, or more speci

Re: Problem with tuncated Admin pages in apache + mod_fcgid

2012-03-20 Thread Another Django Newbie
On Tuesday, March 20, 2012 10:28:49 AM UTC, Another Django Newbie wrote: > > > > On Tuesday, March 20, 2012 10:01:36 AM UTC, Tom Evans wrote: >> >> On Mon, Mar 19, 2012 at 5:24 PM, Jani Tiainen wrote: >> > Hi, >> > >> > Since we use sam

Re: Problem with tuncated Admin pages in apache + mod_fcgid

2012-03-21 Thread Another Django Newbie
On Wednesday, March 21, 2012 7:18:16 AM UTC, Jani Tiainen wrote: > > 20.3.2012 16:45, Another Django Newbie kirjoitti: > > > > > > On Tuesday, March 20, 2012 10:28:49 AM UTC, Another Django Newbie wrote: > > > > > > > > On Tuesday,

Re: Problem with tuncated Admin pages in apache + mod_fcgid

2012-03-21 Thread Another Django Newbie
on to the modwsgi group Regards, ADN > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Whpuuwt22WEJ. To post to this group, se

Production errors

2012-06-18 Thread Satan Study Django
ault it works that way? Thanks for your attention. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googl

Sampling of the two models by matching fields.

2011-09-27 Thread Satan Study Django
database way, groups would be easier to store in the form of, for example, char fields, and select with a simple condition: where p.groups = e.groups and then it becomes trivial (that is what happened in the past implementation of the interface). At the current moment that logic of the objects must

Re: Sampling of the two models by matching fields.

2011-09-29 Thread Satan Study Django
Anybody? On 27 сен, 18:53, Satan Study Django wrote: > Good day. > To the case. > There are some models (simplified form): > > class Group (models.Model): >      name = models.CharField () > > class Person (models.Model): >      name = models.CharField () >      g

can't use django session object

2011-10-07 Thread django-jython-user
Hi, I'm having trouble using django sessions objects. so I set the object in one view: request.session['user_cred']=cred #where cred is a GlobusCredential I access the object in another view: a_cred=request.session['user_cred'] # but if I use a_cred like a_id=a_cred.

Django orm group_by difficulties

2011-05-04 Thread Satan Study Django
lso use the direct sql query in the code. But on cellular it level does not seem right -) Tables innodb. I'd be glad of any help. If I forgot something - ask. Django study has just started, according to this request chide severely in order to consolidate the material. Thank you for your atte

Re: Django orm group_by difficulties

2011-05-05 Thread Satan Study Django
tate') On 4 май, 23:46, Jacob Kaplan-Moss wrote: > On Wed, May 4, 2011 at 9:23 AM, Satan Study Django > > wrote: > > I can also use the direct sql query in the code. But on cellular it > > level does not seem right -) > > Well, if it were me, I'd just us

Aggregation annotate question.

2011-05-05 Thread Satan Study Django
t - then what? A bug? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For mor

Re: Storing *big* texts in db fields

2011-02-01 Thread django-us...@fadedink.co.uk
now because I added a method to the model to calculate the > wordcount, and have it displayed in the admin list. Which gives me no > end of pleasure.) > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Please help:ImportError: No module named django

2014-07-24 Thread New Django User
Hi, I have problems with Django in windows 7. I installed Django using Windows Powershell: PS C:\Python27> pip install django Requirement already satisfied (use --upgrade to upgrade): django in c:\anaconda\lib\site-package. However, when I run "import django" in Python 2.7.6 she

Re: Please help:ImportError: No module named django

2014-08-03 Thread New Django User
t when you do the following? > > Python 2.7.6 > > >>> import sys > >>> sys.path > > On Thu, Jul 24, 2014 at 1:23 PM, New Django User > wrote: > > Hi, I have problems with Django in windows 7. > > > > I installed Django using Windows Powe

Re: Please help:ImportError: No module named django

2014-08-03 Thread New Django User
ks. Xuan On Thursday, July 24, 2014 4:07:26 PM UTC-4, Matt Gushee wrote: > > Hi, Liu Xuan-- > > What result do you get when you do the following? > > Python 2.7.6 > > >>> import sys > >>> sys.path > > On Thu, Jul 24, 2014 at 1:23 P

Simple django api

2018-06-05 Thread Django Girls Bauchi
Holla Wants to create a simple django api, that send specific data(using postman) and receive response. Yeah its simple, but simple tend hard on me this days, anyone to help out, urgently. Thanks -- You received this message because you are subscribed to the Google Groups "Django users&q

Re: Simple django api

2018-06-05 Thread Django Girls Bauchi
Hello Response pls On Tue, Jun 5, 2018, 10:46 PM Django Girls Bauchi wrote: > Holla > Wants to create a simple django api, that send specific data(using > postman) and receive response. Yeah its simple, but simple tend hard on me > this days, anyone to help out, urgently. > >

Re: Simple django api

2018-06-05 Thread Django Girls Bauchi
Wants to create a simple django api, that accept specific data(using postman) and send response. Yeah its simple, but simple tend hard on me this days, anyone to help out, urgently. On Wed, Jun 6, 2018, 3:26 AM Dylan Reinhold wrote: > What is your specific question. > > On Tue, Jun 5

Re: Simple django api

2018-06-05 Thread Django Girls Bauchi
On 06-Jun-2018, at 7:55 AM, Dylan Reinhold wrote: > > What is your specific question. > > On Tue, Jun 5, 2018 at 6:35 PM, Django Girls Bauchi < > bau...@djangogirls.org> wrote: > >> Hello >> Response pls >> >> On Tue, Jun 5, 2018, 10:46 PM Django

problem in activating virtual environment in Django with ". \Scripts\activate" command

2019-01-17 Thread Django Geek Aditya
ubscribed 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. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.

Re: problem in activating virtual environment in Django with ". \Scripts\activate" command

2019-01-18 Thread Django Geek Aditya
CommandNotFoundException PS E:\todo> -- 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. To post

Re: problem in activating virtual environment in Django with ". \Scripts\activate" command

2019-01-18 Thread Django Geek Aditya
I'm using Windows 10 On Friday, January 18, 2019 at 8:39:08 AM UTC+5:30, kannamshivakumar417 wrote: > > Can you tell which os ur using. > > On Fri 18 Jan, 2019 12:48 am Django Geek Aditya wrote: > >> Shell Output after entering command is >> PS E:\todo>

Is Microsoft Visual Studion 2017 Environment is good for Django development ?

2019-01-19 Thread Django Geek Aditya
I am a beginner in Django. Is Microsoft Visual Studio will be a better environment to start with django from basics. They are providing a detailed help on their website LINK <https://docs.microsoft.com/en-us/visualstudio/python/learn-django-in-visual-studio-step-01-project-and-solution?view

consume Google API through REST API

2020-02-26 Thread New Django user
I am new to Django and building a simple webpage where the user can upload a file and then that file will be processed using Google API. I am done with creating a user login page but not sure how to start with the 2nd part i.e. file upload and Google API. Can anyone help me or suggest some

Re: consume Google API through REST API

2020-02-26 Thread New Django user
Thanks a lot, Naveen for sharing these tutorials. I will definitely go through them and let you know if I have any additional queries. On Wednesday, February 26, 2020 at 7:44:58 AM UTC-6, Naveen Arora wrote: > > Hi, > > Please refer here how to upload a file through Djang

Re: Simple django api

2018-06-07 Thread Django Girls Bauchi
Anybody??? On Wed, Jun 6, 2018, 3:32 AM Django Girls Bauchi wrote: > JWT, auto generated user Id(alphanumeric), email, and full name > Thanks > > On Wed, Jun 6, 2018, 3:30 AM Satyam Soni > wrote: > >> Its simple. Postman is simply a tool. All you need to create an api.

Permission to views

2018-10-11 Thread Django Girls Bauchi
Hello guys, am creating an all that needs permission to certain view, no login permission, sort of access or eligibility permission.. Any ideas??? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this grou

Click-wrap license (seeking django application)

2009-04-07 Thread Social Network in DJango
n advance, Jonathan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For

Uploading music or videos (seeking django package)

2009-04-07 Thread Social Network in DJango
u are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

HTML works directly in browser, but not in DJango... Why???

2009-05-19 Thread Social Network in DJango
http://127.0.0.1:8080/ I do not see the button. I view page source. The page source is identical to the below. Please let me know how I can see the button and hear the music from DJango if I already can do so in html. Thank you in advance, Jonathan http://download.macromedia.com/pub/shockw

Authenticate returns None when it should validate... what I am I doing wrong here?

2009-10-21 Thread Social Network in DJango
My django program will not log in on one of my development machines, yet it works fine in my deployment environment. I managed to isolate the bug to the following code: Any help is greatly appreciated. Jonathan (Python Shell) >>> from django.contrib.auth import authenticate

Re: Authenticate returns None when it should validate... what I am I doing wrong here?

2009-10-21 Thread Social Network in DJango
','johnpassword') >>> user.save() >>> newuser= authenticate(username='johnlennon', password='johnpassword') >>> print newuser johnlennon >>> On Oct 21, 1:35 pm, Social Network in DJango wrote: > My django program will not log in

Developing django apps in jupyter

2021-11-29 Thread 'MH&#x27; via Django users
Hi everyone I have built a few django apps, but on a very basic level and only for my own usage. Little helpers for self management. So far I just used vi(m). Now I tried out jupyter for the first time. Looks great and thanks to a few links from Google I could also load the django kernel in

Re: Developing django apps in jupyter

2021-11-30 Thread 'MH&#x27; via Django users
Thank you very much. Then I see that I should use jupyter only for other projects, but not for django. And you have provided me with alternatives. I always thought these IDEs would be very expensive. On Monday, November 29, 2021 at 10:38:11 PM UTC+1 Kasper Laudrup wrote: > On 29/11/2021 14

Database "InterfaceError connection already closed" with asgi.

2021-12-09 Thread peter.wagemans via Django users
em will be appreciated. Note the following in django/core/handlers/exception.py: response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc) The "Asynchronous support" page: https://docs.djangoproject.com/en/3.1/topics/async/ thread_sensitive=Fals

How to trigger a function with an update view

2022-02-12 Thread 'MH&#x27; via Django users
trigger a computation and to update another field with a new value as well. How can this be done? Best regards -- 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: How to trigger a function with an update view

2022-02-13 Thread 'MH&#x27; via Django users
self).save(commit=False) > instance.flag1 = 'flag1' in self.cleaned_data['multi_choice'] # etc > if commit: > instance.save() > return instance > > > 'MH' via Django users schrieb am Sa., 12. > Feb. 2022, 22:11: > >>

collectstatic files chown'ed by root

2022-02-14 Thread 'Tim&#x27; via Django users
Hi all, I'm deploying Django 4 via docker-compose. For security reasons, the Dockerfile creates a non-root user before running the entrypoint.sh script (which does migrations, collectstatic and starts the server with gunicorn). All app files are "chown"ed by this non-root us

Re: collectstatic files chown'ed by root

2022-02-16 Thread 'Tim&#x27; via Django users
e (I think) and it should work there too. On Tuesday, February 15, 2022 at 6:48:41 PM UTC+1 Derek wrote: > I literally spent the last few days trying to fix this same issue (apart > from your "Django SECRET_KEY in a .env file" problem, which I don't > understand as it does

Supertypes, subtypes and authentication

2022-03-22 Thread 'AnneVerm&#x27; via Django users
ideal. I hope someone could point me in the right direction to solve this problem. Kind regards, Anne -- 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 em

Re: Supertypes, subtypes and authentication

2022-03-24 Thread 'AnneVerm&#x27; via Django users
ser_nodeid_fkey FOREIGN KEY (nodeid) REFERENCES public.ntw_node (id) MATCH SIMPLE ON UPDATE CASCADE ON DELETE CASCADE ) However, in reality nodes are not necessarily related to users one-to-one, there are nodes managed by a root or admin user, as in the django admin they hav

RE: django.db.utils.InterfaceError: connection already closed

2022-04-26 Thread peter.wagemans via Django users
Michele, > ... the database connection seems to shut down randomly. Could be the same problem as I described in Database "InterfaceError connection already closed" with asgi. https://groups.google.com/g/django-users/c/RmtFuCVLfPE/m/dBQjq7FsBQAJ Django doesn't stick

Model Design

2022-05-05 Thread 'dtdave&#x27; via Django users
generic foreign key but I am not sure how this would work. Thanks in advance -- 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-user

Allocating items to users

2022-05-13 Thread 'dtdave&#x27; via Django users
is that I am stuck allocating the clients to the specific account manager. I know that I am missing the point in implementing a queryset and tieing it to that user. Any help would be appreciated. -- You received this message because you are subscribed to the Google Groups "Django users" gro

LogIn Class Based View

2022-05-26 Thread 'dtdave&#x27; via Django users
ciate any help. -- 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. To view this discussion on the web v

Restricting items to a specific user

2022-09-14 Thread 'dtdave&#x27; via Django users
-- 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. To view this discussion on the web visit https://gr

Anyone testing async views with django test client?

2022-09-20 Thread 'SP&#x27; via Django users
My async CBV works when accessed through my url endpoint with REQUESTS package. But with the django test client it seems to think the database doesn't contain the information I'm trying to pull using ORM. I've confirmed that the data DOES exist in the newly recreated DB (

If Statement django template

2023-01-12 Thread 'dtdave&#x27; via Django users
n if statement in my template but the following does not work: {% if contract.supplier == 'IBM' %} If I replace this with a non-foreign key item then it works fine. Any help would be appreciated. -- You received this message because you are subscribed to the Google Groups "Djang

database design approach

2023-02-01 Thread datasci via Django users
I am designing a database for a django project. I already read this tutorial that I found really useful: https://learndjango.com/tutorials/database-design-tutorial-beginners I have a question regarding the normalization. The normalization is important due that we need to reduce redundant data

Django v3.2 broken admin interface due to malicious JSON value

2023-03-07 Thread hi via Django users
Hello everybody, I’ve used a fuzzer on my Django v3.2 project that resulted in a broken admin interface. I’m not sure whether this is a bug or a rough edge case. I’m using Python 3.9.13 with Django 3.2.18 with Postgres. I have a Model with a JSONField and also added the model to my admin view

Questions about Installing Django & Python

2012-11-18 Thread New to Django / Python
Hi, I am completely new to programming (despite knowing basic HTML and CSS). I am trying to install python and django and have successfully installed the python shell (i think - see attachment 1). Where I am having difficulty is in install django. I have downloaded the django packages

Re: Questions about Installing Django & Python

2012-11-18 Thread New to Django / Python
Hi I have just installed django by doing it through CMD. Going through the tutorial now. On Monday, 19 November 2012 16:23:05 UTC+11, New to Django / Python wrote: > > Hi, > > I am completely new to programming (despite knowing basic HTML and CSS). > > I am trying to install

i have a question ,whether Django’s cache framework can support transparent proxy deploy mode at isp environment ?

2015-03-01 Thread 'johnzeng&#x27; via Django users
andling all of the caching transparently. * Your Django Web site may sit behind a /proxy cache/, such as Squid Web Proxy Cache (http://www.squid-cache.org/), that caches pages for performance. In this case, each request first would be handled by the proxy, and it would be passed to your

Re: Using two urls to load the same template

2014-11-13 Thread 'werefrog&#x27; via Django users
m, I only get "test", whereas when I go to mysite.com/index.html, I get "test" as well as the home variable. It almost seems like something isn't loading in the proper order? Thanks Kyle -- You received this message because you are subscribed to the Google Groups "Djan

Re: eCommerce Search

2014-12-17 Thread 'werefrog&#x27; via Django users
Hi John, You might want to search for django+faceted+search. Is it what you're looking for? Best regards Le 17/12/2014 16:20, John Rodkey a écrit : Hi All, I apologize if this has been answered, but what is the best way to search/query a model based on filters. For example, say w

<    1   2   3   4   5   6   7   8   9   10   >