Re: TemplateSyntaxError

2019-05-31 Thread sagar ninave
you do not have ended for loop On Fri, May 31, 2019 at 7:41 PM anchal agarwal wrote: > I am creating a simple form in which when a user will select a particular > song and press Favorite button a star image will get pop up in front of > that song. > But it is showing TemplateSyntaxError. >

Re: python manage.py makemirations

2019-05-31 Thread sagar ninave
You are right yavoucko lye i was forgot to install app in settings.py On Wed, May 29, 2019 at 11:52 PM yavoucko lye wrote: > i think you forget to add your application in setting.py > > On Wed, May 29, 2019 at 6:19 PM Robert Wahoo > wrote: > >> Did you make model changes? >> >> >> >> *From:

WhiteNoise configuration is incompatible 'Heroku'

2019-05-31 Thread omar ahmed
hii .. I deployed one Django project on Heroku.The project was running on my local server .. but it doesn't appear good on heroku i typed : git add . then git commit -am "Implement database connection" then git push heroku master it as result remote: -> $ python manage.py collectstatic

WhiteNoise configuration is incompatible Heroku

2019-05-31 Thread omar ahmed
hii .. I deployed one Django project on Heroku.The project was running on my local server .. but it doesn't appear good on heroku i typed : git add . then git commit -am "Implement database connection" then git push heroku master it as result remote: -> $ python manage.py collectstatic

Re: SOLUTION FounD : How to restore Models original Properties - Problem in Models column Exclude

2019-05-31 Thread Alexis Roda
Hi Balaji, Sorry but I don't understand what do you mean with "*If we put this code with necessary care*". All I can say is that your code is not thread safe and it *may* break. How likely is this to happen depends on the usage patterns of your app. How serious it will be depends on the leaked

Re: Accessing request from form

2019-05-31 Thread James Schneider
> > Don't beat yourself up :) > It's actually slightly cathartic and humbling to do that every once in a great while. ;-) > No-one stops looking and just waits for the answer. You have to assume > your own motivation to find it is stronger than everyone else's. It is just > good manners to

Re: advantage of angular js with django??

2019-05-31 Thread Joe Reitman
AngularJS is a Single Page App (SPA) framework. You can use Django along with Django Rest API package as the backend to your Angular app. The biggest advantage is you can create, change or have multiple frontend systems on different platforms without having to make changes to your Django

Error - Cannot query "dgp": Must be "Employee" instance. ( dgp is userName and Employee is Model Name )

2019-05-31 Thread Balaji Shetty
HI I get the error when i enter the records of Profile Model and save it. i get GUI for model. I created group and given access of both model to dgp user. ValueError at /admin/newapp/profile1/ dgp is my user name and Employee is the model name. Can anybody help me in this regards Employee

Re: SOLUTION FounD : How to restore Models original Properties - Problem in Models column Exclude

2019-05-31 Thread Balaji Shetty
Dear Alexis Roda Sir Thank You very Much. definitely Race Condition may arise if we do not put code inn critical section. But your suggested approach did not work and i found another alternative which is working fine. If we put this code with necessary care than will it be ok? On Tue, May 28,

TemplateSyntaxError

2019-05-31 Thread anchal agarwal
I am creating a simple form in which when a user will select a particular song and press Favorite button a star image will get pop up in front of that song. But it is showing TemplateSyntaxError. Please correct me where I am wrong here is my template {{ album.album_title}} {{ album.artist }} {%

Re: state_operations while adding 2 fields

2019-05-31 Thread Axel Rau
> Am 31.05.2019 um 13:15 schrieb Axel Rau : > > is it posible to bundle 2 AddField migrations with one RunPython? > How should I arrange the state_operations in this case? > > The following migration does not work. It seems, the variant below does the job. However there is no state operation

Re: How to use permissions on a CreateView class?

2019-05-31 Thread Fellipe Henrique
Thanks guys! The problem was the permission mixins on my class... Thanks! T.·.F.·.A.·. S+F *Fellipe Henrique P. Soares* e-mail: > echo "lkrrovknFmsgor4ius" | perl -pe \ 's/(.)/chr(ord($1)-2*3)/ge' *Fedora Ambassador: https://fedoraproject.org/wiki/User:Fellipeh

Re: how i can become django master ?

2019-05-31 Thread Pedro Henrique
Olá, bom dia, creio que você está perguntando como pode começar a se familiarizar, e se integrar sobre a documentação, você pode começar uma trilha no próprio site do djago, que vai te trazer alguns conhecimentos iniciais, este é o link: https://docs.djangoproject.com/en/2.2/intro/tutorial01/

Re: how i can become django master ?

2019-05-31 Thread Nick Sarbicki
https://docs.djangoproject.com/en/2.2/intro/overview/ - Nick On Fri, May 31, 2019 at 12:10 PM soroush safari wrote: > hello guys. where I need to start reading Django and her reference? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group.

state_operations while adding 2 fields

2019-05-31 Thread Axel Rau
Hi all, is it posible to bundle 2 AddField migrations with one RunPython? How should I arrange the state_operations in this case? The following migration does not work. Please advice, Axel def forwards_func(apps, schema_editor): with connections['erdb_migration'].cursor() as cursor:

how i can become django master ?

2019-05-31 Thread soroush safari
hello guys. where I need to start reading Django and her reference? -- 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.

Re: POINT OF SALE SYSTEM

2019-05-31 Thread yavoucko lye
yes of course On Fri, May 31, 2019 at 9:10 AM yavoucko lye wrote: > yes of > > On Thu, May 30, 2019 at 11:36 AM Muhammed Bilal wrote: > >> Can a POS (point of sale) software be made in Django? >> >> >> -- >>

Re: POINT OF SALE SYSTEM

2019-05-31 Thread yavoucko lye
yes of On Thu, May 30, 2019 at 11:36 AM Muhammed Bilal wrote: > Can a POS (point of sale) software be made in Django? > > > -- > You received this message because you are subscribed to the Google Groups >

Possible bug [Was: jquery deployment]

2019-05-31 Thread Mike Dewhirst
On 30/05/2019 8:22 pm, Mike Dewhirst wrote: I just encountered a weird UI glitch[1] in the Admin after upgrading to Django 2.2.1 I checked and found the version of jquery I'm using is 1.4.1 and figured that has to be contributing to the problem. The 2.1 release note says "jQuery is upgraded

Re:

2019-05-31 Thread Pradeep Singh
sir , which is better for learning perspective angular or react or vue On Fri, 31 May 2019 at 13:13, 5pence wrote: > The advantage of angular (and react or vue ) is DOM manipulation and only > changing the parts of the page that needs it , not an entire page reload. > > On Fri, 31 May 2019 at

Re:

2019-05-31 Thread 5pence
I ought to add this is the advantage of angular and other Dom ( document object model) manipulators whatever the framework. On Fri, 31 May 2019 at 08:42, 5pence wrote: > The advantage of angular (and react or vue ) is DOM manipulation and only > changing the parts of the page that needs it ,

advantage of angular js with django??

2019-05-31 Thread Pradeep Singh
What are the advantages of using AngularJS with Django? -- 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 to

Re:

2019-05-31 Thread 5pence
The advantage of angular (and react or vue ) is DOM manipulation and only changing the parts of the page that needs it , not an entire page reload. On Fri, 31 May 2019 at 08:39, Pradeep Singh wrote: > can anyone tell me ..what is advantage of angular js ...in python/django.. > > -- > You

[no subject]

2019-05-31 Thread Pradeep Singh
can anyone tell me ..what is advantage of angular js ...in python/django.. -- 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

Re: SFTP (Secure File Transfer Protocol )

2019-05-31 Thread Kasper Laudrup
Hi Vikash, "Vkash Poudel" – 31. maj 2019 09:08 > I am planning to SFTP web server in Python and i am confused that where should > i start with so > What you are planning doesn't make sense, so that's probably the reason why you have a hard time figuring out where to start ;-) SFTP and a web

Re: SFTP (Secure File Transfer Protocol )

2019-05-31 Thread Vkash Poudel
Thanks for the Reply I appericiate 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. To post to this group, send

Re: SFTP (Secure File Transfer Protocol )

2019-05-31 Thread Vkash Poudel
I am planning to SFTP web server in Python and i am confused that where should i start with so -- 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