If you mean how can you take an image of something and turn it into a
working design for a LEGO build then you need to look into tools that can
convert 2D or better, 3D captures into lego designs if such sites/code
exists. It certainly won't be in Django, but then you can build a Django
site to
Did you mean to turn(print) images to physical objects especially using 3D
printers?
On Tue, Feb 22, 2022, 12:55 Antonis Christofides <
anto...@antonischristofides.com> wrote:
> Hello Loic,
>
> Please how to turn a picture into a LEGO version?
> A project that does this will be welcome.
>
> Not s
lol yea we should be patient with reading i agree wit u.
On Tue, Feb 22, 2022 at 11:55 AM Antonis Christofides <
anto...@antonischristofides.com> wrote:
> Hello Loic,
>
> Please how to turn a picture into a LEGO version?
> A project that does this will be welcome.
>
> Not sure what you mean
Please how to transform a simple image to LEGO image using django ?
Le mar. 22 févr. 2022 à 10:53, Antonis Christofides <
anto...@antonischristofides.com> a écrit :
> Hello Loic,
>
> Please how to turn a picture into a LEGO version?
> A project that does this will be welcome.
>
> Not sure what yo
Hello Loic,
Please how to turn a picture into a LEGO version?
A project that does this will be welcome.
Not sure what you mean by that and what it has to do with Django. You aren't
going to get any useful answers in this list unless you change the way you ask
questions.
You should really tak
Please how to turn a picture into a LEGO version?
A project that does this will be welcome.
--
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+unsubsc
Hello Philip, I use the same tutorial book "Django for beginners" as you
and I understand why the author of the book refers to the pages directory
as if there is only one.
You are having two Directories because you ran this command:
$ django-admin startproject pages
The Author of the book ran th
I can help you in complete the book and create sample django application
through skype.
With Regards,
Vikash Kumar
On Fri, Mar 6, 2020 at 9:01 AM Philip Means wrote:
> Thank you for your response. The book is Django for Beginners, by William
> S. Vincent. I will copy and send you the chapter I
May be you forgot to tell django where it looks for your template
directory. To do this in your project directory go to setting and create a
variable like this;
TEMPLATE_DIR = os.path.join( BASE_DIR, 'templates')
Then locate TEMPLATES in your setting and put TEMPLATE_DIR variable in
DIRS, like thi
"One thing that bothers me is that the author of the book refers to the
pages directory as if there is only one. In fact, django created two. The
top level, (Is that referred to as the base?) has manage.py in it. One of
the childs of this is another ‘page’ which is where I put urls.py. At one
po
I think Alvaro is on to something. I just noticed that there ins't a
virtual enviroment active, and the traceback shows that pipenv run wasn't
used either. Can we try pipenv shell and then running python manage.py
runserver again? If you didn't install Django using pipenv install, do that
first.
Thank you all for your help and your interest. I am not sure how best to
handle getting
Information that you all have requested. Don’t want to clutter up the
thread more than
necessary, so I will send the information to all that have shown interest
as .pdf attachments in emails.
To Jorge G
Hello guys, I need your help!
How can I give a staff user a permission to create a user account in django?
On Fri, 6 Mar 2020 at 06:01 Shishir Jha wrote:
> Can you show the code that you have written until page 55?
>
>
> On Fri, 6 Mar 2020, 9:01 am Philip Means, wrote:
>
>> Thank you for your r
Why don't you compare your code with the Github repo provided by the
author: https://github.com/wsvincent/djangoforbeginners.
You can share your code with us for more clarity.
On Fri, Mar 6, 2020 at 9:31 AM Shishir Jha wrote:
> Can you show the code that you have written until page 55?
>
>
> On
It seems like you're not activating the virtual environment. Active the
virtual environment and install the dependencies.
On Thu, Mar 5, 2020 at 11:02 PM Shishir Jha wrote:
> Can you show the code that you have written until page 55?
>
>
> On Fri, 6 Mar 2020, 9:01 am Philip Means, wrote:
>
>> T
On Thu, Mar 5, 2020 at 8:01 PM Shishir Jha wrote:
> Can you show the code that you have written until page 55?
>
>
> On Fri, 6 Mar 2020, 9:01 am Philip Means, wrote:
>
>> Thank you for your response. The book is Django for Beginners, by
>> William S. Vincent. I will copy and send you the chapt
Can you show the code that you have written until page 55?
On Fri, 6 Mar 2020, 9:01 am Philip Means, wrote:
> Thank you for your response. The book is Django for Beginners, by William
> S. Vincent. I will copy and send you the chapter I am having trouble
> with. My directory structure, as cr
Can you show the code that you have written upto page 55?
--
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
On Thu, Mar 5, 2020 at 6:04 PM Philip Means wrote:
> I am new to web development. Wanted to help my daughter with a simple
> website (she does pet portraits) and learn something that interests me. I
> watched some you tube tutorials, then bought a book. First couple simple
> projects went OK.
I am new to web development. Wanted to help my daughter with a simple
website (she does pet portraits) and learn something that interests me. I
watched some you tube tutorials, then bought a book. First couple simple
projects went OK. Then I got to templates and I have not been able to get
Hi Umar,
On 2018-07-12 12:28, Umar Kambala wrote:
That's what I have been trying since, but it's not going through
What have you been trying? I have no idea what you are replying to here?
Kind regards,
Kasper Laudrup
--
You received this message because you are subscribed to the Google Gro
That's what I have been trying since, but it's not going through
On Jul 12, 2018 9:01 AM, "Mike Dewhirst" wrote:
> Try http://127.0.0.1:8000
>
> On 12/07/2018 6:40 PM, Umar Kambala wrote:
>
>>
>> Kasper thanks for your brotherly advice, please I will be glad next time
>> u add me a link. But I ca
Hi Umar,
On 2018-07-12 10:40, Umar Kambala wrote:
Kasper thanks for your brotherly advice, please I will be glad next time
u add me a link.
As I mentioned before, I think you should pick up a beginner book on
Python programming.
I personally read a book called "Dive into Python" some years
Try http://127.0.0.1:8000
On 12/07/2018 6:40 PM, Umar Kambala wrote:
Kasper thanks for your brotherly advice, please I will be glad next
time u add me a link. But I came across another error, when I run
python manage.py runserver everything work find but when I enter
127.0.0.1 I gets "no int
Kasper thanks for your brotherly advice, please I will be glad next time u
add me a link. But I came across another error, when I run python manage.py
runserver everything work find but when I enter 127.0.0.1 I gets "no
internet connection" do I hv to be connected wit internet before I can
access d
Thanks
On Jul 9, 2018 11:57 AM, "Kasper Laudrup" wrote:
> Hi Umar.
>
> On 07/09/2018 01:52 PM, Umar Kambala wrote:
>
>>
>> This is the error
>>
>> url(r'^$', views.home, name='home')
>> attributeError: module 'boards.views' has no attribute 'home'
>>
>>
> Do you know what a Python module is and w
Hi Umar.
On 07/09/2018 01:52 PM, Umar Kambala wrote:
This is the error
url(r'^$', views.home, name='home')
attributeError: module 'boards.views' has no attribute 'home'
Do you know what a Python module is and what an attribute on a module
means? Then the answer is obvious.
Try to read up
Am lost as to what to do, I try troubleshooting but couldn't fine de
answer... This are my codes
from django.contrib.auth.models import User from django.shortcuts import
render, redirect, get_object_or_404 from .models import Board, Topic, Post
def new_topic(request, pk): board = get_object_or_404
Hello,
It seems to me you should merge your Picture and Collection model, right?
because there's a collection of questions for each picture?
So I thought that I need additional fields in the Picture class to safe the
> average score, but what if my question list changes? Then I need to update
Hi all,
I need to create some kind of survey for my studies but I'm struggling with
the models.py. I did read some tutorial on Django and I like it very much,
but I'm no expert when it comes to database modellling.
Here is my proposed models.py:
class User(models.Model):
SEX = (
Thanks to Daniel and Bruno, will try your suggestions soonest.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsu
On 6 oct, 16:42, Fred wrote:
> My django app is working great with Debug=True. But now I'm in
> production and I want to email exceptions to me
That's the default behaviour if you correctly filled the relevant
parts of your settings.py (that is, mainly, the ADMINS, and all the
SMTP_xxx parts if
On Oct 6, 3:42 pm, Fred wrote:
> My django app is working great with Debug=True. But now I'm in
> production and I want to email exceptions to me and print them to my
> logfile. I've been googling and searching the docs for the last 2
> hours and what I really need is a snippet that shows how to
My django app is working great with Debug=True. But now I'm in
production and I want to email exceptions to me and print them to my
logfile. I've been googling and searching the docs for the last 2
hours and what I really need is a snippet that shows how to do it in
middleware/settings.py. I've
On Jul 28, 2:00 pm, Joshua Russo wrote:
> I'm raising an error in one of my model save forms and it's not converting
> the translation string to unicode. If I first pass it into the unicode()
> function it works though. The following is the pertinent portions of my
> model class.
> class Matriz(m
I'm raising an error in one of my model save forms and it's not converting
the translation string to unicode. If I first pass it into the unicode()
function it works though. The following is the pertinent portions of my
model class.
class Matriz(modelUtils.MyModelAudit):
ULTIMOANO_MISSING_ERRO
Thanks Kenneth. I'll check out the link and use better subject lines
in the future...unless you want to send a donation!
On May 30, 1:38 am, Kenneth Gonsalves wrote:
> On Saturday 30 May 2009 12:47:27 Andy wrote:
>
> > I would like to set the order_number in my model to be equal to the
> > auto
On Saturday 30 May 2009 12:47:27 Andy wrote:
> I would like to set the order_number in my model to be equal to the
> automatically assigned ID plus 10,000. Can anybody tell me how to
> achieve this?
check out commit=False in this document:
http://docs.djangoproject.com/en/dev/topics/forms/modelf
Hello,
I am new to Django and Python but am determined to learn. I am
creating a page that asks for some user input. My model looks like
this:
from django.db import models
from django.forms import ModelForm
floor_plan_choices = (
('A', 'Square'),
('B', 'Rectangular'),
Yep, reading the documentation helps ;).
But here's how your code should look:
{% for art in my_art_list %}
{% cycle '' '' '' %}
{% cylce '' '' '' %}
{% empty %}
You
On 6 jan, 02:00, "django_fo...@codechimp.net"
wrote:
(snip)
> First, let me take some Motrin for my very sore rear end. I have been
> reading documentation. In fact, I started with the tutorials on the
> site that walks you through writing the polling application, then
> moved on to some doc
On Jan 5, 5:39 pm, "django_fo...@codechimp.net"
wrote:
> I have a pretty simple template that needs to print some data in a
> bunch of table rows. I have done something like this:
>
>
> {% if my_art_list %}
> {% count = 0 %}
> {% for art in my_art_list %}
> {% if
On Jan 5, 5:56 pm, bruno desthuilliers
wrote:
> On 5 jan, 23:39, "django_fo...@codechimp.net"
> wrote:
>
> > I have a pretty simple template that needs to print some data in a
> > bunch of table rows. I have done something like this:
>
> >
> > {% if my_art_list %}
> > {% count = 0 %}
I am very new to Django and Python. I have been working on a pet
project that has a table of rows. My thought was to have a counter in
the template, and use modulus to write out the row start/stops out.
The code looks like this:
{% if my_art_list %}
{% count = 0 %}
{% for art i
On 5 jan, 23:39, "django_fo...@codechimp.net"
wrote:
> I have a pretty simple template that needs to print some data in a
> bunch of table rows. I have done something like this:
>
>
> {% if my_art_list %}
> {% count = 0 %}
This just won't work
> {% for art in my_art_list %}
>
I have a pretty simple template that needs to print some data in a
bunch of table rows. I have done something like this:
{% if my_art_list %}
{% count = 0 %}
{% for art in my_art_list %}
{% if count%3 = 0 %}
{% endif %}
On 27 juin, 09:47, Reza Muhammad <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I just started learning about python and django. For the past months I
> was working on a project using a PHP framework (I guess, the name
> would not be important right now :). For my initial experiment, I
> would like to
Oh yea, thats right. Since, urls conf look for (for example
mysite.views), which is in mysite app, file views.py,
I should also be able to put mysite.special_views in my urls conf to
look in mysite app, file special_views.py, right?
Thanks alot :)
On Jun 27, 4:17 pm, Alaa Salman <[EMAIL PROTECT
And if you have some functions that are used by views from both
modules, just create a new module and name it for instance utils.py.
Then you can simply import something from this new module into your
views.py::
from .utils import my_function
-- Horst
On Fri, Jun 27, 2008 at 11:17 AM, Alaa
On Jun 27, 8:47 am, Reza Muhammad <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I just started learning about python and django. For the past months I
> was working on a project using a PHP framework (I guess, the name
> would not be important right now :). For my initial experiment, I
> would like t
On Jun 27, 10:47 am, Reza Muhammad <[EMAIL PROTECTED]> wrote:
> Anyway, I am used to having separate files to facilitate different
> controllers (I think it's called views in django). On the other hand,
> django uses one views.py for one application. Is there anyway I can
> have a views/parts.p
Hi guys,
I just started learning about python and django. For the past months I
was working on a project using a PHP framework (I guess, the name
would not be important right now :). For my initial experiment, I
would like to port my last project that I used with PHP to django.
The project conta
On Mar 10, 2:10 pm, Michael Newman <[EMAIL PROTECTED]> wrote:
> Passing your error along would be helpful because it will help us
> pinpoint exactly what part of your code is having issues. Python
> traceback is amazing helpful in that if you follow its path, even
> though it might not look like a
Passing your error along would be helpful because it will help us
pinpoint exactly what part of your code is having issues. Python
traceback is amazing helpful in that if you follow its path, even
though it might not look like anything initially, it will lead you to
what the problem is. This is wh
Hi,
I've read the tutorial, and bits of docs here and there. I would like
to thank the great Django community for making this a splendid
learning experience!
So, I felt confident enough to start writing a simple image gallery
app.
Here's the code for the main app's models.py.
http://dpaste.com
On Friday 02 Dec 2005 9:49 pm, Adrian Holovaty wrote:
> On 12/2/05, Joshua D. Drake <[EMAIL PROTECTED]> wrote:
> > No I meant things like, informing us about core=True
> > missing It actually validates
> > the models on startup. apache/modpython doesn't. AFAIK
>
> Correct, Apache doesn't. But
On 12/2/05, Joshua D. Drake <[EMAIL PROTECTED]> wrote:
> No I meant things like, informing us about core=True missing It
> actually validates
> the models on startup. apache/modpython doesn't. AFAIK
Correct, Apache doesn't. But you can run "django-admin.py validate
[appname]" at any time to g
as will apache/modpython
No I meant things like, informing us about core=True missing It
actually validates
the models on startup. apache/modpython doesn't. AFAIK
Joshua D. Drake
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Cus
On Thursday 01 December 2005 21:01, James Bennett wrote:
> On 12/1/05, John Szakmeister <[EMAIL PROTECTED]> wrote:
> > I don't see why not. The apps themselves aren't big, and isn't it the
> > purpose of runserver to help do development and testing? I think my
> > problem is what Luke mentioned:
On Friday 02 Dec 2005 10:16 am, Joshua D. Drake wrote:
> >
> > I feel that runserver is only meant for people to evaluate
> > django. Once they see the automatic admin interface and decide
> > to proceed further it makes no sense to use runserver as
> > development should always be in the same en
I feel that runserver is only meant for people to evaluate django.
Once they see the automatic admin interface and decide to proceed
further it makes no sense to use runserver as development should
always be in the same environment as production
One thing that is really useful abo
On Thursday 01 Dec 2005 7:14 pm, Afternoon wrote:
> On 1 Dec 2005, at 12:04, Kenneth Gonsalves wrote:
> > i seriously doubt whether you could run the site with runserver
> > - try it with the full apache2 config
>
> Woah, hang on. If Django is not serving anything useful through
> runserver, putti
On 12/1/05, John Szakmeister <[EMAIL PROTECTED]> wrote:
> I don't see why not. The apps themselves aren't big, and isn't it the purpose
> of runserver to help do development and testing? I think my problem is what
> Luke mentioned: a lack of data.
Yeah, I poked around in the djangoproject.com c
On Thursday 01 December 2005 07:04, Kenneth Gonsalves wrote:
> On Thursday 01 Dec 2005 5:11 pm, John Szakmeister wrote:
> > I should mention that at the moment I'm using django-admin.py's
> > runserver to run the site. I just want to make sure I get all
> > the configuration settings correct befo
On Thursday 01 December 2005 19:05, Luke Plant wrote:
> On Thu, 1 Dec 2005 06:41:38 -0500 John Szakmeister wrote:
> > It runs, but
> > unfortunately, it complains that it can't find any pages. Not the
> > weblog, not the main page, nothing.
>
> I'm guessing the pages are stored in the database.
On Thu, 1 Dec 2005 06:41:38 -0500 John Szakmeister wrote:
> It runs, but
> unfortunately, it complains that it can't find any pages. Not the
> weblog, not the main page, nothing.
I'm guessing the pages are stored in the database. Do you have a copy
of the djangoproject.com DB? I wouldn't ha
On 1 Dec 2005, at 12:04, Kenneth Gonsalves wrote:
i seriously doubt whether you could run the site with runserver -
try it with the full apache2 config
Woah, hang on. If Django is not serving anything useful through
runserver, putting it up on Apache isn't going to help anything.
John,
On Thursday 01 Dec 2005 5:11 pm, John Szakmeister wrote:
> I should mention that at the moment I'm using django-admin.py's
> runserver to run the site. I just want to make sure I get all
> the configuration settings correct before I attempt to do the
> full up Apache 2 config.
i seriously doubt
I've been through the tutorial pages (which are great!) and managed to get all
that working without any fuss. I'm contemplating using Django for my
company's website since I could integrate a few applications so that others
can post job openings, and do some other miscellaneous things. I deci
69 matches
Mail list logo