help

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

help

Tosin Ayoola
sup guys, i'm kinda lost and need help, i'm working on an electronic noticeboard and course ware web app using django and i'm trying to have a section on the notice board to show the listed of the most read news, using the assignment tag, but with django ver 2.2 it seems not to be available, can anyone help out 

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHLKn70Fo8pqWoq5SBVKohnscDHdoZmaVkSZxbXSCKWfELsJ4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Django with Docker

Omer Ozsakarya
Hello all,

How are you deploying your Django applications with Docker? 
1- Which packages, libraries are you writing into docker compose file?
2- Are you also using a virtual environment with docker?

Thanks

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACGWYAFpn4XxxGjvAKkKsPi_YjYYzdzY17zrs1%3DfGKCAKMm1fA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: help

Britto .
In reply to this post by Tosin Ayoola
Cannot understand your problem. Please describe it clearly or share the code zipped.


Regards
Britto


On Mon, 29 Apr 2019 at 19:44, Tosin Ayoola <[hidden email]> wrote:
sup guys, i'm kinda lost and need help, i'm working on an electronic noticeboard and course ware web app using django and i'm trying to have a section on the notice board to show the listed of the most read news, using the assignment tag, but with django ver 2.2 it seems not to be available, can anyone help out 

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHLKn70Fo8pqWoq5SBVKohnscDHdoZmaVkSZxbXSCKWfELsJ4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAF0v3b5cRGt3UMTU1jGm%3DFtVgOAK39%2BffuSijczysV7z4hadoQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: help

Nick Sarbicki
In reply to this post by Tosin Ayoola
Hi Tosin,

The assignment tag was deprecated in 1.9 and removed in 2.0.


Basically it has been replaced with simple_tag. You should read the docs for that here: https://docs.djangoproject.com/en/2.2/howto/custom-template-tags/#simple-tags


- Nick


On Mon, Apr 29, 2019 at 3:14 PM Tosin Ayoola <[hidden email]> wrote:
sup guys, i'm kinda lost and need help, i'm working on an electronic noticeboard and course ware web app using django and i'm trying to have a section on the notice board to show the listed of the most read news, using the assignment tag, but with django ver 2.2 it seems not to be available, can anyone help out 

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHLKn70Fo8pqWoq5SBVKohnscDHdoZmaVkSZxbXSCKWfELsJ4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGuvt904dLpe0AYHTro%2BaX3JvzmSyhYXDhbus8UA3Aa5W3Hwxg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Django with Docker

Nick Sarbicki
In reply to this post by Omer Ozsakarya
Hi Omer,

Docker actually has docs on this itself: https://docs.docker.com/compose/django/

- Nick


On Mon, Apr 29, 2019 at 4:19 PM Omer Ozsakarya <[hidden email]> wrote:
Hello all,

How are you deploying your Django applications with Docker? 
1- Which packages, libraries are you writing into docker compose file?
2- Are you also using a virtual environment with docker?

Thanks

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACGWYAFpn4XxxGjvAKkKsPi_YjYYzdzY17zrs1%3DfGKCAKMm1fA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGuvt93J5MbJqxjP6%3DfWn%3DRU_%3D0OyCu6vNFQdLNta4ZuDnAQnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: help

Tosin Ayoola
In reply to this post by Britto .
i want to creat an assignment template tag to allow me create a link on a project i am working on but rite now it seems i can't use the django assignment template tags, but now the tag has been removed in django version > 2 is there a way i can do it.

On Mon, Apr 29, 2019 at 4:08 PM Britto . <[hidden email]> wrote:
Cannot understand your problem. Please describe it clearly or share the code zipped.


Regards
Britto


On Mon, 29 Apr 2019 at 19:44, Tosin Ayoola <[hidden email]> wrote:
sup guys, i'm kinda lost and need help, i'm working on an electronic noticeboard and course ware web app using django and i'm trying to have a section on the notice board to show the listed of the most read news, using the assignment tag, but with django ver 2.2 it seems not to be available, can anyone help out 

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHLKn70Fo8pqWoq5SBVKohnscDHdoZmaVkSZxbXSCKWfELsJ4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAF0v3b5cRGt3UMTU1jGm%3DFtVgOAK39%2BffuSijczysV7z4hadoQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHLKn738WzKg_N-TK%3DbVBqcwtN%2BAXRwiCRuOHhR8D5mut240Lg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: help

Tosin Ayoola
In reply to this post by Nick Sarbicki
hello Nick,
so is there a way i can get pass this, cause i really need to get a link to show the list of the most read information,

On Mon, Apr 29, 2019 at 4:10 PM Nick Sarbicki <[hidden email]> wrote:
Hi Tosin,

The assignment tag was deprecated in 1.9 and removed in 2.0.


Basically it has been replaced with simple_tag. You should read the docs for that here: https://docs.djangoproject.com/en/2.2/howto/custom-template-tags/#simple-tags


- Nick


On Mon, Apr 29, 2019 at 3:14 PM Tosin Ayoola <[hidden email]> wrote:
sup guys, i'm kinda lost and need help, i'm working on an electronic noticeboard and course ware web app using django and i'm trying to have a section on the notice board to show the listed of the most read news, using the assignment tag, but with django ver 2.2 it seems not to be available, can anyone help out 

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHLKn70Fo8pqWoq5SBVKohnscDHdoZmaVkSZxbXSCKWfELsJ4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGuvt904dLpe0AYHTro%2BaX3JvzmSyhYXDhbus8UA3Aa5W3Hwxg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHLKn72HjL%2B3gY%2BjY1nMfs4aV5czL79Dq5eO9bbn3kr0ZKf8dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: help

Daniel Roseman-2
On Monday, 29 April 2019 17:45:48 UTC+1, Tosin Ayoola wrote:
hello Nick,
so is there a way i can get pass this, cause i really need to get a link to show the list of the most read information,


Nick told you exactly what to do. assignment_tag has been replaced by simple_tag.
-- 
DR. 

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/05e02f56-16c8-4086-8645-db3475c55603%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Django with Docker

Andréas Kühne
In reply to this post by Omer Ozsakarya
Hi Omer,

I deploy using the latest version of the 3.7 python docker image. Then we add all of the requirements into the docker container - without a virtual environment. Because the docker image will only run the django application, there is no need for creating a virtual environment. If I need another application I create another docker image.

Hope this answers your questions. 

Regards,

Andréas


Den mån 29 apr. 2019 kl 17:19 skrev Omer Ozsakarya <[hidden email]>:
Hello all,

How are you deploying your Django applications with Docker? 
1- Which packages, libraries are you writing into docker compose file?
2- Are you also using a virtual environment with docker?

Thanks

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACGWYAFpn4XxxGjvAKkKsPi_YjYYzdzY17zrs1%3DfGKCAKMm1fA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK4qSCcbQc8U1yk0dAtXDM5fBrojem9E526tUcXVC5KGojD6jw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.