Re: django

2018-07-14 Thread Rohit Keshav
Django doesn't behave like WordPress. There isn't a UI like WordPress. For more refer - https://www.djangoproject.com/start/ On Sat, Jul 14, 2018, 10:27 PM jiten amin wrote: > Does Django provides UI interface like Wordprees do? How we can develop > website in django using UI? > > -- > You recei

django

2018-07-14 Thread jiten amin
Does Django provides UI interface like Wordprees do? How we can develop website in django using UI? -- 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+

Re: App structure : "One file - One object" - Is there a better way ?

2018-07-14 Thread 'Anthony Flury' via Django users
On 14/07/18 15:59, Mickael Barbo wrote: Hi Anthony 😊 Michael Thanks for sharing your experience. "1 file one object doesn't mean what you think it means." I hope you get the meaning I described 😉 I understand what you mean - I just don't agree with your analysis of one file one object m

Re: App structure : "One file - One object" - Is there a better way ?

2018-07-14 Thread 'Anthony Flury' via Django users
On 14/07/18 15:59, Mickael Barbo wrote: Hi Anthony 😊 Michael Thanks for sharing your experience. "1 file one object doesn't mean what you think it means." I hope you get the meaning I described 😉 I understand what you mean - I just don't agree with your analysis of one file one object m

Including DetailView context in ListView page in the Order history page using Django

2018-07-14 Thread Simon McConnell
item.product.image from your template points to nothing. Product is a CharField so I don't see it having any image attribute. Try to display some text for item.product or item.price and see how you go. -- You received this message because you are subscribed to the Google Groups "Django users"

Re: App structure : "One file - One object" - Is there a better way ?

2018-07-14 Thread Melvyn Sopacua
On vrijdag 13 juli 2018 13:44:21 CEST Mickael Barbo wrote: > *I like working with " 1 file - 1 object " (Object could be class, > function...).* > It simplify visibility, debug etc... and it's easy for me to *don't pollute > my brain* :-) It only seems that way. Debugging is actually much harder

Re: Static images are working but static CSS is not working SS attached

2018-07-14 Thread Kasper Laudrup
Hi Param, On 2018-07-14 09:16, Param Saini wrote: I just started working on python so copying settings.py file contents below : and regarding production and development server i have no idea ... i just run it on my Laptop by using python manage.py runserver command Then you are running in

Including DetailView context in ListView page in the Order history page using Django

2018-07-14 Thread Samir Tendulkar
https://stackoverflow.com/questions/51341215/including-detailview-context-in-listview-page-in-the-order-history-page-using-dj Hi Djangonauts, I would like to add some Order details(DetailView) in the Order history page(ListView), See image example below ( I have made the image on photoshop).

Isomorphic programming in Python & Django research

2018-07-14 Thread Jamesie Pic
Hi all, this is a copy from our chat that may interrest this mailing list. I came in here to announce our ReactJS implementation in Python : https://blog.yourlabs.org/post/175884575803/tbinetruychip so yeah, @tbinetruy, ReactJS dev with some python experience, is porting react to python, and sai

Re: Re: Beginner

2018-07-14 Thread bitbouncerr
Title: BitBounce Autoresponse      

Re: App structure : "One file - One object" - Is there a better way ?

2018-07-14 Thread Derek
Not sure I fully understand what you mean by ("How to split this file in smaller files with 1 method per file") , but if you really want to fragment your code base, then you could do something like this: file1.py def do_stuff(**kwargs): # process the data passed via kwargs file2.py def do

Re: App structure : "One file - One object" - Is there a better way ?

2018-07-14 Thread Mickael Barbo
Hi Anthony 😊 Thanks for sharing your experience. "1 file one object doesn't mean what you think it means." I hope you get the meaning I described 😉 "it normally means (for instance) defining one class (and ALL of it's methods' in one file) - not importing methods into class definitions - I have

[django-channels client wrapper] specifying no reconnection attempts

2018-07-14 Thread bit bouncer
Basically, I don't want the websocket to automatically attempt reconnections after it has been closed by the server. I've tried new WebSocketBridge({maxReconnectAttempts: 1}) and const socket = new WebSocketBridge({maxReconnectAttempts: 1}) socket.connect('/ws/', undefined, {maxReconnectAttemp

How to get and process Input for django-multiselectfield in Django rest framework

2018-07-14 Thread jagruti . mscit16
I have attched the issue related ss also weekday = MultiSelectField( choices=WEEK_DAYS_CHOICES, max_length=10, default=True) WEEK_DAYS_CHOICES = ( ('Monday', 'Monday'), ('Tuesday', 'Tuesday'), ('Wednesday', 'Wednesday'), ('Thuersday', 'Thuersday'), ('Friday', 'Friday'), ('Saturday', 'Saturday'),

How to get and process Input for django-multiselectfield in Django rest framework via form-data

2018-07-14 Thread jagruti . mscit16
WEEK_DAYS_CHOICES = ( ('Monday', 'Monday'), ('Tuesday', 'Tuesday'), ('Wednesday', 'Wednesday'), ('Thuersday', 'Thuersday'), ('Friday', 'Friday'), ('Saturday', 'Saturday'), ('Sunday', 'Sunday'), ) weekday = MultiSelectField( choices=WEEK_DAYS_CHOICES, max_length=10, default=True) -- You received

Re: How is MySQL syntax for a table changed if I had a ManyToManyField?

2018-07-14 Thread Gerald Brown
When looking at my database it has the 3rd table for the ManyToMany with the following: 1. ID auto-generated, 2. Table1.ID 3. Table2.ID. All fields will be integers. The 3rd table will be named Table1_Table2 or something like that. I noticed in your code below that you do not have an ID fie

Re: How is MySQL syntax for a table changed if I had a ManyToManyField?

2018-07-14 Thread mottaz hejaze
for many to many relationships between two tables .. you can make a third table that only contains the id fields ftom both tables , then you can make a third model for this table On Fri, 13 Jul 2018, 22:24 , wrote: > I tried for hours to get django's migrate/makemigrations function work but > mi

Re: I can't see my models in MySQL db

2018-07-14 Thread ali reza
Hi all, I attached my Django project as a ZIP file. please help me to find and fix the root cause of issue. Link: https://ufile.io/ycmut Thanks in advance On Wednesday, 4 July 2018 17:50:49 UTC+4:30, ali reza wrote: > > Greetings! > > *Note:* > mysite is the name of project. > django_sb_admin a

Re: Beginner

2018-07-14 Thread 'Anthony Flury' via Django users
On 12/07/18 10:28, Harsh Rawat wrote: So basically I need to write the documentation regarding what should be the apt name for the feature and what packages come installed with django initially . I think the bug report suggests discussing possible options regarding new names and packages coll

Re: Static images are working but static CSS is not working SS attached

2018-07-14 Thread Param Saini
I just started working on python so copying settings.py file contents below : and regarding production and development server i have no idea ... i just run it on my Laptop by using python manage.py runserver command Settings.py file : """ Django settings for firstproject project. Generated