sravan
Try make messages this way - ./manage.py makemessages -l en
I think python manage.py makemessages will work
Vladyslav 🇺🇦🇪🇺
Vladyslav 🇺🇦🇪🇺
Vladyslav 🇺🇦🇪🇺
(
Alexander
use containers) Docker etc.
cj
U mean python 2?
don't use python2
cj
I try any way i found in stackoverflow , and try reinstall ubuntu
did you try to create another virtual environment?
Vladyslav 🇺🇦🇪🇺
Vladyslav 🇺🇦🇪🇺
and i try to use another versions of python
Vladyslav 🇺🇦🇪🇺
3.6, 3.7 m3.8
Vladyslav 🇺🇦🇪🇺
no way
Vladyslav 🇺🇦🇪🇺
reinstall ubuntu not give anything
Akay
There are any plugins toh count visitor in real... For real i mean to say it exclude bot, and also make report for session and page views like WordPress system.
Akay
its for me?
Ya it know then tell...... Anyone can reply
Vladyslav 🇺🇦🇪🇺
I dont understand anything
Shekhar
ok thanks
cvam
python manage.py runserver File "manage.py", line 14 ) from exc ^ SyntaxError: invalid syntax
cj
cvam wanted to post this long code: https://hastebin.com/owajidihax
cvam
im on AWS ec2 got this error
cvam
@c0x6A
cvam
why me?
if you want , thats fine
cvam
that from exc doesn't belong there
but it is woking fine on my arch machine
Mirco
but it is woking fine on my arch machine
One of the reason why docker exists 😊
cj
but it is woking fine on my arch machine
what version of django are you using? right now I have manage.py file from django 1.11 and 2.2 opened, they look waaaaay different from what you've posted
cj
im using 2.1
I have one opened now... yeah, it's the same manage.py... and yes... it works 🤔
cvam
what Python version are you using in the envirtonment?
may be that is the reason let me check
cvam
ploblem was with virtualenv ubuntu sucks !!! thanks for the help guys :)
Pablo
Hi there, I'm creating a new site with python3 and django2, for user registration should I use the Django system or the Django-registration-redux? Which one is better? Thanks
Pablo
Bootstrap 4
Mirco
Bootstrap 4
Use django system
Jimmies San
welcome back, wordpress fans
😂😂😂
Anonymous
When I'm using create view where does my logic go? For example I'm using create view to sign up users but I have an extra field that I have to choose appropriate value for it before user sign up is finished Where does that go?
Anonymous
I've overried post function I think I messed it up I'll try form is valid But my logic have nothing to do with validation This is no problem? What if request was GET?
cj
but, if you want to "play" with some data before rendering the form to show to the user, you can override get_initial() in the view
Franger Rodolfo
FTW??
cj
FTW??
For The Win
Franger Rodolfo
😂 😂 😂
Franger Rodolfo
👍
F.
I can suggest you one thing that imho is a must-do : drop put WP into the bin 😁
Oh dear... I finally faced my demons and just went on with it. I haven't been able to add django cms to an existing project but I decided to start over following the normal rite of passage (the begginer's tutorial 😞😞). There are a few things I would like to share with everyone. I use django 1.8.... (please do not ask me why).... Installing and setting up django-cms if you're not using the latest version is a pain. A REAL PAIN ...for the impatient tho (like me). Is it worth it, Yes. Do not image that you can bumb into this and start making fireworks without going through the rite of passage. This is a valuable lesson that I've learnt today. So for anyone looking to try out django-cms in the future, a word is enough for those who don't like frustration. Thank you.🚶🏿‍♂️🚶🏿‍♂️
F.
yeah.... I agree... I will be refactoring this project 2 months after it goes live. So yeah..... I see now that django 1.8 needs to go forever. I'll miss it tho. It was pretty simple to work with. Thanks mate. I really appreciate the support
Shaun
What is easier in 1.11? I did some 1.5 awhile back and then jumped back in at 2.0. I dont remember much of 1.5
OUHBOY
hey guys i just finished my first web app https://sheikhblogapp.herokuapp.com
OUHBOY
I'd like some reviews on it kindly
OUHBOY
thank you
cj
I'd like some reviews on it kindly
show the source code if you want reviews 🙂
..
Hi guys, seems I need your help) I need to send json file when there is a GET request from client side(frontend) so that it can analyze that data. But there problem is that I'm only storing the data on the server and not sending directly. I've done some research, but couldn't find. may be I don't understand the problem. Could someone plz consult me on this ...
..
views.py ==> def index(request): responseData = { "name": "John", "id": 32 } return HttpResponse(json.dumps(responseData), content_type="application/json")
..
nope
inchidi
you can get data you sent from client from request.data btw
inchidi
then analyze these data
icute
how start multi port on django ? one for http, one for websocket ?
Anonymous
Can users disable session? So request.session won't work? Like they disable cookies or JavaScript?
F.
Have you used djangocms-installer ?
Yeah.... I've used the installer... I had to snoop around for an older version that would work for Django 1.8... But I didn't exactly find one that's comfortable enough.... For now I'm just learning Django-CMS in a separate environment of it's own... It settled with dango 1.11.0