Re: Multisite strategy

2018-05-31 Thread Carlo Ascani
Il giorno mer 23 mag 2018 alle ore 17:02 Daniel Germano Travieso ha scritto: > > Hello! > The Sites Framework is exactly what you need (and the proper > internationalization/localization for the languages). > Just set up your 3 sites the Django way (creating the propper settings.py for > each si

Re: href not working

2018-05-31 Thread Mike Dewhirst
On 31/05/2018 1:56 PM, Caleb Bryson wrote: So i am trying to create a directory with a Home,Blog,and Contact selection. But every time i click on one of them they all go back to the home page. It feels like your urls.py is insufficiently fleshed out or maybe your home page url isn't fully for

A Web Developer is currently needed for a contract job in Lagos,Nigeria

2018-05-31 Thread Adefioye Temidayo
URGENT A Web Developer is currently needed for a contract job in Lagos,Nigeria Location: 70% remote Pay: #300,000 - #400,000 Preferred: * 3 years+ experience in web development * Python Django * Apache & uWSGI server configuration * Experience with project planning and estimation. * Experience

Re: href not working

2018-05-31 Thread Mohammed Noor
I think the mistake is using a '/' before the name inside href. Try changing it from href= '/contact'/ to href= 'contact/' Have a great day > On 31-May-2018, at 9:26 AM, Caleb Bryson wrote: > > So i am trying to create a directory with a Home,Blog,and Contact selection. > But every time i c

installation help please

2018-05-31 Thread kailash jangu
guys i installed django version 2.0.5 in windows but when i use django-admin command it shows me error what path i should i go with to get start with my newproject and do database api driver has role in it. i have my django-admin executive and python file in pyhton36/scripts what do i do help p

Re: installation help please

2018-05-31 Thread Rafael E. Ferrero
please use some kind of virtual environment... in linux its virtualenvs Rafael E. Ferrero 2018-05-31 8:06 GMT-03:00 kailash jangu : > guys i installed django version 2.0.5 in windows but when i use > django-admin command it shows me error what path i should i go with to get > start with my newp

Re: href not working

2018-05-31 Thread Melvyn Sopacua
On donderdag 31 mei 2018 05:56:59 CEST Caleb Bryson wrote: > So i am trying to create a directory with a Home,Blog,and Contact > selection. But every time i click on one of them they all go back to the > home page. If the url in your addressbar is /blog/ after clickin on it, but you see the home

Re: A Web Developer is currently needed for a contract job in Lagos,Nigeria

2018-05-31 Thread Oladipupo Elegbede
You may want to talk to Tim Akinbo. taki...@gmail.com +2348033797801 He's highly highly recommended if he's available. Regards. On Thu, May 31, 2018, 06:11 Adefioye Temidayo wrote: > > URGENT A Web Developer is currently needed for a contract job in > Lagos,Nigeria Location: 70% remote Pay: #3

Re: href not working

2018-05-31 Thread Caleb Bryson
my blog view.py is empty at the moment Mysite url.py from django.contrib import admin from django.conf.urls import url, include urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^', include( 'hybridair.urls')), url(r'^blog/$', include( 'blog.urls')), ] Hybr

Re: href not working

2018-05-31 Thread Caleb Bryson
my blog view.py is empty at the moment Mysite url.py from django.contrib import admin from django.conf.urls import url, include urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^', include( 'hybridair.urls')), url(r'^blog/$', include( 'blog.urls')), ] Hybr

Re: href not working

2018-05-31 Thread Caleb Bryson
my blog view.py is empty at the moment Mysite url.py from django.contrib import admin from django.conf.urls import url, include urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^', include( 'hybridair.urls')), url(r'^blog/$', include( 'blog.urls')), ] Hybr

calculate the followers difference/grow by day

2018-05-31 Thread João Paulo
Hey guys, I´m using SQLite and trying to calculate the followers difference by day This is my model: class Statistics(models.Model): followers = models.IntegerField() last_update = models.DateTimeField(auto_now_add=True) This are my database rows: "6" "50" "*2018-05-29* 00:25:48.2761

Re: href not working

2018-05-31 Thread Melvyn Sopacua
On donderdag 31 mei 2018 15:49:28 CEST Caleb Bryson wrote: > my blog view.py is empty at the moment > > > Mysite url.py > > from django.contrib import admin > > from django.conf.urls import url, include > > > > urlpatterns = [ > > url(r'^admin/', admin.site.urls), > > url(r'^', inc

Re: A Web Developer is currently needed for a contract job in Lagos,Nigeria

2018-05-31 Thread Adefioye Temidayo
Hello, Kindly send in your portfolio Cheers! On Thu, May 31, 2018 at 4:32 PM, Rakesh Singh wrote: > I am interested for this job. If you need any information please let me > know. > > On Thu, May 31, 2018 at 1:07 PM, Adefioye Temidayo > wrote: > >> >> URGENT A Web Developer is currently needed

one-to-one GenericRelation best practices

2018-05-31 Thread Vitor Barbosa
Hello! This is my first question, so please excuse any mistakes. I'm using django 1.8 (working on migration to 2.0). I need to implement a one-to-one generic relation. To illustrate suppose I have three classes, the first representing and abstract class in a store and the other specific products

Re: URL Concatenation Issue

2018-05-31 Thread John Regis, Jr.
I have *href="about/"*. Also tried *href="./about/"* and same result. On Wed, May 30, 2018 at 10:23 PM, Spence Patrick wrote: > Is your link tag href="./about" or href="/about/" > > On Wed, May 30, 2018, 19:14 wrote: > >> Hello, >> >> I'm debugging an issue that I'm having with my URL patterns.

Re: URL Concatenation Issue

2018-05-31 Thread John Regis, Jr.
In blog/urls.py I have my my homepage mapped to my view.index. Are you saying to also map view.about as well? Also, when you say namespace are you saying to create a dictionary and include my index (blog) and about pages as values? New to Python so I'm trying to still wrap my head around the utiliz

Implementing a 'please wait' page

2018-05-31 Thread Mohammed Noor
Hello Guys, I currently have a process running on my django application which takes about 10-15 minutes to complete. Currently, the user clicks on a 'submit' button and this process starts. The web page remains in a hung state for the complete time this process takes to run and after say 10-1

dumpdata fails with crytpic error

2018-05-31 Thread Bernd Wechner
Just tried this: $ python3 manage.py dumpdata --format json --indent 4 > data.json CommandError: Unable to serialize database: 'NoneType' object has no attribute 'is_authenticated' Anyone seen this before. How does one diagnose this given the vague nature of the message? I mean I presume it's c

Re: dumpdata fails with crytpic error

2018-05-31 Thread Mike Dewhirst
On 1/06/2018 2:22 PM, Bernd Wechner wrote: Just tried this: | $ python3 manage.py dumpdata --format json --indent 4>data.json CommandError:Unableto serialize database:'NoneType'objecthas noattribute 'is_authenticated' | Anyone seen this before. How does one diagnose this given the vague natu

Re: Implementing a 'please wait' page

2018-05-31 Thread Mark Phillips
Have you looked at celery (http://www.celeryproject.org/) to handle the long running process? Perhaps in conjunction with redis (https://redis.io/)? If you passed the long running process to celery, then you could change the page to "say please wait". Mark On Thu, May 31, 2018 at 4:35 PM, Mo