safe perfect and reliable app for verification email

2017-04-15 Thread shahab emami
hello
I want to verify user's email while user is registering  .

can you introduce me a few safe perfect  and reliable app for verification 
email?

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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/bc27f572-7c38-403a-a986-a400306ca951%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Displaying lists with restricted number of products with Jquery

2017-04-15 Thread anonymouscodar
I am using jquery to present a number of products as per user's selection 
on "Show" dropdown menu. If user selects to get 9, 12, 16 or 20 products 
per page it should show accordingly in my list view.

Following is the code for HTML:


Show:

   9
   12
   24
   36
   48
   60
   90
   100



My list view varibale is:

items = Items.objects.all().

How can I restrict to load products according to the user's selected number 
of products?
Please help.

Regards,
A

-- 
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 post to this group, send email to django-users@googlegroups.com.
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/f34f0f5e-b7d6-4701-8a79-0f38bce4f7b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Displaying lists with restricted number of products with Jquery

2017-04-15 Thread ludovic coues
Slicing a list like you are trying to do is calling a pagination.
Django have a few tools for dealing with this problem. Here is a link
to the documentation:
https://docs.djangoproject.com/en/1.11/topics/pagination/

If you have any trouble using it, don't hesitate to ask for more details :)

2017-04-15 11:50 GMT+02:00  :
> I am using jquery to present a number of products as per user's selection on
> "Show" dropdown menu. If user selects to get 9, 12, 16 or 20 products per
> page it should show accordingly in my list view.
>
> Following is the code for HTML:
>
> 
> Show:
> 
> selected="selected">9
> value="12">12
> value="24">24
> value="36">36
> value="48">48
> value="60">60
> value="90">90
> value="100">100
> 
> 
>
> My list view varibale is:
>
> items = Items.objects.all().
>
> How can I restrict to load products according to the user's selected number
> of products?
> Please help.
>
> Regards,
> A
>
> --
> 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 post to this group, send email to django-users@googlegroups.com.
> 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/f34f0f5e-b7d6-4701-8a79-0f38bce4f7b5%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 

Cordialement, Ludovic Coues
+33 6 14 87 43 42

-- 
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 post to this group, send email to django-users@googlegroups.com.
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/CAEuG%2BTbb60D%2B_0zRZyvsAEk2%2BrOUWuiOj_S2sjG2QbqhiPiw_w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


method's name in MIDDLEWARE

2017-04-15 Thread shahab emami
hello 

i want to learn MIDDLEWARE in django  . 

i created this:

class SimpleMiddleware(object):

def process_request(self, request):
print("")

and i added in settings.py. then as you probably know i see "%%" in 
console with every click.
that is the exact thing that i except.

but when i change name of method:

def hello(self, request):
print("")
  it doesn't work anymore  .

is process_request a keyword? where can i find list of this names ?

-- 
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 post to this group, send email to django-users@googlegroups.com.
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/504db6b6-c18f-4c2b-8453-9d6db429b966%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: method's name in MIDDLEWARE

2017-04-15 Thread m712 - Developer
You should take a look at https://docs.djangoproject.com/en/1.11/topics/http/middleware/#process-view
It is not a reserved keyword but simply a function that is called by the Django middleware system.
On Apr 15, 2017 4:47 PM, shahab emami  wrote:hello i want to learn MIDDLEWARE in django  . i created this:class SimpleMiddleware(object):    def process_request(self, request):    print("")and i added in settings.py. then as you probably know i see "%%" in console with every click.that is the exact thing that i except.but when i change name of method:    def hello(self, request):    print("")  it doesn't work anymore  .is process_request a keyword? where can i find list of this names ?



-- 
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/504db6b6-c18f-4c2b-8453-9d6db429b966%40googlegroups.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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/58f22888.ced61c0a.ba536.1f20SMTPIN_ADDED_MISSING%40gmr-mx.google.com.
For more options, visit https://groups.google.com/d/optout.


Re: Dynamic Selector with Django/Jquery

2017-04-15 Thread m712 - Developer
You can create a URL in your application to which your AJAX code will send the details and the amount of items it wants and your application will return the items in JSON format. Take a look at https://docs.djangoproject.com/en/1.11/topics/db/queries/ to learn about how to filter and limit your queries to your need.
On Apr 15, 2017 7:31 PM, Anonymous Coder  wrote:I need to filter lists of items to be displayed upon user selection in my list view.For instance if user selects 12 it should show only 12 products per page and so on.My Django view has vairble items like below:items=Items.objects.all() Now I need to get products as per user selection how would i do that?Show:                                               9                                               12                                               24                                               36                                               48                                               60                                               90                                               100Screenshot is attached. Please advise.



-- 
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/CA%2B8umNWjgfxZYOodsznfR08KDR745op4Yw7qV3yBK5MZqUcVBw%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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/58f2516e.4d881c0a.8d9c5.67a2SMTPIN_ADDED_MISSING%40gmr-mx.google.com.
For more options, visit https://groups.google.com/d/optout.


Bootstrap Tabs not working with Forloop rendered content

2017-04-15 Thread Richard Jackson


Hi everyone,

Having a Bootstrap/jQuery with Django issue so hope that someone might be 
able to help.

I'm rendering a part of my page to make a Bootstrap 'tab' (docs: link here 
) - however the 
content under the first heading isn't loading initially (img 1); it only 
renders when I select another heading then going back to it (img 2).



*Img 1: Initial page loading*




*Img 2: Going back to 'Singing' after selecting a different tab.*


Any thoughts on this? The code works just fine when I hard code it, it's 
just when the page is being rendered via forloops that the issue occurs.



 {% for p in page.tuitionpage.tuitioncontent.all %}
 
 {{ p }}
 
 {% endfor %}






 {% for p in page.tuitionpage.tuitioncontent.all %}
 
 {{ p.content|richtext_filters|safe }}
 
 {% endfor %}




  $(function () {
$('#myTab a:first').tab('show');
  })


Bootstrap v2.3.0
Django v1.8

Cheers!

Rich

-- 
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 post to this group, send email to django-users@googlegroups.com.
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/91df4f2b-3b06-466f-862d-06594c59059a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Show HTML tags in list in Django template

2017-04-15 Thread Moreplavec
Greetings,

i'm trying to parse HTML website and present same basic info about it. I'm 
using BeuatifulSoup4 and Python3. Code is simple, but i have problem to 
force Django template show variables in my list. For example this simple 
code in template:

{{ tags_hx }}
> Tags H1 - H7
> 
> {% for tag in tags_hx %}
> 
> {% autoescape off %}{{ tag|safe }}{% endautoescape 
> %}
> 
> {% endfor %}
> 


 while {{ tags_hx }} prints lists exactly i have:

[Beginners English Tests 1, Grammar, 
> Beginners ESL, For Kids, Reading Skills, 
> Major Exams, Writing & Vocab]


but i can't get or force Django template to show each tag in table. All i 
get is:

Tags H1 - H7
> [Beginners English Tests 1]
> []
> []
> []
> []
> []
> [] 


I know, when i insert html code in template it will be used by browser, but 
just makes me mad i can't get to work it :) Autoescape or |safe doesn't 
help. Please, can you help me how to force simple output tags in cycle 
regardless of the consequences?

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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/23ba36b8-b550-4eb8-acda-382f0cd7e481%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ignoring empty forms in a formset

2017-04-15 Thread Carlos Jordán
its works

El jueves, 26 de abril de 2012, 8:25:42 (UTC+2), Martin Tiršel escribió:
>
> Thanks, form.has_changed() seems to be the way. But I don't understand the 
> empty_permitted attribute, it is usable only with ModelForm? I am using the 
> formset only for mass form processing not for inserting/updating models.
>
> Martin
>
>
> On Wednesday, April 25, 2012 2:35:20 PM UTC+2, Tom Evans wrote:
>>
>> Hmm. Internally, model formsets do this differently - they are aware
>> of which forms are extra forms, and which forms are existing forms.
>>
>> New forms will have form.empty_permitted=True, unmodified forms will
>> return True from form.has_changed(). This should be enough to skip
>> over blank new forms.
>>
>> Cheers
>>
>> Tom
>>
>> On Wed, Apr 25, 2012 at 12:55 PM, Martin Tiršel > > wrote:
>> > I am using class based views and my code is:
>> >
>> > class PayOrdersView(AdminFormSetView):
>> > form_class = PayOrderForm
>> > template_name = 'internal/orders/pay_orders_form.html'
>> > active_item = 'order_pay_orders'
>> > context_formset_name = 'pay_orders_formset'
>> > extra = 2
>> >
>> > def formset_valid(self, formset):
>> > logger.debug('Executing formset_valid')
>> > for form in formset:
>> > logger.debug('Is empty: %s' % form.empty_permitted)
>> > form.save()
>> > return super(PayOrdersView, self).formset_valid(formset)
>> >
>> >
>> > formset_valid method is called after formset.is_valid(). I start with 2
>> > empty forms, I insert into first form order number and the second form 
>> stays
>> > empty. After I submit, I get:
>> >
>> > [2012-04-25 13:42:07,776] DEBUG [31099 140249342375680]
>> > [project.internal.mixins:304] Processing POSTed form
>> > [2012-04-25 13:42:07,778] DEBUG [31099 140249342375680]
>> > [project.internal.forms:29] Cleaning order_number
>> > [2012-04-25 13:42:07,837] DEBUG [31099 140249342375680]
>> > [project.internal.mixins:307] Formset is valid
>> > [2012-04-25 13:42:07,842] DEBUG [31099 140249342375680]
>> > [project.internal.views:93] Executing formset_valid
>> > [2012-04-25 13:42:07,843] DEBUG [31099 140249342375680]
>> > [project.internal.views:95] Is empty: True
>> > [2012-04-25 13:42:07,843] DEBUG [31099 140249342375680]
>> > [project.internal.forms:54] Saving PayOrderForm
>> > [2012-04-25 13:42:09,914] DEBUG [31099 140249342375680]
>> > [project.internal.views:95] Is empty: True
>> > [2012-04-25 13:42:09,914] DEBUG [31099 140249342375680]
>> > [project.internal.forms:54] Saving PayOrderForm
>> >
>> > So both forms have empty_permitted == True. Management form in time of
>> > submit looks so:
>> >
>> > > > name="form-TOTAL_FORMS">
>> > > > name="form-INITIAL_FORMS">
>> > > name="form-MAX_NUM_FORMS">
>> >
>> > Thanks, Martin
>> >
>> > On Wednesday, April 25, 2012 11:03:49 AM UTC+2, Tom Evans wrote:
>> >>
>> >> On Sun, Apr 22, 2012 at 5:44 PM, Martin Tiršel > >
>> >> wrote:
>> >> > Hello,
>> >> >
>> >> > I have a formset and some JavaScript to add more forms into this
>> >> > formset. In
>> >> > a view, I iterate through the formset saving (not a ModelForm just 
>> Form
>> >> > with
>> >> > save method) each form:
>> >> >
>> >> > for form in formset:
>> >> > form.save()
>> >> >
>> >> > But I want to ignore empty forms that were added by JavasScript and 
>> not
>> >> > removed. How can I do this?
>> >> >
>> >> > Thanks,
>> >> > Martin
>> >> >
>> >>
>> >> You don't show much of your code, but I presume you have called
>> >> formset.is_valid() at this point?
>> >>
>> >> If so, this pattern is pretty canonical:
>> >>
>> >> if formset.is_valid():
>> >> for form in formset:
>> >> if form.is_valid() and not form.empty_permitted:
>> >> form.save()
>> >>
>> >> Extra forms in a formset are all instantiated with 
>> empty_permitted=True.
>> >>
>> >> There are other things to be aware of though. This logic will not take
>> >> into account deleted forms etc, which is why there is a
>> >> BaseModelFormSet with the right behaviour baked into it's save()
>> >> method.
>> >>
>> >> Cheers
>> >>
>> >> Tom
>> >
>> > --
>> > You received this message because you are subscribed to the Google 
>> Groups
>> > "Django users" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/django-users/-/aKliGdMNqGwJ.
>> >
>> > To post to this group, send email to django...@googlegroups.com 
>> .
>> > To unsubscribe from this group, send email to
>> > django-users...@googlegroups.com .
>> > For more options, visit this group at
>> > http://groups.google.com/group/django-users?hl=en.
>>
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the w

Re: Bootstrap Tabs not working with Forloop rendered content

2017-04-15 Thread Richard Jackson
I've actually found a workaround, but if anyone has any thoughts on this
I'd be interested to hear them!

Rich

On 15 April 2017 at 21:14, Richard Jackson  wrote:

> Hi everyone,
>
> Having a Bootstrap/jQuery with Django issue so hope that someone might be
> able to help.
>
> I'm rendering a part of my page to make a Bootstrap 'tab' (docs: link here
> ) - however
> the content under the first heading isn't loading initially (img 1); it
> only renders when I select another heading then going back to it (img 2).
>
>
> 
>
> *Img 1: Initial page loading*
>
>
>
> 
>
> *Img 2: Going back to 'Singing' after selecting a different tab.*
>
>
> Any thoughts on this? The code works just fine when I hard code it, it's
> just when the page is being rendered via forloops that the issue occurs.
>
> 
> 
>  {% for p in page.tuitionpage.tuitioncontent.all %}
>  
>  {{ p }}
>  
>  {% endfor %}
> 
>
>
> 
>
> 
>  {% for p in page.tuitionpage.tuitioncontent.all %}
>  
>  {{ p.content|richtext_filters|safe }}
>  
>  {% endfor %}
> 
>
>
> 
>   $(function () {
> $('#myTab a:first').tab('show');
>   })
> 
>
> Bootstrap v2.3.0
> Django v1.8
>
> Cheers!
>
> Rich
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/django-users/lrZmu2tFtfs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> 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/91df4f2b-3b06-466f-862d-06594c59059a%40googlegroups.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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/CA%2B6oY8g9yx-O4UN33u1ZR77kMi7KduLMMXSBnq3StKcdqDDVnA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Project layout

2017-04-15 Thread Simon McConnell
I came across this 

 
in my reading.  I'm only just starting to learn django so don't know the 
reason it does it.  As I understand it the first clientmgmtsystem is 
actually clientmgmtsystem_project.

On Saturday, 15 April 2017 01:33:03 UTC+10, richs wrote:
>
>   As a Django newcomer I'm still confused about project layout naming 
> conventions. Following the author's layout in '2 Scoops' chapter 3 for a 
> project I'm building for my own use to manage prospects and clients, I ran 
> cookiecutter pointing to pydanny's cookiecutter-django. I have several 
> subdirectory layers with two of them having the same name, and I need 
> clarification for these. 
>
>My directory tree looks like this (plain ASCII text in my MUA, alpine): 
>
> clientmgmtsystem_project/ 
> └── clientmgmtsystem 
>  ├── clientmgmtsystem 
>  │   ├── contrib 
>  │   │   └── sites 
>  │   │   └── migrations 
>  │   ├── static 
>  │   │   ├── css 
>  │   │   ├── fonts 
>  │   │   ├── images 
>  │   │   ├── js 
>  │   │   └── sass 
>  │   ├── templates 
>  │   │   ├── account 
>  │   │   ├── bootstrap4 
>  │   │   │   └── layout 
>  │   │   ├── pages 
>  │   │   └── users 
>  │   └── users 
>  │   ├── migrations 
>  │   └── tests 
>  ├── config 
>  │   └── settings 
>  ├── docs 
>  ├── requirements 
>  └── utility 
>
>Directly under the top-level directory are the clientmgmtsystem/ 
> subdirectory which contains another subdirectory with the same name. I 
> assume the topmost one is the Django project name, but what is the second 
> one? If I want to invoke the application using 'edb' as the application 
> name, which directory needs to be renamed? 
>
> Looking forward to learning, 
>
> Rich 
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
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/b23fa457-0cf2-437b-8dbf-7b44afb8e00a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Permissions in views

2017-04-15 Thread Camilo Torres
Hi,
Confirmed with Django 1.11, Python 3.4.3.
I strongly think this is a case you can report in bug tracker. Please tell 
if you will do.
I have been trying to find some time to test this since I read your message.

On Wednesday, April 12, 2017 at 4:12:30 AM UTC-4, Meiyer wrote:
>
> Just yesterday I bumped into an issue that left me puzzled for a while, 
> and I want to verify if this is indeed the case before opening a bug ticket.
>
> The documentation 
>  
> states the we can use either the {{ perms.my_app.update_obj }} tag  to 
> display the result of a check for a specific permission "update_obj" within 
> the my_app module/app, or the {{ perms.my_app }} tag to display the 
> result of a check if the user has any permissions in the my_app module/app. 
> Yet, when using the second variant, I suddenly had the whole permission set 
> of the user dumped to the page. This is quite obvious when looking at 
> the contrib\auth\context_processors.py code: when doing a {% if "my_app" 
> in perms %} check it will land into the __contains__ method 
> of PermWrapper while for an output such as {{ perms.my_app }}, it will 
> land into the __getitem__ method that returns a PermLookupDict, in turn 
> triggering the __repr__ method when displayed:
>
> def __repr__(self):
> return str(self.user.get_all_permissions()) 
>
> This is clearly in odds with the documentation. So what is the expected 
> result? Should {{ perms.my_app }} display a True or (at least, no more 
> than) the permissions the user has in the my_app module/app?
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
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/d4673c2a-a10f-4cba-a93a-f3f04eeda053%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: getting error "Project matching query does not exist."

2017-04-15 Thread Camilo Torres
Hi,
I agree with Ludovic in "your application may be badly installed". But it 
is very hard to tell what is going wrong without actually knowing what your 
app should show (what view function) for URL path /brickly/home
I cannot tell you what view is that without knowing about your code nor 
your business rules for that page.
You have to ask the original developers what view should show there, and 
try to writhe the url conf for that.

On Wednesday, April 12, 2017 at 7:02:09 AM UTC-4, ludovic coues wrote:
>
> I would search the function doing the redirection and look at what 
> information it use to make that redirection.
>
> Either it is redirecting to a wrong url or something have gone wrong when 
> installing the brickly application.
>
> 2017-04-12 12:46 GMT+02:00 >:
>
>> Hi,
>>
>> I have solved validationError on django and now project redirecting on 
>> url "http://127.0.0.1:8000/brickly/home"; and its not found. so please 
>> let me know how to create it on django.
>>
>> here are page not found error coming. please let me know of what is the 
>> problem.
>>
>>
>> Page not found (404) 
>> Request Method: GET 
>> Request URL: http://127.0.0.1:8000/brickly/home
>>
>>
>> On Tuesday, April 11, 2017 at 4:38:30 PM UTC+5:30, ni...@linkites.com 
>> wrote:
>>>
>>> Hi,
>>>
>>> I have setup existing django project at localsystem and its migrate 
>>> successfully.
>>> after migrate i have run following "python manage.py runserver" to run 
>>> django project.
>>>
>>> After that i am getting error message "Project matching query does not 
>>> exist." on terminal and as well as browser.
>>>
>>> Please let me know of what is problem.
>>>
>>>
>>>
>>> Please help me to solve this issue.
>>>
>>> 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 django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> 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/7f1af12d-50ba-48fb-8774-4c4f6c47be58%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
>
> Cordialement, Ludovic Coues 
> +33 6 14 87 43 42
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
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/9844ce13-61d3-46e8-8a91-5d0deb74f3c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Activating VirtualEnv on Windows

2017-04-15 Thread Camilo Torres
Hi.
Try to run the .bat. May be it is a documentation error?

On Friday, April 14, 2017 at 2:04:42 PM UTC-4, Lorenz Schümann wrote:
>
> Hey, newbie here. 
> I've followed the instructions on 
> https://docs.djangoproject.com/en/1.11/intro/contributing/ regarding 
> Virtualenv. And at the point where it says for Windows, to activate the 
> Virtualenv, type $ source ~/virtualenvs/djangodev/Scripts/activate, I found 
> out through StackExchange that indeed it's just the activate.bat you need 
> to run, as I don't have a source command in my Windows distro. Now isn't 
> that the most straight forward way anyway and should replace the method, 
> which is written down in the tutorial.
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
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/0841d851-9f27-4253-b965-ac8e164ab5fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Automatic reverse migrations

2017-04-15 Thread Camilo Torres
Hi,
May both of you try to implement "blue-green deployments", and switch only 
if all tests are OK.
You may also be interested in running a test deployment in a testing 
environment prior to production.
Don't know of a solution integrated into django.

On Friday, April 14, 2017 at 2:26:51 PM UTC-4, Andrew Godwin wrote:
>
> Hi Paul,
>
> I have tried this in the past, but it's basically an unsolvable problem in 
> the generic case. Databases do not take well to snapshotting or changing 
> schema, and some operations are naturally irreversible. If you find a way 
> that works well, I suggest you write it up so others can learn from it!
>
> Andrew
>
> On Fri, Apr 14, 2017 at 10:33 AM, > wrote:
>
>> In a modern Continuous Delivery environment, it's expected that there is 
>> an automated process for deploying code, and therefore performing database 
>> migrations. This is all straightforward.
>>
>> I haven't been able to find any good solutions for automatic rollback 
>> though. The main problem that I see is that there is (AFAIK) no easy way to 
>> definitively know which migrations to unapply to roll back to the previous 
>> verison. If you try to rollback from the new N+1 version, you have the 
>> migrations, but no recording of the previous version's state. If you 
>> rollback from the previous N version, you don't have the new migration 
>> files to do the DB rollback.
>>
>> What I'd really like is a way of recording a 'db migration checkpoint' 
>> which could be generated per-release (or whenever else you care to 
>> checkpoint your migration state), and would say something like `v1: 
>> {app1:0002,0003, app2: 0004}, v2: {app1:0004, app2: 0005, 0006}`, thus 
>> letting me roll back all of the migrations in the v2 deploy with a single 
>> command.
>>
>> Does anyone have suggestions or references here? I may try rolling the 
>> above solution if there is no prior art, but I want to avoid reinventing 
>> the wheel here, as it seems that this issue must have been hit by many 
>> other users before me.
>>
>> -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> 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/6cafecca-2c71-4a6f-b93b-fe3e64847bc2%40googlegroups.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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/362cbdc0-9dee-4c1b-a68d-b671eed49336%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: safe perfect and reliable app for verification email

2017-04-15 Thread Camilo Torres
Hi,
Here are some: https://www.google.com/search?q=django+email+verification

On Saturday, April 15, 2017 at 8:22:21 AM UTC-4, shahab emami wrote:
>
> hello
> I want to verify user's email while user is registering  .
>
> can you introduce me a few safe perfect  and reliable app for verification 
> email?
>
> 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/f330779a-64ce-4deb-a395-166023a3d94e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.