Use include template tag in another app template folder

2022-09-02 Thread mohamed khaled
I have two apps each one has template folder I want to use *include *template tag to get template from other app how can I handle 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

Re: How to get data from django model to the excel sheet.

2020-07-06 Thread mohamed khaled
You can serialized your data and then use any tools to export the data as csv for example. On Mon, Jul 6, 2020, 9:00 AM Ashutosh Mishra wrote: > I want to get the data from the django model contans(name,age,photo) on a > excel sheet. > How can i do that. > > -- > You received this message

Re: Need Covid 19 Database for Experiments

2020-07-02 Thread mohamed khaled
go to Kaggle website you will see or IEEE On Thu, 2 Jul 2020 at 19:38, Balaji Shetty wrote: > Hi > > Can anyone provide me Covid 19 Database. > I need Covid 19 Database for Experiments > > Thank you > > > -- > Mr Shetty Balaji > Asst. Prof. > IT Department > SGGS I > Nanded. My. India > > -- >

Re: Unable to import HTML code

2020-06-27 Thread mohamed khaled
What do you want exactly ? do you mean all static files do you want to import it from old project to new project ?? On Sat, 27 Jun 2020 at 17:54, Avi shah wrote: > Hi my name is Avi > > Just finished a course from Udemy on django. Unable to import HTML and CSS > to new project > > Pls guide me

Re: Project Collaboration Team

2020-06-23 Thread mohamed khaled
it's not good way to create a telegram group that doesn't one can type or send a message On Tue, 23 Jun 2020 at 16:33, Ali Murtuza wrote: > The link is not working > > On Tue, 23 Jun 2020 at 7:31 PM, Shubhanshu Arya < > shubhanshuarya...@gmail.com> wrote: > >> Okay, Please join this group. >>

Re: Project Collaboration Team

2020-06-23 Thread mohamed khaled
I hope that too we can create team together and add Deepti sharma Famzaa Ali Murtuza On Tue, 23 Jun 2020 at 16:00, Deepti sharma wrote: > Interested. > > On Tue, Jun 23, 2020 at 9:58 AM Famzaa wrote: > >> interested in this... >> >> On Tue, Jun 23, 2020 at 5:20 PM Ali Murtuza >> wrote: >> >>>

Re: Which is a better

2020-06-22 Thread mohamed khaled
if you want to learn and see what happens use function based view but you need to write a lot compared with class based view it's simple and easy. someimes you can work with both after creating a lot of projects you will know when you will use class or function depends how are they easy. it's

Re: Django Channel Demo Error From its site

2020-04-29 Thread mohamed khaled
I have an idea try to download small project from github using channels and test it and see if works or not and tell me On Wednesday, 29 April 2020 16:09:12 UTC+2, Aditya Bohra wrote: > > I am trying to start with channels but the demo in python shell is not > working properly: >

Re: App Dev wanted

2020-04-29 Thread mohamed khaled
I am django developer and I have collaborated two projects and I am working on third project is a little bit bigger than other this my github https://github.com/khaldon I will collaborate with you in your project what I have known On Wednesday, 29 April 2020 16:09:11 UTC+2, Arne Bollinger

Re: Django Channel Demo Error From its site

2020-04-29 Thread mohamed khaled
did you add channels_redis ?? On Wednesday, 29 April 2020 16:09:12 UTC+2, Aditya Bohra wrote: > > I am trying to start with channels but the demo in python shell is not > working properly: > https://channels.readthedocs.io/en/latest/tutorial/part_2.html#enable-a-channel-layer > Its is showing

Re: Collaborators wanted

2020-04-23 Thread mohamed khaled
I can work with you about add design I have good knowledge in semantic I created two apps and I have worked in third app form a while this my repo with my friend all theses project I used bootstrap django semantic django-filter and etc On Tuesday, 21 April 2020 23:20:24 UTC+2, John McClain

Re: Collaborators wanted

2020-04-23 Thread mohamed khaled
this my repo https://github.com/khaldon On Friday, 24 April 2020 06:23:41 UTC+2, mohamed khaled wrote: > > I can work with you about add design I have good knowledge in semantic I > created two apps and I have worked in third app form a while this my repo > with my friend all thes

Re: Can I use Django for client-server communication ?

2020-04-23 Thread mohamed khaled
if you have different apps in a different platform or like a desktop app or mobile app you communicate with them or with a website using API in Django has a very good package called Django REST framework you can take your result of your GUI you can serialize or convert this data to JSON and

Re: Success Message after Submitting a form

2020-04-23 Thread mohamed khaled
just use SuccessMessageMixin from django.contrib.messages.views import SuccessMessageMixin class PostCreateView(LoginRequiredMixin,SuccessMessageMixin, CreateView): model = Post fields = ['caption', 'design'] template_name = "post_form.html" success_url = '/score'

Re: Error while hosting on heroku

2020-03-13 Thread mohamed khaled
Do you use postgres ??? On Mar 13 2020, at 5:15 pm, shree hari wrote: > here's the paste of the error: https://del.dog/ewoghelahu.txt > have already run makemigrations and migrate. It runs fine on my local > machine. Can somebody please help me ? > > > -- > You received this message because you

I need any internship doesn't matter money

2020-03-07 Thread mohamed khaled
I need an internship with low money I need to work with team I hope work online -- 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: Study and project partner(s) needed

2020-02-14 Thread mohamed khaled
I need to partner to work with me and I have another one help together to build big apps. to each one of us improve our resume. and learn how to work together using git and github and I hope to work with us you will learn a lot as contributor On Feb 14 2020, at 6:11 pm, Akorede Habeebullah

Re: A Business Solutions and ERP framework released.

2019-12-22 Thread mohamed khaled
how long time did you take to finish this project ? On Dec 22 2019, at 5:19 pm, Ramez Ashraf wrote: > Hello fellow Django developers, > > A framework to create diverse business solutions, equipped with a reporting > engine and a responsive dashboard. > https://github.com/ra-systems/ra > > On

I need any internship

2019-11-27 Thread mohamed khaled
I would like to work with any time anyone just works with someone to help any company or any startup I am good in English and I have a good skill not much because I am still junuior. I love so much programming and work with exciting projects. I just build projects alone I need to communicate

Re: Internship

2019-11-22 Thread mohamed khaled
I also I would like for an internship any help guys or opensource projects ? On Friday, 22 November 2019 13:33:26 UTC+2, Scyil sharma wrote: > > I am sahil sharma, a student of btech 3rd year and I'm seeking for an > internship in Winter vacation. I would like to be work as a backend >

taggit in Django CBV

2019-10-20 Thread mohamed khaled
views.py from django.shortcuts import render, get_object_or_404 from .models import Post from django.views.generic import ListView from taggit.models import Tag def post_list(request, tag_slug=None): object_list = Post.published.all() tag = None if tag_slug: tag =

transition part of particular template to another template

2019-10-13 Thread mohamed khaled
I want to take the result from* detail.html* to *list.html * in *detail.html* {% with comments.count as count %} {{count}} Comment{{count|pluralize}} {% endwith %} in *list.html * I want to add the result of *detail.html *only I don't need to render all rest of html I just need this block.

{% with %} tag

2019-10-13 Thread mohamed khaled
{% with comments.count as total_comments %} the with tag is like a create variable but in the Django template instead of using *comments.count *many times we use a short like variable. Is that right or not ?? -- You received this message because you are subscribed to the Google Groups

Re: [Django Documentation] Auto Scrolling the contents along with the page

2019-09-13 Thread mohamed khaled
Do you mean when you are in the middle of the page should notes you about where you in the right side ? like make bold text as marker to know you where you are ??? On Friday, 13 September 2019 13:54:57 UTC+2, Lokesh Sanapalli wrote: > > Hi Everyone, > > I am a big fan of django and using it

about {% with %}

2019-09-10 Thread mohamed khaled
what the {% with %} actually does ??? -- 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

Re: why i need to download pycharm , why python ide is not sufficient to write code .

2019-03-27 Thread mohamed khaled
You can use such as VS code atom and sublime text you can customize your environment according programme language. Of course pycharm is great IDE and uses for huge companies and mustn't use it On Wed, Mar 27, 2019, 10:48 PM Bill Freeman wrote: > Like many tools, it will take longer to learn to

Re: Crispy: Helper Layout has no effect on form.

2019-03-26 Thread mohamed khaled
Are you add in setiings.py file installed_apps = [ . 'crispy_forms', ] CRISPY_TEMPLATE_PACK = 'bootstrap4' then add this in page template you want to render {% load crispy_forms_tags %} On Wednesday, 20 March 2019 17:32:31 UTC+2, Mohammad Etemaddar wrote: > > Here is my model form

templates and Views

2019-02-18 Thread mohamed khaled
I think this link can help you https://www.google.com/url?sa=t=web=j=https://stackoverflow.com/questions/12187751/django-pass-multiple-models-to-one-template=2ahUKEwimi5aqosbgAhUJtRoKHaiCCYYQjjgwAHoECAcQAQ=AOvVaw0pFQWtYwtjrd03LHLWZ8rz -- You received this message because you are subscribed to